AUSCERT External Security Bulletin Redistribution

                 ESB-2002.251 -- CERT Advisory CA-2002-14
                    Buffer overflow in Macromedia JRun
                                30 May 2002


        AusCERT Security Bulletin Summary

Product:                Macromedia JRun 3.0
                        Macromedia JRun 3.1
Vendor:                 Macromedia
Operating System:       Windows NT
                        Windows 2000
Impact:                 Administrator Compromise
Access Required:        Remote

- --------------------------BEGIN INCLUDED TEXT--------------------


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

   Original release date: May 29, 2002
   Last revised: --
   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


   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

   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. The patch is
   available from:


   JRun 4 is available at:


Appendix A. - Vendor Information

   This  appendix  contains  information  provided  by  vendors  for this
   advisory. Additional information can be found in 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:

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

   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

Getting security information

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

   To  subscribe  to  the CERT mailing list for advisories and bulletins,
   send  email  to majordomo@cert.org. Please include in the body of your

   subscribe cert-advisory

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

   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

Version: PGP 6.5.8


- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content.  The decision to use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the original authors to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:


If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security

Internet Email: auscert@auscert.org.au
Facsimile:	(07) 3365 7031
Telephone:	(07) 3365 4417 (International: +61 7 3365 4417)
		AusCERT personnel answer during Queensland business hours
		which are GMT+10:00 (AEST).
		On call after hours for member emergencies.

Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key