Microsoft IIS 5.0 .printer ISAPI Extension Buffer Overflow Vulnerability

BID:2674

Info

Microsoft IIS 5.0 .printer ISAPI Extension Buffer Overflow Vulnerability

Bugtraq ID: 2674
Class: Boundary Condition Error
CVE:
Remote: Yes
Local: No
Published: May 01 2001 12:00AM
Updated: May 01 2001 12:00AM
Credit: Discovered by Riley Hassel of eEye Digital Security and posted in a Microsoft Security Bulletin MS01-023 on May 1, 2001.
Vulnerable: Microsoft IIS 5.0
- Microsoft Windows 2000 Advanced Server SP2
- Microsoft Windows 2000 Advanced Server SP2
- Microsoft Windows 2000 Advanced Server SP1
- Microsoft Windows 2000 Advanced Server SP1
+ Microsoft Windows 2000 Advanced Server
+ Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Datacenter Server SP2
- Microsoft Windows 2000 Datacenter Server SP2
- Microsoft Windows 2000 Datacenter Server SP1
- Microsoft Windows 2000 Datacenter Server SP1
- Microsoft Windows 2000 Professional SP2
- Microsoft Windows 2000 Professional SP2
- Microsoft Windows 2000 Professional SP1
- Microsoft Windows 2000 Professional SP1
+ Microsoft Windows 2000 Professional
+ Microsoft Windows 2000 Professional
- Microsoft Windows 2000 Server SP2
- Microsoft Windows 2000 Server SP2
- Microsoft Windows 2000 Server SP1
- Microsoft Windows 2000 Server SP1
+ Microsoft Windows 2000 Server
+ Microsoft Windows 2000 Server
Not Vulnerable:

Discussion

Microsoft IIS 5.0 .printer ISAPI Extension Buffer Overflow Vulnerability

Windows 2000 Internet printing ISAPI extension contains msw3prt.dll which handles user requests. Due to an unchecked buffer in msw3prt.dll, a maliciously crafted HTTP .printer request containing approx 420 bytes in the 'Host:' field will allow the execution of arbitrary code. Typically a web server would stop responding in a buffer overflow condition; however, once Windows 2000 detects an unresponsive web server it automatically performs a restart. Therefore, the administrator will be unaware of this attack.

* If Web-based Printing has been configured in group policy, attempts to disable or unmap the affected extension via Internet Services Manager will be overridden by the group policy settings.

Exploit / POC

Microsoft IIS 5.0 .printer ISAPI Extension Buffer Overflow Vulnerability

CORE has developed a working commercial exploit for their IMPACT product. This exploit is not otherwise publicly available or known to be circulating in the wild.

Ryan Permeh of eEye Digital Security released the following 'iishack2000.c' exploit.

Wanderley J. Abreu Jr. <[email protected]> has provided the following memory leak 'iiswebexplt.pl' exploit.

dark spyrit <[email protected]> has provided the following 'jill.c' exploit.

Cyrus The Great <[email protected]> has provided the following 'iis5hack.zip' exploit.

The exploits provided may not work on Japanese version of IIS. This does not necessarily mean Japanese IIS is not vulnerable.

An exploit has been released as part of the MetaSploit Framework 2.0.

Exploit code has also been provided by sectroyer <[email protected]>.

Proof of concept iis_printer_bof.c was provided by Daniele Spaccini (styx^) <[email protected]>.

Solution / Fix

Microsoft IIS 5.0 .printer ISAPI Extension Buffer Overflow Vulnerability

Solution:
Microsoft has released a patch which rectifies this issue. Patches for Windows 2000 Datacenter Server are hardware-specific and available from the original equipment manufacturer.


Microsoft IIS 5.0

References

Microsoft IIS 5.0 .printer ISAPI Extension Buffer Overflow Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report