Article ID: 321599 - Last Review: July 3, 2008 - Revision: 8.4 MS02-028: Heap overrun in HTR-chunked encoding might enable web server compromiseThis article was previously published under Q321599 We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site: http://www.microsoft.com/technet/security/prodtech/IIS.mspx
(http://www.microsoft.com/technet/security/prodtech/IIS.mspx)
For more information about IIS 7.0, visit the following Microsoft Web site: http://www.iis.net/default.aspx?tabid=1
(http://www.iis.net/default.aspx?tabid=1)
On This PageSYMPTOMS
A buffer overrun vulnerability exists in Internet Information Services (IIS) 5.0 and Internet Information Server (IIS) 4.0. By sending a specially-chosen request to an affected Web server, an attacker might either disrupt Web services or gain the ability to run a program on the server. Such a program would run with full-system rights in IIS 4.0, and with fewer (but nevertheless significant) rights in IIS 5.0. Microsoft recommends that you remove the functionality that contains the vulnerability unless there is a business-critical reason for retaining it, and customers who do so are at no risk from this vulnerability. By default, the IIS Lockdown Tool (http://www.microsoft.com/technet/security/tools/locktool.mspx) disables this functionality. Customers who have retained the functionality but deployed the URLScan tool (http://technet.microsoft.com/en-us/security/cc242650.aspx) as discussed in Microsoft Security Bulletin MS02-018 (http://www.microsoft.com/technet/security/bulletin/MS02-018.mspx) are also protected against the vulnerability. CAUSE
This vulnerability occurs because of an arithmetic error in the ISAPI extension that implements the HTR functionality. Specifically, the error lies in a function that enables data to be uploaded to a Web server through chunked encoding, and it causes IIS to allocate a buffer of the wrong size to hold incoming data, with the result that the data can overrun the end of the buffer. RESOLUTIONInternet Information Services 5.0To resolve this problem, obtain the latest service pack for Windows 2000. For more information, click the following article number to view the article in the Microsoft Knowledge Base:260910
(http://support.microsoft.com/kb/260910/
)
How to obtain the latest Windows 2000 service pack
Download InformationThe following file is available for download from the Microsoft Download Center:Collapse this image ![]() For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base: 119591
(http://support.microsoft.com/kb/119591/
)
How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
You do not have to restart your computer after you apply this update. This update supports the following setup switches:-?
For example, to install the update without any user intervention, and then to not force the computer to restart, use the following command line:Display the list of installation switches. -u Unattended mode. -f Force other programs to quit when the computer shuts down. -n Do not back up files for uninstallation. -o Overwrite OEM files without prompting. -z Do not restart when installation is complete. -q Quiet mode (no user interaction). -l List installed hotfixes. -x Extracts the files without running Setup. q321599_w2k_sp4_x86_en -u -q -z File InformationThe English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.Date Time Version Size File name and path ---------------------------------------------------------------------------- 16-May-2002 11:54 5.0.2195.5671 46,352 %Windir%\System32\inetsrv\Ism.dll Internet Information Server 4.0A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that you determine are at risk of attack. Evaluate the computer's physical accessibility, network and Internet connectivity, and other factors to determine the degree of risk to the computer. See the associated Microsoft Security Bulletin (http://www.microsoft.com/technet/security/bulletin/ms02-028.mspx) to help determine the degree of risk. This hotfix may receive additional testing. If the computer is sufficiently at risk, we recommend that you apply this hotfix now.To resolve this problem immediately, download the hotfix by following the instructions later in this article or contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site: http://support.microsoft.com/contactus/?ws=support
(http://support.microsoft.com/contactus/?ws=support)
Note In special cases, charges that are ordinarily incurred for support calls may be canceled, if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. Download InformationThe following file is available for download from the Microsoft Download Center:Collapse this image ![]() For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base: 119591
(http://support.microsoft.com/kb/119591/
)
How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
Installation OptionsFollow these steps to avoid having to restart your computer:Note Although you can avoid the need to restart your computer after applying this patch, the computer will not be considered patched and protected until after you restart the computer. Unlike in Windows 2000 (IIS 5), in Windows NT 4.0 (IIS 4), the earlier DLLs are not automatically updated. Only take the steps to avoid a restart if you want to apply more than one patch before restarting, and you have to always perform a restart after these steps.
184305
(http://support.microsoft.com/kb/184305/EN-US/
)
How to Install and Remove Hotfixes with Hotfix.exe
For example, the following command line installs the update without any user intervention, and then it does not force the computer to restart:q321599i -q -m -z File InformationThe English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.Date Time Version Size File name and path -------------------------------------------------------------------------- 30-Apr-2002 07:34 4.2.776.1 54,560 %Windir%\System32\inetsrv\Ism.dll STATUS
Microsoft has confirmed that this problem may cause a degree of security vulnerability in the Microsoft products that are listed at the beginning of this article.
This problem was first corrected in Windows 2000 Service Pack 3.
| Article Translations
|
Back to the top

