Lucene search

K
certCERTVU:811371
HistoryJun 25, 2002 - 12:00 a.m.

Microsoft SQLXML ISAPI filter vulnerable to buffer overflow via contenttype parameter

2002-06-2500:00:00
www.kb.cert.org
17

0.933 High

EPSS

Percentile

99.1%

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.

Microsoft Security Bulletin MS02-030 notes that SQLXML is installed but disabled by default. In addition, SQLXML must be configured to run over HTTP in order to install the SQLXML ISAPI extension. An IIS server is only vulnerable if SQLXML is enabled and configured to run over HTTP.


Impact

A remote attacker could execute arbitrary code or cause a denial of service. The SQLXML ISAPI extension runs as LocalSystem.


Solution

Apply a Patch

Apply the appropriate patch as referenced in Microsoft Security Bulletin MS02-030.


Disable Vulnerable Service

If the services are not needed, disable or uninstall SQLXML or SQLXML over HTTP. As a general practice, the CERT/CC recommends disabling any services that are not explicitly required.


Vendor Information

811371

Filter by status: All Affected Not Affected Unknown

Filter by content: __ Additional information available

__ Sort by: Status Alphabetical

Expand all

Javascript is disabled. Click here to view vendors.

Microsoft Corporation __ Affected

Updated: June 24, 2002

Status

Affected

Vendor Statement

Microsoft has released Microsoft Security Bulletin MS02-030.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us [email](<mailto:[email protected]?Subject=VU%23811371 Feedback>).

CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

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: CVE-2002-0186
Severity Metric: 12.39 Date Public:

0.933 High

EPSS

Percentile

99.1%

Related for VU:811371