SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

 

Vulnerability Note VU#619707

Microsoft SQL Server contains buffer overflows in openrowset and opendatasource macros

Overview

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

I. 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
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.

II. 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.

III. 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.

Systems Affected

VendorStatusDate NotifiedDate Updated
Microsoft CorporationVulnerable29-Jul-2002

References


http://www.microsoft.com/technet/security/bulletin/MS02-007.asp
http://support.microsoft.com/support/misc/kblookup.asp?id=Q318268
http://support.microsoft.com/support/misc/kblookup.asp?id=Q316333
http://www.microsoft.com/technet/prodtechnol/sql/maintain/security/sql2ksec.asp
http://www.ntbugtraq.com/default.asp?pid=36&sid=1&A2=ind0202&L=NTBUGTRAQ&P=R4681
http://online.securityfocus.com/bid/4135
http://msdn.microsoft.com/library/en-us/acdata/ac_8_qd_12_23xd.asp

Credit

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

Date Public:2002-02-19
Date First Published:2002-03-28
Date Last Updated:2002-07-29
CERT Advisory: 
CVE-ID(s):CAN-2002-0056
NVD-ID(s):CAN-2002-0056
US-CERT Technical Alerts: 
Metric:9.57
Document Revision:26

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Copyright 2002 Carnegie Mellon University
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader