Vulnerability Note VU#811371
Microsoft SQLXML ISAPI filter vulnerable to buffer overflow via contenttype parameter
Overview
A buffer overflow vulnerability exists in the Microsoft SQLXML Internet Services Application Programming Interface (ISAPI) extension for Internet Information Server (IIS). This vulnerability could allow a remote attacker to cause a denial of service or execute arbitrary code with LocalSystem privileges.
Description
Microsoft SQL Server 2000 includes a feature called SQLXML that allows the server to handle SQL queries and responses via XML. IIS enables XML over HTTP using SQLXML HTTP components, one of which is an ISAPI extension. A client SQLXML HTTP request takes the form of a URI that contains a number of arguments including the name of the IIS server, the virtual directory (virtual root), and optional parameters. One of the optional parameters, contenttype, sets the Content-Type header for the HTTP response to the client. The entire URI, including the contenttype parameter, is controlled by the client. The SQLXML ISAPI extension does not adequately validate the length of the contenttype parameter. As a result, an attacker could construct a URI with a specially crafted value for contenttype that triggers a buffer overflow on a vulnerable IIS server. |
Impact
A remote attacker could execute arbitrary code or cause a denial of service. The SQLXML ISAPI extension runs as LocalSystem. |
Solution
|
|
Systems Affected (Learn More)
| Vendor | Status | Date Notified | Date Updated |
|---|---|---|---|
| Microsoft Corporation | Affected | - | 24 Jun 2002 |
CVSS Metrics (Learn More)
| Group | Score | Vector |
|---|---|---|
| Base | N/A | N/A |
| Temporal | N/A | N/A |
| Environmental | N/A | N/A |
References
- VU#139931
- http://www.westpoint.ltd.uk/advisories/wp-02-0007.txt
- http://www.microsoft.com/technet/security/bulletin/MS02-030.asp
- http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlref/xmlref_7583.asp
- http://www.securityfocus.com/bid/5004
Credit
The CERT/CC thanks both Matt Moore of Westpoint and Microsoft for information used in this document.
This document was written by Art Manion.
Other Information
- CVE IDs: CAN-2002-0186
- Date Public: 12 Jun 2002
- Date First Published: 24 Jun 2002
- Date Last Updated: 08 Aug 2002
- Severity Metric: 12.39
- Document Revision: 30
Feedback
If you have feedback, comments, or additional information about this vulnerability, please send us email.