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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Microsoft SQL 2000/7.0 - Agent Jobs Privilege Escalation EDB-21718 · remote · Aug 15, 2002 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- VU#939675 third-party-advisory
- VU#818939 third-party-advisory
- 20020816 Microsoft SQL Server Extended Stored Procdure privilege upgrade vulnerabilities (#NISR15002002A) mailing-list
- MS02-043 vendor-advisory
- http://www.ngssoftware.com/advisories/mssql-esppu.txt
- VU#399531 third-party-advisory
- 20020815 Alert: Microsoft Security Bulletin - MS02-043 mailing-list
- 20020816 Microsoft SQL Server Extended Stored Procdure privilege upgrade vulnerabilities (#NISR15002002A) mailing-list