KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q321130: MS02-018: Patch for Buffer Overrun in HTTP Header Handling

Article: Q321130
Product(s): Internet Information Server
Version(s): 4.0,5.0
Operating System(s): 
Keyword(s): kbSecurity kbCOMIS kbWinNT400PreSP7Fix kbWin2000PreSP3Fix kbWinXPpreSP1fix kbWin2000sp3
Last Modified: 15-AUG-2002

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Internet Information Services version 5.1 
- Microsoft Internet Information Services version 5.0 
- Microsoft Internet Information Server version 4.0 
-------------------------------------------------------------------------------

SYMPTOMS
========

A buffer overrun vulnerability exists in Internet Information Server (IIS) 4.0,
Internet Information Services (IIS) 5.0, and IIS 5.1. By sending a specially
chosen request to an affected Web server, an attacker can either disrupt Web
services or gain the ability to run a program on the server. Such a program runs
with full system permissions in IIS 4.0, and with fewer, but still significant,
permissions in IIS 5.0 and 5.1.

Customers who have used the IIS Lockdown Tool to configure their servers as
static Web servers are already protected against this vulnerability. The URLScan
tool, if it is deployed with the default rule set, also makes it hard to use the
vulnerability to gain control of the server, and likely reduces the
vulnerability to only a denial-of-service attack.

CAUSE
=====

This vulnerability results because of an error that occurs when Active Server
Pages (ASP) parses HTTP header information. An initial check is performed to
make sure that certain expected characters are present and can be used to end a
copy operation. However, the check can be spoofed, thereby enabling a copy
operation that does not end to overrun a buffer.

RESOLUTION
==========

- Internet Information Services 5.1
- Internet Information Services 5.0
- Internet Information Server 4.0

Internet Information Services 5.1
---------------------------------

The update for this problem is included in the "MS02-018: April 2002 Cumulative
Patch for Internet Information Services." For additional information about how
to obtain this patch, click the article number below to view the article in the
Microsoft Knowledge Base:

  Q319733 MS02-018: April 2002 Cumulative Patch for Internet Information
  Services

Internet Information Services 5.0
---------------------------------

The update for this problem is included in the "MS02-018: April 2002 Cumulative
Patch for Internet Information Services." For additional information about how
to obtain this patch, click the article number below to view the article in the
Microsoft Knowledge Base:

  Q319733 MS02-018: April 2002 Cumulative Patch for Internet Information
  Services

To resolve this problem, obtain the latest service pack for Windows 2000. For
additional information, click the following article number to view the article
in the Microsoft Knowledge Base:

  Q260910 How to Obtain the Latest Windows 2000 Service Pack

Internet Information Server 4.0
-------------------------------

The update for this problem is included in the "MS02-018: April 2002 Cumulative
Patch for Internet Information Services." For additional information about how
to obtain this patch, click the article number below to view the article in the
Microsoft Knowledge Base:

  Q319733 MS02-018: April 2002 Cumulative Patch for Internet Information
  Services

STATUS
======

Internet Information Services 5.1
---------------------------------

Microsoft has confirmed that this problem may cause a degree of security
vulnerability in Microsoft Internet Information Services 5.1.

Internet Information Services 5.0
---------------------------------

Microsoft has confirmed that this problem may cause a degree of security
vulnerability in Microsoft Internet Information Services 5.0. This problem was
first corrected in Windows 2000 Service Pack 3.

Internet Information Server 4.0
-------------------------------

Microsoft has confirmed that this problem may cause a degree of security
vulnerability in Microsoft Internet Information Server 4.0.

MORE INFORMATION
================

For more information on these vulnerabilities, see the following Microsoft Web
site:

  http://www.microsoft.com/technet/security/bulletin/MS02-018.asp

For additional information about how to obtain a hotfix for Windows 2000
Datacenter Server, click the article number below to view the article in the
Microsoft Knowledge Base:

  Q265173 Datacenter Program and Windows 2000 Datacenter Server Product

For additional information on how to install multiple hotfixes with only one
reboot, click the article number below to view the article in the Microsoft
Knowledge Base:

  Q296861 Use QChain.exe to Install Multiple Hotfixes with One Reboot

Additional query words: kbIISCom kbIIS400500510April2002Rollup security_patch

======================================================================
Keywords          : kbSecurity kbCOMIS kbWinNT400PreSP7Fix kbWin2000PreSP3Fix kbWinXPpreSP1fix kbWin2000sp3fix 
Technology        : kbiisSearch kbiis500 kbiis400 kbiis510
Version           : :4.0,5.0
Hardware          : x86
Issue type        : kbbug
Solution Type     : kbfix

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.