Vulnerability Note VU#370308

Microsoft SQL Server 2000 contains denial-of-service vulnerability in SQL Server Resolution Service

Original Release date: 26 Jul 2002 | Last revised: 05 Feb 2003

Overview

Microsoft SQL Server 2000 contains a vulnerability that allows remote attackers to create a denial-of-service condition between two Microsoft SQL servers.

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 address and port number of the SQL server instance that provides access to the requested database.

In addition to providing referrals, the SSRS is capable of replying to "ping" messages from other SQL servers to confirm its presence on a network. When the service receives such a message, it replies to the transmitting host with an identical reply message. In normal operation, the SSRS service is responsible for replying to ping messages sent by an SQL Server and does not initiate them. However, an attacker can create a forged ping message to one instance of the SSRS (Victim A, port 1434) that appears to originate from another instance (Victim B, port 1434), causing Victim A and Victim B to continuously exchange messages. This cycle will continue to consume server and network resources until one of the servers stops sending packets for one of several reasons, including a restart of the SQL Server, a reboot of the server host, or a network failure.

Impact

This vulnerability allows remote attackers to initiate a denial-of-service attack between two Microsoft SQL servers.

Solution

Apply a patch

This vulnerability was originally addressed by Microsoft in Security Bulletin MS02-039. In January 2003, Microsoft updated MS02-039 to recommend that customers apply the patch from Microsoft Security Bulletin MS02-061, which addresses additional vulnerabilities. For more information, please see


This vulnerability also affects any products that include the Microsoft Desktop Engine (MSDE) 2000. For more information, please see

Block port 1434/udp

As a workaround, system administrators can use a firewall to block port 1434/udp at an appropriate network border, thus preventing external attackers from exploiting this vulnerability.

Systems Affected (Learn More)

VendorStatusDate NotifiedDate Updated
Cisco Systems Inc.Affected26 Jan 200327 Jan 2003
Microsoft CorporationAffected25 Jul 200225 Jul 2002
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A N/A

References

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: CAN-2002-0650
  • Date Public: 24 Jul 2002
  • Date First Published: 26 Jul 2002
  • Date Last Updated: 05 Feb 2003
  • Severity Metric: 5.32
  • Document Revision: 46

Feedback

If you have feedback, comments, or additional information about this vulnerability, please send us email.