Original release date: April 11, 2002<BR>
Last revised: --<BR>
Source: CERT/CC<BR>

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

<A NAME="affected">
<H3>Systems Affected</H3>

<UL>
<LI>Microsoft IIS 4.0, 5.0, and 5.1</LI>
</UL>

<A NAME="overview">
<H2>Overview</H2>

<P>

A variety of vulnerabilities exist in various versions of Microsoft
IIS. Some of these vulnerabilities may allow an intruder to execute
arbitrary code on vulnerable systems.


<A NAME="description">
<H2>I. Description</H2>

<p>There are a variety of vulnerabilities in Microsoft IIS. Many of
these vulnerabilities are buffer overflows that could permit an
intruder to execute arbitrary code on vulnerable systems.</p>

We strongly encourage all sites running IIS to read Microsoft's
advisory on these and other vulnerabilities and take appropriate
action as soon as practical. Microsoft's bulletin is available at

<DL><DD>
  <A HREF="http://www.microsoft.com/technet/security/bulletin/MS02-018.asp">
  http://www.microsoft.com/technet/security/bulletin/MS02-018.asp</A>
</DL>

<p>Additional information about these vulnerabilities is available at
<ul>
<table border="1" cellpadding="6" width="90%">
<tr>
<td><center><font face="arial, geneva, helvetica"><small><b>Vulnerability note</b></small></font></td>
<td><center><font face="arial, geneva, helvetica"><small><b><A HREF="http://cve.mitre.org">CVE</a> number</b></small></font></td>
<td><center><font face="arial, geneva, helvetica"><small><b>Title</b></small></font></td></tr>
<tr>
<td><font face="arial, geneva, helvetica"><small><A HREF="http://www.kb.cert.org/vuls/id/363715">
http://www.kb.cert.org/vuls/id/363715</a></small></font></td>
<td><font face="arial, geneva, helvetica"><small><A HREF="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0071">
CAN-2002-0071</a></small></font></td>
<td><font face="arial, geneva, helvetica"><small>Microsoft Internet Information Server (IIS) vulnerable to heap overflow 
during processing of crafted ".htr" request by "ISM.DLL" ISAPI filter</small></font></td>
</tr>
<tr>
<td><font face="arial, geneva, helvetica"><small><A HREF="http://www.kb.cert.org/vuls/id/883091">
http://www.kb.cert.org/vuls/id/883091</a></small></font></td>
<td><font face="arial, geneva, helvetica"><small><A HREF="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0074">
CAN-2002-0074</a></small></font></td>
<td><font face="arial, geneva, helvetica"><small>Microsoft Internet Information Server (IIS) contains cross-site scripting 
vulnerability in IIS Help Files search facility</small</font></td>
</tr>
<tr>
<td><font face="arial, geneva, helvetica"><small><A HREF="http://www.kb.cert.org/vuls/id/886699">
http://www.kb.cert.org/vuls/id/886699</a></small></font></td>
<td><font face="arial, geneva, helvetica"><small><A HREF="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0148">
CAN-2002-0148</a></small></font></td>
<td><font face="arial, geneva, helvetica"><small>Microsoft Internet Information Server (IIS) contains cross-site scripting 
vulnerability in HTTP error page results</small></font></td>
</tr>
<tr>
<td><font face="arial, geneva, helvetica"><small><A HREF="http://www.kb.cert.org/vuls/id/520707">
http://www.kb.cert.org/vuls/id/520707</a></small></font></td>
<td><font face="arial, geneva, helvetica"><small><A HREF="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0075">
CAN-2002-0075</a></small></font></td>
<td><font face="arial, geneva, helvetica"><small>Microsoft Internet Information Server (IIS) contains cross-site scripting 
vulnerability in redirect response messages</small></font></td>
</tr>
<tr>
<td><font face="arial, geneva, helvetica"><small><A HREF="http://www.kb.cert.org/vuls/id/412203">
http://www.kb.cert.org/vuls/id/412203</a></small></font></td>
<td><font face="arial, geneva, helvetica"><small><A HREF="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0073">
CAN-2002-0073</a></small></font></td>
<td><font face="arial, geneva, helvetica"><small>Microsoft Internet Information Server (IIS) vulnerable to DoS via malformed 
FTP connection status request</small</font></td>
</tr>
<tr>
<td><font face="arial, geneva, helvetica"><small><A HREF="http://www.kb.cert.org/vuls/id/454091">
http://www.kb.cert.org/vuls/id/454091</a></small></font></td>
<td><font face="arial, geneva, helvetica"><small><A HREF="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0150">
CAN-2002-0150</a></small></font></td>
<td><font face="arial, geneva, helvetica"><small>Microsoft Internet Information Server (IIS) vulnerable to buffer overflow 
via inaccurate checking of delimiters in HTTP header fields</small></font></td>
</tr>
<tr>
<td><font face="arial, geneva, helvetica"><small><A HREF="http://www.kb.cert.org/vuls/id/721963">
http://www.kb.cert.org/vuls/id/721963</a></small></font></td>
<td><font face="arial, geneva, helvetica"><small><A HREF="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0149">
CAN-2002-0149</a></small></font></td>
<td><font face="arial, geneva, helvetica"><small>Microsoft Internet Information Server (IIS) buffer overflow in server-side 
includes (SSI) containing long invalid file name</small></font></td>
</tr>
<tr>
<td><font face="arial, geneva, helvetica"><small><A HREF="http://www.kb.cert.org/vuls/id/521059">
http://www.kb.cert.org/vuls/id/521059</a></small></font></td>
<td><font face="arial, geneva, helvetica"><small><A HREF="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0072">
CAN-2002-0072</a></small></font></td>
<td><font face="arial, geneva, helvetica"><small>Microsoft Internet Information Server (IIS) vulnerable to DoS when URL request 
exceeds maximum allowed length</small></font></td>
</tr>
<tr>
<td><font face="arial, geneva, helvetica"><small><A HREF="http://www.kb.cert.org/vuls/id/610291">
http://www.kb.cert.org/vuls/id/610291</a></small></font></td>
<td><font face="arial, geneva, helvetica"><small><A HREF="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0079">
CAN-2002-0079</a></small></font></td>
<td><font face="arial, geneva, helvetica"><small>Microsoft Internet Information Server (IIS) buffer overflow in chunked encoding 
transfer mechanism</small></font></td>
</tr>
<tr>
<td><font face="arial, geneva, helvetica"><small><A HREF="http://www.kb.cert.org/vuls/id/669779">
http://www.kb.cert.org/vuls/id/669779</a></small></font></td>
<td><font face="arial, geneva, helvetica"><small><A HREF="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0147">
CAN-2002-0147</a></small></font></td>
<td><font face="arial, geneva, helvetica"><small>Microsoft Internet Information Server (IIS) buffer overflow in chunked encoding 
transfer mechanism</small></font></td>
</tr>
</table>
</ul>

