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#682620

Microsoft SQL Server contains buffer overflow in code used to process "BULK INSERT" queries

Overview

The Microsoft SQL Server contains a buffer overflow vulnerability that may allow remote attackers to execute arbitrary code with system privileges.

I. Description

The Microsoft SQL Server contains a buffer overflow vulnerability in the code used to process "Bulk Insert" queries. Bulk Insert queries allow the SQL user to supply a file containing records to be imported into the SQL database. If an attacker supplies a file with an excessively long filename, it is possible to overflow the application stack and alter the flow of execution, resulting in the execution of arbitrary code. Note that successful exploitation of this vulnerability requires Bulk Administrator or Administrator group privileges.

II. Impact

This vulnerability may allow remote attackers to execute arbitrary code with system privileges.

III. Solution

Apply a patch

Microsoft has published Security Bulletin MS02-034 to address this vulnerability. For more information, please see


This vulnerability also affects any products that include the Microsoft Desktop Engine (MSDE) 2000. For more information, please see

Systems Affected

VendorStatusDate Updated
Microsoft CorporationVulnerable12-Jul-2002

References


http://www.microsoft.com/technet/security/bulletin/MS02-034.asp
http://support.microsoft.com/support/misc/kblookup.asp?id=Q316333
http://www.microsoft.com/technet/prodtechnol/sql/maintain/security/sql2ksec.asp
http://www.ngssoftware.com/vna/ms-sql.txt
http://www.nextgenss.com/advisories/ms-sqlbi.txt
http://online.securityfocus.com/bid/4847/info/

Credit

The CERT/CC thanks NGSSoftware for their discovery and analysis of this vulnerability.

This document was written by Jeffrey P. Lanza and is based upon information provided by Microsoft and NGSSoftware.

Other Information

Date Public07/10/2002
Date First Published07/25/2002 02:33:47 PM
Date Last Updated02/06/2003
CERT Advisory 
CVE NameCAN-2002-0641
US-CERT Technical Alerts 
Metric5.91
Document Revision25

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