CVE-2002-0721

Microsoft SQL Server 7.0-2000 - Privilege Escalation

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2002-0721. PoCs published by David Litchfield.

AI-analyzed exploit summary This exploit leverages weak permissions in Microsoft SQL Server 2000's Agent to execute arbitrary commands or create files via scheduled jobs. It demonstrates privilege escalation by abusing the SQL Agent to run T-SQL commands, including xp_cmdshell, in the context of the SQL Server Service Account.

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by David Litchfield · textremotewindows
https://www.exploit-db.com/exploits/21718

This exploit leverages weak permissions in Microsoft SQL Server 2000's Agent to execute arbitrary commands or create files via scheduled jobs. It demonstrates privilege escalation by abusing the SQL Agent to run T-SQL commands, including xp_cmdshell, in the context of the SQL Server Service Account.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Microsoft SQL Server 2000
Auth required
Prerequisites: SQL Agent must be running · Attacker needs low-privileged access to SQL Server · xp_cmdshell must be accessible or exploitable via Extended Stored Procedure Privilege Elevation
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (8)

Core 8
Core References
US Government Resource third-party-advisory x_refsource_cert-vn
http://www.kb.cert.org/vuls/id/939675
US Government Resource third-party-advisory x_refsource_cert-vn
http://www.kb.cert.org/vuls/id/818939
Mailing List mailing-list x_refsource_ntbugtraq
http://marc.info/?l=ntbugtraq&m=102950792606475&w=2
US Government Resource third-party-advisory x_refsource_cert-vn
http://www.kb.cert.org/vuls/id/399531
Third Party Advisory mailing-list x_refsource_ntbugtraq
http://archives.neohapsis.com/archives/ntbugtraq/2002-q3/0087.html
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=102950473002959&w=2

Scores

EPSS 0.4631
EPSS Percentile 98.7%

Details

Status published
Products (4)
microsoft/data_engine 1.0
microsoft/data_engine 2000
microsoft/sql_server 7.0 (5 CPE variants)
microsoft/sql_server 2000 (3 CPE variants)
Published Sep 05, 2002
Tracked Since Feb 18, 2026