<A NAME="impact">
<H2>II. Impact</H2>

<p>For many of the vulnerabilities, an intruder could execute arbitrary
code with privileges that vary according to which version of IIS is
running. In general, IIS 4.0 permits an intruder to execute code with
complete administrative privileges, while IIS 5.0 and 5.1 permit an
intruder to execute code with the privileges of the IWAM_computername
account.


<A NAME="solution">
<H2>III. Solution</H2>

<p>
Microsoft Corporation has released Microsoft Security Bulletin
MS02-018, which announces the availability of a cumulative patch to
address a variety of problems. We strongly encourage you to read this
bulletin and take the appropriate corrective measures. MS02-018 is
available at<p>

<DL><DD>
  <A
  HREF="http://www.microsoft.com/technet/security/bulletin/MS02-018.asp">
  http://www.microsoft.com/technet/security/bulletin/MS02-018.asp</A>
</DL>

<p>In addition to applying the patch, or until it can be applied, we
recommend the following actions: 

<ul>

<li>Use the IIS Lockdown tool and URLScan to eliminate or reduce the impact of some
of these vulnerabilites; they may also eliminate or reduce other vulnerabilities that
have not yet been discovered. The IIS Lockdown tool can also be used to disable ASP 
if it's not needed. More information about the IIS Lockdown tool and URLScan can be found at

<dl>
<dd>
<A
HREF="http://www.microsoft.com/technet/security/tools/locktool.asp">http://www.microsoft.com/technet/security/tools/locktool.asp</a></dd>

<dd>
<A
HREF="http://www.microsoft.com/technet/security/URLScan.asp">http://www.microsoft.com/technet/security/URLScan.asp</a></dd></dl>

</li>

<li>As Microsoft has recommended for quite some time, disable the HTR
ISAPI extension unless it is absolutely required. </li>

<li>Disable anonymous FTP unless it is required.</li>

<li>Don't give login credentials on IIS servers to untrusted users. </li>

</dl>
</ul>
<HR NOSHADE>

<P>

Our thanks to Microsoft Corporation for the information contained in
their advisory. Additionally, our thanks go to the various individuals
and organizations whom Microsoft identified as discovering the vulnerabilities, including eEye Digital Security (http://www.eeye.com),
Serge Mister of Entrust, Inc. (http://www.entrust.com), Dave Aitel of
@Stake (http://www.atstake.com), Peter Grundl of KPMG, Joe Smith
(jsm1th@hotmail.com) and zenomorph (admin@cgisecurity.com) of http://www.cgisecurity.com, Keigo Yamazaki of the LAC SNS Team
(http://www.lac.co.jp/security/), and Thor Larholm of Jubii A/S.



<P></P>

<HR NOSHADE>

<P>Author: <A
HREF="mailto:cert@cert.org?subject=CA-2002-09%20Feedback%20VU%23363715,VU%23610291,VU%23669779,VU%23454091, VU%23721963, VU%23521059, VU%23412203, VU%23883091, VU%23886699, VU%23520707.">Shawn V. Hernan</A>

<P></P>

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

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

<P>Revision History
<PRE>
April 11, 2002:  Initial release
</PRE>