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

<p>A complete revision history can be found at the end of this file.</p>

<a name="affected"></a>
<h3>Systems Affected</h3>

<ul>
<li>Windows NT4 or Windows 2000 running IIS versions 4 or 5 and
Macromedia JRun 3.0 or 3.1</li></ul>

<a name="overview"></a>
<h2>Overview</h2>

<P>A remotely exploitable buffer overflow exists in Macromedia's JRun 3.0 and 3.1.</p>

<a name="description"></a>
<h2>I. Description</h2>

<p>JRun is an application server that works with most popular web
servers, such as Apache and Internet Information Server (IIS). <a
href="http://www.macromedia.com/software/jrun/productinfo/product_overview/pdf/jr4_product_overview.pdf">
According to Macromedia</a>, JRun is deployed at over 10,000
organizations worldwide.
</p>

<p>As reported in the <a
href="http://www.nextgenss.com/advisories/jrun.txt">Next Generation
Security Software Advisory (#NISR29052002)</a>, 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.</p>

<a name="impact"></a>
<h2>II. Impact</h2>

<p>A remote attacker can execute arbitrary code on the vulnerable
target with SYSTEM privileges.</p>

<a name="solution"></a>
<h2>III. Solution</h2>

<p>Apply a <a
href="http://www.macromedia.com/v1/handlers/index.cfm?ID=23164">patch</a>
from Macromedia or upgrade to <a href="http://www.macromedia.com/software/jrun/">JRun 4</a>.</p>

<a name="vendors"></a>
<h2>Appendix A. - Vendor Information</h2>

<p>This appendix contains information provided by vendors for this
advisory. Additional information can be found at <a
href="http://www.kb.cert.org/vuls/id/703835">VU#703835</a>.</p>

<!-- begin vendor -->
<a name="macromedia">
<h4><a href="http://www.macromedia.com">Macromedia Inc.</a></h4>
<blockquote>
<p>
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.&nbsp; Visit the Macromedia security zone site at <a
href="http://www.macromedia.com/security">
http://www.macromedia.com/security</a> for more information.
</p>
</blockquote>
</p>
<!-- end vendor -->

<hr noshade>

<p>This vulnerability was discovered by David Litchfield of Next
Generation Security Software.</p>

<p></p>

<hr noshade>

<p>Author: <a
href="mailto:cert@cert.org?subject=CA-2002-14%20Feedback%20VU%23703835
">Ian A. Finlay</a>

<p></p>

<!--#include virtual="/include/footer_nocopyright.html" -->

<p>Copyright 2002 Carnegie Mellon University.</p>

<p>Revision History
<pre>
May 29, 2002: Initial release
Aug 21, 2002: Fixed Macromedia link
</pre>
</p>