MS01-033: Unchecked Buffer in Index Server ISAPI Extension Can Enable Web Server Compromise
This article was previously published under Q300972 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) NOTE: The Indexing service in Microsoft Windows XP Beta is also
affected by the vulnerability. Microsoft is working directly with the small
number of customers who are using the Beta in production environments to
provide remediation for them. For more information, see the FAQ portion of the
following Microsoft Web site: http://www.microsoft.com/technet/security/bulletin/MS01-033.mspx (http://www.microsoft.com/technet/security/bulletin/MS01-033.mspx) On This PageSYMPTOMS As part of its installation process, IIS installs several
ISAPI extensions. These are dynamic-link libraries (DLLs) that provide extended
functionality. Among these is Idq.dll, which is a component of Index Server
(known in Windows 2000 as Indexing Service) that provides support for
administrative scripts (these are Internet Data Administration, or .ida, files)
and Internet Data Query (.idq) files. A security vulnerability results because Idq.dll contains an unchecked buffer in a section of code that handles input URLs. An attacker who can establish a Web session with a server on which Idq.dll is installed can conduct a buffer overrun attack and execute code on the Web server. Idq.dll runs in the System context, so exploiting the vulnerability gives the attacker complete control of the server and allows him to take any desired action on it. The buffer overrun occurs before any indexing functionality is requested. As a result, even though Idq.dll is a component of Index Server/Indexing Service, the service does not need to be running for an attacker to exploit the vulnerability. As long as the script mapping for .idq or .ida files is present, and the attacker is able to establish a Web session, he can exploit the vulnerability. Clearly, this is a serious vulnerability, and Microsoft urges all customers to take action immediately. Customers who cannot install the patch can protect their systems by removing the script mappings for .idq and .ida files by using the Internet Services Manager in IIS. However, it is possible for these mappings to be automatically reinstated if additional system components are added or removed. Because of this, Microsoft recommends that all customers using IIS install the patch, even if the script mappings have been removed. For more information, see the FAQ portion of the following Microsoft Web site: http://www.microsoft.com/technet/security/bulletin/MS01-033.mspx (http://www.microsoft.com/technet/security/bulletin/MS01-033.mspx) Mitigating Factors
RESOLUTIONWindows 2000To 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:260910 (http://support.microsoft.com/kb/260910/EN-US/) How to Obtain the Latest Windows 2000 Service Pack
The resolution for this problem is also available
in Windows 2000 Security Rollup Package 1 (SRP1).
For additional information about SRP1, click the article number
below to view the article in the Microsoft Knowledge Base: 311401 (http://support.microsoft.com/kb/311401/EN-US/) Windows 2000 Security Rollup Package 1 (SRP1), January 2002
The following files are available for download from the Microsoft
Download Center: English Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/en-us/q300972_w2k_sp3_x86_en.exe) Arabic Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/ar/q300972_w2k_sp3_x86_ar.exe) Chinese (Simplified) Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/cn/q300972_w2k_sp3_x86_cn.exe) Chinese (Traditional) Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/tw/q300972_w2k_sp3_x86_tw.exe) Czech Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/cs/q300972_w2k_sp3_x86_cs.exe) Danish Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/da/q300972_w2k_sp3_x86_da.exe) Dutch Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/nl/q300972_w2k_sp3_x86_nl.exe) Finnish Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/fi/q300972_w2k_sp3_x86_fi.exe) French Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/fr/q300972_w2k_sp3_x86_fr.exe) German Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/de/q300972_w2k_sp3_x86_de.exe) Greek Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/el/q300972_w2k_sp3_x86_el.exe) Hebrew Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/he/q300972_w2k_sp3_x86_he.exe) Hungarian Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/hu/q300972_w2k_sp3_x86_hu.exe) Italian Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/it/q300972_w2k_sp3_x86_it.exe) Japanese Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/ja/q300972_w2k_sp3_x86_ja.exe) Japanese NEC Language Version (http://download.microsoft.com/download/win2000platform/patchnec/q300972/nt5/ja/q300972_w2k_sp3_nec98_ja.exe) Korean Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/ko/q300972_w2k_sp3_x86_ko.exe) Norwegian Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/no/q300972_w2k_sp3_x86_no.exe) Polish Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/pl/q300972_w2k_sp3_x86_pl.exe) Portuguese (Brazilian) Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/pt-br/q300972_w2k_sp3_x86_br.exe) Portuguese Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/pt/q300972_w2k_sp3_x86_pt.exe) Russian Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/ru/q300972_w2k_sp3_x86_ru.exe) Spanish Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/es/q300972_w2k_sp3_x86_es.exe) Swedish Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/sv/q300972_w2k_sp3_x86_sv.exe) Turkish Language Version (http://download.microsoft.com/download/win2000platform/patch/q300972/nt5/tr/q300972_w2k_sp3_x86_tr.exe)For additional 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/EN-US/) 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 to
prevent any unauthorized changes to the file.
NOTE: Customers who apply this patch on Windows 2000-based computers
that are running Windows Management Instrumentation (WMI) may also need to
apply an additional hotfix. Although it is unrelated to this particular patch,
a known issue can cause the WMI process (Winmgmt.exe) to stop responding (hang)
and consume 100 percent of CPU resources and memory if a program queries for
the Win32_QuickFixEngineering objects. For example, this can occur when
Microsoft Systems Management Server (SMS) queries WMI to determine which
hotfixes have been applied.
For additional information
about how to resolve this problem, click the article number below to view the
article in the Microsoft Knowledge Base: 279225 (http://support.microsoft.com/kb/279225/EN-US/) WMI Win32_QuickFixEngineering Queries Cause Winmgmt Process to Hang
The English version of this fix should have the
following file attributes or later: Date Time Version Size File name ----------------------------------------------------- 24-May-2001 16:29 5.0.2195.3645 121,104 Idq.dllNOTE: Due to file dependencies, this hotfix requires Microsoft Windows 2000 Service Pack 1 or later. Windows NT 4.0 ServerTo resolve this problem, obtain the individual package referenced below or obtain the Windows NT 4.0 Security Rollup Package. For additional information on the SRP, click the article number below to view the article in the Microsoft Knowledge Base:299444 (http://support.microsoft.com/kb/299444/EN-US/) Post-Windows NT 4.0 Service Pack 6a Security Rollup Package (SRP)
The following file is available for download from the Microsoft
Download Center: Download Q300972i.exe now (http://www.microsoft.com/downloads/details.aspx?FamilyID=440b6f36-1659-44ad-892d-14cd490c9afd&DisplayLang=en)Release Date: Monday, June 18, 2001 For additional 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/EN-US/) 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 to
prevent any unauthorized changes to the file.
The English version of this fix should have the
following file attributes or later: Date Version Size File name ------------------------------------------- 03-Jul-2001 5.0.1782.4 193,296 Idq.dllNOTE: Due to file dependencies, this hotfix requires Microsoft Windows NT 4.0 Service Pack 6a. The original patched English version of this fix had the following file attributes: Date Version Size File name ------------------------------------------- 25-May-2001 5.00.1782.4 193,296 Idq.dllNOTE: The Idq.dll file has been re-released to correct a file version issue. Specifically, the Idq.dll version number in the original patch (dated May 25, 2001) was not incremented from that of the previous build (dated January 25, 2001). Instead, the version number for both was 5.0.1781.3. A new version of the patch was released on August 2, 2001, containing an Idq.dll file dated July 03, 2001, that was properly versioned with version number 5.0.1782.4. No other changes were made in the new version of the patch. If you installed the original version of this patch (Idq.dll version 5.0.1781.3, dated May 25, 2001), you do not need to apply the new version (Idq.dll version 5.0.1782.4, dated July 03, 2001) because your system is already protected. However, if the version of the Idq.dll file on your computer is 5.0.1781.3, dated January 25, 2000, you should upgrade to the new version of the patch. Windows NT Server 4.0, Terminal Server EditionIndex Server 2.0 is part of the Windows NT 4.0 Option Pack which is not supported on Windows NT Server 4.0, Terminal Server Edition. Patches for Index Server 2.0 have been provided as part of the Windows NT Server 4.0, Terminal Server Edition, Security Rollup Package (SRP) only for customers who have installed the Option Pack to protect their computers during the migration to a supported operating system. For additional information about the SRP, click the article number below to view the article in the Microsoft Knowledge Base:317636 (http://support.microsoft.com/kb/317636/EN-US/) Windows NT Server 4.0, Terminal Server Edition, Security Rollup Package
STATUSMicrosoft has confirmed that this problem may cause a degree of
security vulnerability in Windows 2000 and Windows NT Server
4.0. This problem
was first corrected in Windows 2000 Service Pack 3. MORE INFORMATIONFor 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: 265173 (http://support.microsoft.com/kb/265173/EN-US/) The Datacenter Program and Windows 2000 Datacenter Server Product
For additional information about how to install multiple
hotfixes with only one reboot, click the article number below to view the
article in the Microsoft Knowledge Base: 296861 (http://support.microsoft.com/kb/296861/EN-US/) Use QChain.exe to Install Multiple Hotfixes with One Reboot
APPLIES TO
| Article Translations
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||

Back to the top
