what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

iDEFENSE Security Advisory 2004-09-29.t

iDEFENSE Security Advisory 2004-09-29.t
Posted Oct 7, 2004
Authored by iDefense Labs | Site idefense.com

iDEFENSE Security Advisory 09.29.04 - Remote exploitation of a buffer overflow vulnerability in Macromedia's JRun 4 mod_jrun Apache module could allow execution of arbitrary code.

tags | advisory, remote, overflow, arbitrary
advisories | CVE-2004-0646
SHA-256 | 93907fd7f33154250f601c445f3d1a1ee72b302063061e76b9aefecb32be7a2c

iDEFENSE Security Advisory 2004-09-29.t

Change Mirror Download
Macromedia JRun 4 mod_jrun Apache Module Buffer Overflow Vulnerability 

iDEFENSE Security Advisory 09.29.04
www.idefense.com/application/poi/display?id=145&type=vulnerabilities
September 29, 2004

I. BACKGROUND

Macromedia JRun 4 is a full Java 2 Enterprise Edition (J2EE) compatible
application server.

Further details are available at:

https://www.macromedia.com/software/jrun/

II. DESCRIPTION

Remote exploitation of a buffer overflow vulnerability in Macromedia's
JRun 4 mod_jrun Apache module could allow execution of arbitrary code.

The problem specifically exists in the WriteToLog function of mod_jrun
and mod_jrun20, where a fixed size buffer is allocated on the stack. No
bounds checking is performed on the input. When the Verbose logging
option is set, this function may be called with user-supplied data. If
this data is longer than the space which has been allocated, a buffer
overflow may occur. Specially formed input may allow execution of
arbitrary commands.

III. ANALYSIS

Successful exploitation allows execution of arbitrary code with the
permissions of the user of the httpd process, typically 'nobody' or
'apache'.

As the Verbose option is not set by default, most installs will not be
vulnerable. An overly long Content-Type field, among other header
fields, can be used to trigger this buffer overflow.

IV. DETECTION

iDEFENSE has confirmed that JRun 4.0 SP1a is vulnerable on Apache httpd
1.3.x and 2.0.x platforms. It is suspected that all versions of mod_jrun
are currently affected.

V. WORKAROUNDS

Setting the Verbose option to "false" in the httpd.conf will prevent
this vulnerability from being exploitable. After editing the httpd.conf,
restart the httpd. This will reduce the amount of data logged by the
server, but will prevent exploitation of this vulnerability.

VI. VENDOR RESPONSE

MPSB04-08 - Cumulative Security Patch available for JRun server
https://www.macromedia.com/devnet/security/security_zone/mpsb04-08.html

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CAN-2004-0646 to this issue. This is a candidate for inclusion in
the CVE list (https://cve.mitre.org), which standardizes names for
security problems.

VIII. DISCLOSURE TIMELINE

06/18/04 iDEFENSE Clients notified
06/18/04 Initial vendor notification
06/18/04 Initial vendor response
09/29/04 Public disclosure

IX. CREDIT

The discoverer wishes to remain anonymous.

Get paid for vulnerability research
https://www.idefense.com/poi/teams/vcp.jsp

X. LEGAL NOTICES

Copyright (c) 2004 iDEFENSE, Inc.

Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDEFENSE. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email customerservice@idefense.com for permission.

Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
this information.
Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    36 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    38 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close