search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Microsoft Windows SQL Server allows arbitrary queries to be executed via "xp_execresultset" extended procedure

Vulnerability Note VU#399531

Original Release Date: 2002-08-16 | Last Revised: 2002-08-16

Overview

MS SQL Server contains an extended stored procedure with inappropriate permission settings.

Description

Microsoft SQL Server 7.0 and Microsoft SQL Server 2000 contain an extended stored procedure, xp_execresultset, that permits an unprivileged user of a database to gain administrative access to the database. For more information, please see

http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/bulletin/MS02-043.asp and
http://www.ngssoftware.com/advisories/mssql-esppu.txt

This vulnerability was discovered David Litchfield of NGSSoftware.

Impact

An intruder can gain administrative access to a vulnerable SQL Server database.

Solution

Apply a patch as described in http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/bulletin/MS02-043.asp.

Vendor Information

399531
 

Microsoft Corporation Affected

Updated:  August 16, 2002

Status

Affected

Vendor Statement

See http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/bulletin/MS02-043.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

Thanks to David Litchfield of NGS Software for reporting this vulnerability.

This document was written by Shawn V Hernan.

Other Information

CVE IDs: CVE-2002-0721
Severity Metric: 12.66
Date Public: 2002-08-16
Date First Published: 2002-08-16
Date Last Updated: 2002-08-16 22:14 UTC
Document Revision: 4

Sponsored by CISA.