Microsoft SQL Server contains buffer overflows in openrowset and opendatasource macros

2002-03-28T00:00:00
ID VU:619707
Type cert
Reporter CERT
Modified 2002-07-29T23:20:00

Description

Overview

Microsoft SQL Server contains several buffer overflows in "functions that are associated with connecting to remote data sources through 'ad hoc names.'"

Description

Microsoft SQL Server versions 7.0 and 2000 contain buffer overflows in the openrowset and opendatasource macros. By calling these macros with an overly long provider name parameter, an intruder can interrupt the ordinary operation of the server or potentially execute arbitrary code with the privileges of the SQL server. For more information, see

http://www.microsoft.com/technet/security/bulletin/MS02-007.asp

In order to exploit this vulnerability, an intruder would need to be able to call one of the vulnerable macros directly, or be able to supply an inappropriate argument to a script that uses one of the vulnerable macros.


Impact

An intruder can execute arbitrary code with the privileges of the SQL service account. If the privileges of the service account are elevated via VU#796313, this vulnerability may result in compromise of the server host.


Solution

Apply a patch as described in http://support.microsoft.com/support/misc/kblookup.asp?id=Q318268 or http://support.microsoft.com/support/misc/kblookup.asp?id=Q316333.


Vendor Information

619707

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

Notified: July 27, 2002 Updated: July 29, 2002

Status

Affected

Vendor Statement

See http://www.microsoft.com/technet/security/bulletin/MS02-007.asp

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.

CVSS Metrics

Group | Score | Vector
---|---|---
Base | |
Temporal | |
Environmental | |

References

Acknowledgements

Our thanks to Microsoft Corporation for the information provided in their bulletin, and to Cesar Cerrudo, who reported this information on Bugtraq and NTBugTraq.

This document was written by Shawn V. Hernan.

Other Information

CVE IDs: | CVE-2002-0056
---|---
Severity Metric: | 9.57
Date Public: | 2002-02-19
Date First Published: | 2002-03-28
Date Last Updated: | 2002-07-29 23:20 UTC
Document Revision: | 26