Skip to main content
Mallory
CriticalVulnerability

CVE-2002-0721: Privilege Escalation via Weak Permissions on SQL Server Extended Stored Procedures

Published Aug 20, 2002 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS10.0Critical · v2
EPSS46.3%99th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Microsoft Corporation
IdentifiersCVE-2002-0721CWE-732

Microsoft SQL Server 7.0 and 2000 are installed with weak permissions on certain extended stored procedures (xp_execresultset, xp_printstatements, xp_displayparamstmt) that are associated with helper functions. These permissions allow unprivileged users, and potentially remote attackers, to execute these procedures with administrator privileges, leading to privilege escalation within the SQL Server environment.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

An attacker with access to the SQL Server instance could exploit these weak permissions to execute arbitrary code or commands with administrative privileges, potentially compromising the entire database server and any data or services it manages. This could also be leveraged for lateral movement within the network if the SQL Server has additional privileges or trust relationships.

Mitigation

If you can’t patch tonight, do this now.

As an immediate mitigation, manually audit and restrict permissions on the affected extended stored procedures (xp_execresultset, xp_printstatements, xp_displayparamstmt) to prevent unprivileged users from executing them. Limit network access to the SQL Server to trusted hosts and users only, and monitor for any suspicious activity involving these procedures.

Remediation

Patch, then assume compromise.

Apply the security patches provided by Microsoft for SQL Server 7.0 and 2000 that address this issue. Additionally, review and restrict permissions on all extended stored procedures, ensuring that only trusted and necessary accounts have execute permissions, especially for procedures that can execute code or commands.

Public exploits

Exploits

No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
Candidate exploits are awaiting analysis. View them in Mallory.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationData Engineapplication
Microsoft CorporationSql Serverapplication
FAQ

Frequently asked questions

Is CVE-2002-0721 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2002-0721 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2002-0721?
As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2002-0721. 1 candidate exploit record is not yet analyzed.
Is there a patch for CVE-2002-0721?
Apply the security patches provided by Microsoft for SQL Server 7.0 and 2000 that address this issue. Additionally, review and restrict permissions on all extended stored procedures, ensuring that only trusted and necessary accounts have execute permissions, especially for procedures that can execute code or commands.
What products are affected by CVE-2002-0721?
Microsoft Corporation Sql Server and Microsoft Corporation Data Engine.
How severe is CVE-2002-0721?
CVE-2002-0721 has a CVSS v2 score of 10.0 (Critical) and an EPSS score of 46.3% (99th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.

View more in app →

No news coverage yet. Advisories and community discussion only.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.