|
SQL Server Named Pipe Privilege Escalation Vulnerability
|
|
Secunia Advisory:
|
SA9229
|
|
|
Release Date:
|
2003-07-11
|
|
Popularity:
|
7,510 views
|
|
|
Critical:
|
 Less critical
|
|
Impact:
|
Privilege escalation
|
|
Where:
|
Local system
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | Microsoft SQL Server 2000 Microsoft SQL Server 7
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2003-0496
|
|
Description: A vulnerability has been identified in SQL Server, which can be exploited by malicious, local users to escalate their privileges on a vulnerable system.
The vulnerability is caused due to a general error in the "CreateFile" API and an attack vector exists in SQL Server making it possible to gain the privileges of the SQL Server. This can be exploited by specifying the UNC name of a named pipe instead of a file as an argument to the "xp_fileexist" extended stored procedure.
An example is included in the original advisory.
Solution: Generally, only trusted administrators should be allowed access to a server. Furthermore, services should be run with as few privileges as possible.
Microsoft has fixed this issue in Windows 2000 Service Pack 4 by introducing a new user right:
http://www.microsoft.com/windows2000/downloads/servicepacks/sp4/default.asp
Provided and/or discovered by: Andreas Junestam (@stake)
Original Advisory: http://www.atstake.com/research/advisories/2003/a070803-1.txt
Other References: Microsoft knowledge base article about the new user right:
http://support.microsoft.com/default.aspx?scid=kb;[LN];821546
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|