Vulnerabilities > CVE-2002-0649 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Microsoft Data Engine and SQL Server
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Multiple buffer overflows in the Resolution Service for Microsoft SQL Server 2000 and Microsoft Desktop Engine 2000 (MSDE) allow remote attackers to cause a denial of service or execute arbitrary code via UDP packets to port 1434 in which (1) a 0x04 byte that causes the SQL Monitor thread to generate a long registry key name, or (2) a 0x08 byte with a long string causes heap corruption, as exploited by the Slammer/Sapphire worm.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 4 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Exploit-Db
description Microsoft SQL Server 2000 Resolution Service Heap Overflow Vulnerability. CVE-2002-0649. Remote exploit for windows platform id EDB-ID:21652 last seen 2016-02-02 modified 2002-07-25 published 2002-07-25 reporter David Litchfield source https://www.exploit-db.com/download/21652/ title Microsoft SQL Server 2000 Resolution Service Heap Overflow Vulnerability description Microsoft SQL Server Resolution Overflow. CVE-2002-0649. Remote exploit for windows platform id EDB-ID:16393 last seen 2016-02-01 modified 2010-04-30 published 2010-04-30 reporter metasploit source https://www.exploit-db.com/download/16393/ title Microsoft SQL Server Resolution Overflow
Metasploit
description | This is an exploit for the SQL Server 2000 resolution service buffer overflow. This overflow is triggered by sending a udp packet to port 1434 which starts with 0x04 and is followed by long string terminating with a colon and a number. This module should work against any vulnerable SQL Server 2000 or MSDE install (pre-SP3). |
id | MSF:EXPLOIT/WINDOWS/MSSQL/MS02_039_SLAMMER |
last seen | 2019-09-27 |
modified | 2017-07-24 |
published | 2005-11-26 |
references | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-0649 |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/mssql/ms02_039_slammer.rb |
title | MS02-039 Microsoft SQL Server Resolution Overflow |
Nessus
NASL family | Databases |
NASL id | MSSQL_LITCHFIELD_OVERFLOWS.NASL |
description | The remote MS SQL server is affected by several overflows that could be exploited by an attacker to gain SYSTEM access on that host. Note that a worm (sapphire) is exploiting these vulnerabilities in the wild. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 11214 |
published | 2003-01-25 |
reporter | This script is Copyright (C) 2003-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/11214 |
title | MS02-061: Microsoft SQL Server Multiple Vulnerabilities (uncredentialed check) |
code |
|
Oval
accepted | 2014-06-23T04:00:09.891-04:00 | ||||||||||||||||||||
class | vulnerability | ||||||||||||||||||||
contributors |
| ||||||||||||||||||||
description | Multiple buffer overflows in the Resolution Service for Microsoft SQL Server 2000 and Microsoft Desktop Engine 2000 (MSDE) allow remote attackers to cause a denial of service or execute arbitrary code via UDP packets to port 1434 in which (1) a 0x04 byte that causes the SQL Monitor thread to generate a long registry key name, or (2) a 0x08 byte with a long string causes heap corruption, as exploited by the Slammer/Sapphire worm. | ||||||||||||||||||||
family | windows | ||||||||||||||||||||
id | oval:org.mitre.oval:def:1077 | ||||||||||||||||||||
status | accepted | ||||||||||||||||||||
submitted | 2004-06-15T12:00:00.000-04:00 | ||||||||||||||||||||
title | MS SQL Server 2000 Resolution Service Buffer Overflow | ||||||||||||||||||||
version | 6 |
Packetstorm
data source | https://packetstormsecurity.com/files/download/82929/ms02_039_slammer.rb.txt |
id | PACKETSTORM:82929 |
last seen | 2016-12-05 |
published | 2009-10-30 |
reporter | H D Moore |
source | https://packetstormsecurity.com/files/82929/Microsoft-SQL-Server-Resolution-Overflow.html |
title | Microsoft SQL Server Resolution Overflow |
Saint
bid | 5310 |
description | Microsoft SQL Server 2000 resolution service buffer overflow |
id | database_mssql_res |
osvdb | 4577 |
title | ms_sql_server_resolution_service |
type | remote |
References
- http://marc.info/?l=bugtraq&m=102760196931518&w=2
- http://marc.info/?l=bugtraq&m=102760196931518&w=2
- http://marc.info/?l=ntbugtraq&m=102760479902411&w=2
- http://marc.info/?l=ntbugtraq&m=102760479902411&w=2
- http://secunia.com/advisories/7945
- http://secunia.com/advisories/7945
- http://www.cert.org/advisories/CA-2002-22.html
- http://www.cert.org/advisories/CA-2002-22.html
- http://www.cert.org/advisories/CA-2003-04.html
- http://www.cert.org/advisories/CA-2003-04.html
- http://www.kb.cert.org/vuls/id/399260
- http://www.kb.cert.org/vuls/id/399260
- http://www.kb.cert.org/vuls/id/484891
- http://www.kb.cert.org/vuls/id/484891
- http://www.securityfocus.com/archive/1/308306/30/26180/threaded
- http://www.securityfocus.com/archive/1/308306/30/26180/threaded
- http://www.securityfocus.com/archive/1/308321/30/26180/threaded
- http://www.securityfocus.com/archive/1/308321/30/26180/threaded
- http://www.securityfocus.com/archive/1/308324/30/26180/threaded
- http://www.securityfocus.com/archive/1/308324/30/26180/threaded
- http://www.securityfocus.com/archive/1/308388/30/26180/threaded
- http://www.securityfocus.com/archive/1/308388/30/26180/threaded
- http://www.securityfocus.com/archive/1/308393/30/26180/threaded
- http://www.securityfocus.com/archive/1/308393/30/26180/threaded
- http://www.securityfocus.com/archive/1/308396/30/26150/threaded
- http://www.securityfocus.com/archive/1/308396/30/26150/threaded
- http://www.securityfocus.com/archive/1/308418/30/26150/threaded
- http://www.securityfocus.com/archive/1/308418/30/26150/threaded
- http://www.securityfocus.com/archive/1/308419/30/26150/threaded
- http://www.securityfocus.com/archive/1/308419/30/26150/threaded
- http://www.securityfocus.com/archive/1/308760/30/26120/threaded
- http://www.securityfocus.com/archive/1/308760/30/26120/threaded
- http://www.securityfocus.com/archive/1/308806/30/26120/threaded
- http://www.securityfocus.com/archive/1/308806/30/26120/threaded
- http://www.securityfocus.com/archive/1/309096/30/26120/threaded
- http://www.securityfocus.com/archive/1/309096/30/26120/threaded
- http://www.securityfocus.com/archive/1/309324/30/26120/threaded
- http://www.securityfocus.com/archive/1/309324/30/26120/threaded
- http://www.securityfocus.com/archive/1/309776/30/26090/threaded
- http://www.securityfocus.com/archive/1/309776/30/26090/threaded
- http://www.securityfocus.com/bid/5310
- http://www.securityfocus.com/bid/5310
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2002/ms02-039
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2002/ms02-039
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1077
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1077