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

ID VU:818939
Type cert
Reporter CERT
Modified 2002-08-16T22:16:00



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


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

<> and

This vulnerability was discovered David Litchfield of NGSSoftware.


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


Apply a patch as described in <>.

Vendor Information


Filter by status: All Affected Not Affected Unknown

Filter by content: __ Vendor has issued information

__ Sort by: Status Alphabetical

Expand all

Affected Unknown __ Unaffected

Javascript is disabled. Click here to view vendors.

Microsoft Corporation

Updated: August 16, 2002


__ Vulnerable

Vendor Statement

See <>

Vendor Information

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


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 | N/A | N/A
Temporal | N/A | N/A
Environmental | | N/A


  • <>
  • <>


Thanks to David Litchfield 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:16 UTC
Document Revision: | 3