TUCoPS :: Web :: IIS :: ca200113.txt

Buffer Overflow in IIS Indexing Service DLL

CERT Advisory CA-2001-13 Buffer Overflow In IIS Indexing Service DLL

   Original release date: June 19, 2001
   Last revised: August 16, 2001
   Source: CERT/CC
   A complete revision history is at the end of this file.
Systems Affected

     * Systems running Microsoft Windows NT 4.0 with IIS 4.0 or IIS 5.0
     * Systems running Microsoft Windows 2000 (Professional, Server,
       Advanced Server, Datacenter Server)
     * Systems running beta versions of Microsoft Windows XP

   A vulnerability exists in the Indexing Services used by Microsoft IIS
   4.0 and IIS 5.0 running on Windows NT, Windows 2000, and beta versions
   of Windows XP. This vulnerability allows a remote intruder to run
   arbitrary code on the victim machine.
   Since specific technical details on how to create an exploit are
   publicly available for this vulnerability, system administrators
   should apply fixes or workarounds on affected systems as soon as
   A translation of this advisory into Polish is available at
I. Description

   There is a remotely exploitable buffer overflow in one of the ISAPI
   extensions installed with most versions of IIS 4.0 and 5.0 (The
   specific Internet/Indexing Service Application Programming Interface
   extension is IDQ.DLL). An intruder exploiting this vulnerability may
   be able to execute arbitrary code in the Local System security
   context. This essentially can give the attacker complete control of
   the victim system.
   This vulnerability was discovered by eEye Digital Security. Microsoft
   has released the following bulletin regarding this issue:
   Affected versions of Windows include Windows NT 4.0 (installed with
   IIS 4.0 and Index Server 2.0), Windows 2000 (Server and Professional
   with IIS 5.0 installed), and Windows 2000 Datacenter Server OEM
   distributions; however, not all of these instances are vulnerable by
   default. The beta versions of Windows XP are vulnerable by default.
   The only precondition for exploiting this vulnerability is that an IIS
   server is running with script mappings for Internet Data
   Administration (.ida) and Internet Data Query (.idq) files. The
   Indexing Services do not need to be running. As stated by Microsoft in

   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 would not need to be
          running in order for an attacker to exploit the vulnerability.
          As long as the script mapping for .idq or .ida files were
          present, and the attacker were able to establish a web session,
          he could exploit the vulnerability.
   This vulnerability has been assigned the identifier CAN-2001-0500 by
   the Common Vulnerabilities and Exposures (CVE) group:
II. Impact

   Anyone who can reach a vulnerable web server can execute arbitrary
   code in the Local System security context. This results in the
   intruder gaining complete control of the system. Note that this may be
   significantly more serious than a simple "web defacement."
III. Solution

Apply a patch from your vendor

   Apply patches for vulnerable Windows NT 4.0 and Windows 2000 systems:
   For Windows NT 4.0:
   For Windows 2000 Professional, Server, and Advanced Server:
   Users of Windows 2000 Datacenter Server software should contact their
   original equipment manufacturer (OEM) for patches. A list of OEM
   providers may be found here:

   Users of beta copies of Windows XP should upgrade to a newer version
   of the software when it becomes available.
   All affected versions of IIS/Indexing Services can be protected
   against exploits of this vulnerability by removing script mappings for
   Internet Data Administration (.ida) and Internet Data Query (.idq)
   files. However, such mappings may be recreated when installing other
   related software components.
Appendix A. Vendor Information

Microsoft Corporation

   The following documents regarding this vulnerability are available
   from Microsoft:

    1. VU#952336: Microsoft Index Server/Indexing Service used by IIS
       4.0/5.0 contains unchecked buffer used when encoding double-byte
       characters CERT/CC, 06/19/2001,
    2. Additional advice on securing IIS web servers is available from
   Feedback concerning this document may be directed to Jeffrey S.
   This document is available from:
CERT/CC Contact Information

   Email: cert@cert.org
          Phone: +1 412-268-7090 (24-hour hotline)
          Fax: +1 412-268-6989
          Postal address:
          CERT Coordination Center
          Software Engineering Institute
          Carnegie Mellon University
          Pittsburgh PA 15213-3890
   CERT/CC personnel answer the hotline 08:00-17:00 EST(GMT-5) /
   EDT(GMT-4) Monday through Friday; they are on call for emergencies
   during other hours, on U.S. holidays, and on weekends.
    Using encryption
   We strongly urge you to encrypt sensitive information sent by email.
   Our public PGP key is available from
   If you prefer to use DES, please call the CERT hotline for more
    Getting security information
   CERT publications and other security information are available from
   our web site
   To subscribe to the CERT mailing list for advisories and bulletins,
   send email to majordomo@cert.org. Please include in the body of your
   subscribe cert-advisory
   * "CERT" and "CERT Coordination Center" are registered in the U.S.
   Patent and Trademark Office.
   Any material furnished by Carnegie Mellon University and the Software
   Engineering Institute is furnished on an "as is" basis. Carnegie
   Mellon University makes no warranties of any kind, either expressed or
   implied as to any matter including, but not limited to, warranty of
   fitness for a particular purpose or merchantability, exclusivity or
   results obtained from use of the material. Carnegie Mellon University
   does not make any warranty of any kind with respect to freedom from
   patent, trademark, or copyright infringement.
   Conditions for use, disclaimers, and sponsorship information
   Copyright 2001 Carnegie Mellon University.
   Revision History
Jun 19, 2001: Initial Release
Jun 21, 2001: Removed statement about patch supersession
Jul 17, 2001: Updated Feedback link
Jul 30, 2001: Added link to Polish translation
Aug 16, 2001: Added link to Microsoft Security Bulletin MS01-044

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH