CERT
 
Publications Catalog Historical Documents Authorized Users of "CERT" US-CERT Vulnerability Notes Database Vulnerability Disclosure Policy Courses Link to US-CERT cylab
 

CERT® Advisory CA-2002-14 Buffer overflow in Macromedia JRun

Original release date: May 29, 2002
Last revised: Wed Aug 21 14:00:33 EDT 2002
Source: CERT/CC

A complete revision history can be found at the end of this file.

Systems Affected

  • Windows NT4 or Windows 2000 running IIS versions 4 or 5 and Macromedia JRun 3.0 or 3.1

Overview

A remotely exploitable buffer overflow exists in Macromedia's JRun 3.0 and 3.1.

I. Description

JRun is an application server that works with most popular web servers, such as Apache and Internet Information Server (IIS). According to Macromedia, JRun is deployed at over 10,000 organizations worldwide.

As reported in the Next Generation Security Software Advisory (#NISR29052002), a remotely exploitable buffer overflow exists in the ISAPI filter/application. Specifically, the buffer overflow exists in the portion of code that handles the host header field. If an attacker sends a specially crafted request to the application server, he can overwrite a return address on the stack. Because the vulnerable DLL is running in the address space of the web server process, code submitted by the attacker will be run with SYSTEM privileges.

II. Impact

A remote attacker can execute arbitrary code on the vulnerable target with SYSTEM privileges.

III. Solution

Apply a patch from Macromedia or upgrade to JRun 4.

Appendix A. - Vendor Information

This appendix contains information provided by vendors for this advisory. Additional information can be found at VU#703835.

Macromedia Inc.

Macromedia has confirmed that this is a problem in older versions of JRun 3.0 and 3.1 and is soon to publish a security bulletin regarding this.  Visit the Macromedia security zone site at http://www.macromedia.com/security for more information.


This vulnerability was discovered by David Litchfield of Next Generation Security Software.


Author: Ian A. Finlay


This document is available from: http://www.cert.org/advisories/CA-2002-14.html

CERT/CC Contact Information

Email: cert@cert.org
Phone: +1 412-268-7090 (24-hour hotline)
Fax: +1 412-268-6989
Postal address:
CERT Coordination Center
Software Engineering Institute
Carnegie Mellon University
Pittsburgh PA 15213-3890
U.S.A.

CERT/CC personnel answer the hotline 08:00-17:00 EST(GMT-5) / EDT(GMT-4) Monday through Friday; they are on call for emergencies during other hours, on U.S. holidays, and on weekends.

Using encryption

We strongly urge you to encrypt sensitive information sent by email. Our public PGP key is available from

If you prefer to use DES, please call the CERT hotline for more information.

Getting security information

CERT publications and other security information are available from our web site

* "CERT" and "CERT Coordination Center" are registered in the U.S. Patent and Trademark Office.


NO WARRANTY
Any material furnished by Carnegie Mellon University and the Software Engineering Institute is furnished on an "as is" basis. Carnegie Mellon University makes no warranties of any kind, either expressed or implied as to any matter including, but not limited to, warranty of fitness for a particular purpose or merchantability, exclusivity or results obtained from use of the material. Carnegie Mellon University does not make any warranty of any kind with respect to freedom from patent, trademark, or copyright infringement.


Conditions for use, disclaimers, and sponsorship information

Copyright 2002 Carnegie Mellon University.

Revision History

May 29, 2002: Initial release
Aug 21, 2002: Fixed Macromedia link