← Vulnerability feed

Vulnerability record · CVE-2002-0721 · published 5 September 2002

CVE-2002-0721: Microsoft SQL Server weak permissions on extended stored procedures

Microsoft · Data Engine

Microsoft SQL Server 7.0 and 2000 installs extended stored procedures tied to helper functions with weak permissions. Unprivileged users, and possibly remote attackers, can execute xp_execresultset, xp_printstatements, or xp_displayparamstmt with administrator privileges. This is a privilege escalation flaw in default installations of an affected database server.

10.0 CVSS 2.0 High EPSS 46% · top 1.2%
10.0CVSS 2.0 base score
46%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
16References
16 Jun 2026Last modified by NVD

Description

Microsoft SQL Server 7.0 and 2000 installs with weak permissions for extended stored procedures that are associated with helper functions, which could allow unprivileged users, and possibly remote attackers, to run stored procedures with administrator privileges via (1) xp_execresultset, (2) xp_printstatements, or (3) xp_displayparamstmt.

AV:N/AC:L/Au:N/C:C/I:C/A:C

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: medium.

high priorityThe flaw allows privilege escalation to administrator on a database server and has a very high EPSS score, though it is not in KEV and the record lacks modern exploit detail.

What it is

Microsoft SQL Server 7.0 and 2000 installs extended stored procedures tied to helper functions with weak permissions. Unprivileged users, and possibly remote attackers, can execute xp_execresultset, xp_printstatements, or xp_displayparamstmt with administrator privileges. This is a privilege escalation flaw in default installations of an affected database server.

Impact

An attacker gains the ability to run stored procedures with administrator privileges on the SQL Server instance, effectively escalating from an unprivileged database user to full control of the database service.

Attack surface

The flaw is reachable through the SQL Server interface, and the description states unprivileged users and possibly remote attackers can trigger it, so no special privileges are required; the record does not specify whether network exposure or authentication is mandatory beyond that.

Exploitation

Not listed in CISA KEV and no ransomware usage documented, but EPSS is 0.46307 (98.76th percentile), indicating a high modeled likelihood of exploitation; reference tags are limited to US Government Resource with no exploit tags.

What to do

  • Apply the Microsoft security bulletin MS02-043 fix for SQL Server 7.0 and 2000.
  • Restrict and audit permissions on the extended stored procedures xp_execresultset, xp_printstatements, and xp_displayparamstmt.
  • Limit SQL Server network exposure and require strong authentication for database logins.
  • Review database roles to ensure no unprivileged accounts retain execute rights on these procedures.

Detection

  • Monitor SQL Server audit logs for execution of xp_execresultset, xp_printstatements, or xp_displayparamstmt by non-administrative logins.
  • Alert on privilege changes or unexpected administrative actions originating from low-privileged database accounts.
  • Baseline which accounts can execute extended stored procedures and flag deviations.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2002-0721 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2020-0618Microsoft SQL Server Reporting Services ViewState deserialization RCESQL Server Reporting Services mishandles page requests, allowing untrusted ViewState data to be deserialized (CWE-502). An authenticated attacker can…KEVEPSS 99%analysed8.8CVE-2019-1068Microsoft SQL Server improper input validation remote code executionMicrosoft SQL Server mishandles processing of internal functions, allowing an authenticated remote attacker to execute code on the database server. T…KEVEPSS 58%analysed8.8CVE-2012-1856Microsoft Office MSCOMCTL.OCX TabStrip ActiveX Control Remote Code ExecutionThe TabStrip ActiveX control in MSCOMCTL.OCX fails to properly handle system state, allowing a crafted document or web page to corrupt memory and exe…KEVEPSS 72%analysed10.0CVE-2002-1145Microsoft data engine vulnerabilityThe xp_runwebtask stored procedure in the Web Tasks component of Microsoft SQL Server 7.0 and 2000, Microsoft Data Engine (MSDE) 1.0, and Microsoft D…EPSS 8.3%10.0CVE-2000-1209Microsoft SQL Server and MSDE default null sa passwordMicrosoft SQL Server 2000, SQL Server 7.0 and MSDE 1.0 install the "sa" account with a default null password, and third-party packages such as Tumble…EPSS 87%analysed9.8CVE-2018-8273Microsoft sql server out-of-bounds write vulnerabilityA buffer overflow vulnerability exists in the Microsoft SQL Server that could allow remote code execution on an affected system, aka "Microsoft SQL S…EPSS 29%9.3CVE-2009-2500Microsoft windows 2003 server vulnerabilityInteger overflow in GDI+ in Microsoft Internet Explorer 6 SP1, Windows XP SP2 and SP3, Office XP SP3, Office 2003 SP3, 2007 Microsoft Office System S…EPSS 24%9.3CVE-2009-2501Microsoft windows 2003 server memory buffer overflow vulnerabilityHeap-based buffer overflow in GDI+ in Microsoft Internet Explorer 6 SP1, Windows XP SP2 and SP3, Office XP SP3, Office 2003 SP3, 2007 Microsoft Offic…EPSS 27%

Source: NIST National Vulnerability Database (record CVE-2002-0721), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.