Vulnerability Note VU#484891
Microsoft SQL Server 2000 contains stack buffer overflow in SQL Server Resolution Service
Overview
Microsoft SQL Server 2000 contains a remotely exploitable stack buffer overflow that allows attackers to execute arbitrary code with the same privileges as the SQL server.
Description
The SQL Server Resolution Service (SSRS) was introduced in Microsoft SQL Server 2000 to provide referral services for multiple server instances running on the same machine. The service listens for requests on UDP port 1434 and returns the IP address and port number of the SQL server instance that provides access to the requested database. The SSRS contains a stack buffer overflow that allows an attacker to execute arbitrary code by sending a crafted request to port 1434/udp. The code within such a request will be executed by the server host with the privileges of the SQL Server service account. |
Impact
This vulnerability allows unauthenticated remote attackers to execute arbitrary code with the privileges of the SQL service account. If the privileges of the service account are elevated via VU#796313, this vulnerability may result in compromise of the server host. |
Solution
Apply a patch
http://www.microsoft.com/technet/security/bulletin/MS02-061.asp This vulnerability also affects any products that include the Microsoft Desktop Engine (MSDE) 2000. For more information, please see |
Block port 1434/udp
|
Systems Affected (Learn More)
| Vendor | Status | Date Notified | Date Updated |
|---|---|---|---|
| BindView Corporation | Affected | 13 Feb 2003 | 20 Feb 2003 |
| Cisco Systems, Inc. | Affected | 26 Jan 2003 | 27 Jan 2003 |
| Express Metrix LLC | Affected | 04 Mar 2003 | 06 Mar 2003 |
| Hewlett-Packard Company | Affected | 13 Feb 2003 | 20 Feb 2003 |
| Kaseya | Affected | 04 Mar 2003 | 26 Mar 2003 |
| Lightspeed Systems | Affected | 04 Mar 2003 | 05 Mar 2003 |
| Microsoft Corporation | Affected | 31 May 2002 | 25 Jul 2002 |
| Small Wonders Software | Affected | 04 Mar 2003 | 04 Mar 2003 |
| Veritas SOFTWARE | Affected | 13 Feb 2003 | 20 May 2003 |
| Vigilante | Affected | 04 Mar 2003 | 20 May 2003 |
| Xerox Corporation | Affected | 13 Feb 2003 | 20 Feb 2003 |
| Netwiz Pty Ltd | Not Affected | 04 Mar 2003 | 13 Mar 2003 |
| Nortel Networks, Inc. | Not Affected | 03 Feb 2003 | 06 Feb 2003 |
| Affymetrix | Unknown | 04 Mar 2003 | 18 Mar 2003 |
| Baltimore Technologies plc | Unknown | 04 Mar 2003 | 17 Mar 2003 |
CVSS Metrics (Learn More)
| Group | Score | Vector |
|---|---|---|
| Base | N/A | N/A |
| Temporal | N/A | N/A |
| Environmental | N/A | N/A |
References
- CA-2003-04
- http://www.microsoft.com/technet/security/bulletin/MS02-039.asp
- http://www.microsoft.com/technet/security/MSDEapps.asp
- http://www.microsoft.com/technet/security/virus/alerts/slammer.asp
- http://support.microsoft.com/support/misc/kblookup.asp?id=Q323875
- http://www.microsoft.com/technet/prodtechnol/sql/maintain/security/sql2ksec.asp
- http://www.nextgenss.com/advisories/mssql-udp.txt
- http://www.nextgenss.com/vna/ms-sql.txt
- http://online.securityfocus.com/bid/5311
- http://www.cert.org/advisories/CA-2003-04.html
Credit
The CERT/CC thanks Microsoft for the information provided in their advisory and NGSSoftware for their discovery and analysis of this vulnerability.
This document was written by Jeffrey P. Lanza.
Other Information
- CVE IDs: CVE-2002-0649
- CERT Advisory: CA-2002-22
- Date Public: 24 Jul 2002
- Date First Published: 26 Jul 2002
- Date Last Updated: 08 May 2006
- Severity Metric: 43.28
- Document Revision: 65
Feedback
If you have feedback, comments, or additional information about this vulnerability, please send us email.