Microsoft SQL Server pre-authentication buffer overflow
| mssql-preauth-bo (9788) |
Description:
Microsoft SQL Server 2000 and Microsoft Desktop Engine (MSDE) 2000 are vulnerable to a buffer overflow. By sending malformed data to TCP port 1433, an unauthenticated remote attacker could overflow a buffer and possibly execute code on the server with SYSTEM level privileges.
Note: This vulnerability also affects Cisco CallManager, Cisco Unity, and Cisco Building Broadband Service Manager, which incorporate the use of either SQL Server 2000 or MSDE 2000.
Platforms Affected:
- Cisco, Building Broadband Service Manager 5.0
- Cisco, Building Broadband Service Manager 5.1
- Cisco, Unified CallManager 3.3
- Cisco, Unity Server 3.0
- Cisco, Unity Server 4.0
- Microsoft, SQL Server 2000
- Microsoft, Windows 2003 Server
Remedy:
Apply the appropriate patch for your system, as listed in Microsoft Security Bulletin MS02-056. See References.
For Microsoft SQL Server 2000:
Microsoft originally provided a patch for this vulnerability in MS02-056, but it was superseded by the patch released with MS02-061, and then superseded by the patch released with MS03-031.
For Cisco CallManager, Cisco Unity, and Cisco Building Broadband Service Manager: Refer to Cisco Security Advisory 2003 January 26 05:30 GMT for upgrade or patch information. See References.
Consequences:
Gain Access
References:
- BugTraq Mailing List, Mon Aug 05 2002 - 19:02:44 CDT , SPIKE 2.5 and associated vulns at http://archives.neohapsis.com/archives/bugtraq/2002-08/0009.html.
- BugTraq Mailing List, Wed Aug 07 2002 - 10:10:19 CDT , MS SQL Server Hello Overflow NASL script at http://archives.neohapsis.com/archives/bugtraq/2002-08/0031.html.
- CIAC Information Bulletin N-003, Microsoft Cumulative Patch for SQL Server at http://www.ciac.org/ciac/bulletins/n-003.shtml.
- cisco-sa-20030126-ms02-061, Cisco Security Advisory: Microsoft SQL Server 2000 Vulnerabilities in Cisco Products - MS02-061 at http://www.cisco.com/warp/public/707/cisco-sa-20030126-ms02-061.shtml.
- Microsoft Security Bulletin MS02-056, Cumulative Patch for SQL Server (Q316333) at http://www.microsoft.com/technet/security/bulletin/ms02-056.mspx.
- Microsoft Security Bulletin MS02-061, Elevation of Privilege in SQL Server Web Tasks (Q316333) at http://www.microsoft.com/technet/security/Bulletin/MS02-061.mspx.
- Microsoft Security Bulletin MS03-031, Cumulative Patch for Microsoft SQL Server (815495) at http://www.microsoft.com/technet/security/bulletin/ms03-031.mspx.
- SQLSecurity.com Web site, SQL Server/MSDE-Based Applications at http://www.sqlsecurity.com/FAQs/SQLServerMSDEBasedApplications/tabid/62/Default.aspx.
- BID-5411: Microsoft SQL Server User Authentication Remote Buffer Overflow Vulnerability
- CVE-2002-1123: Buffer overflow in the authentication function for Microsoft SQL Server 2000 and Microsoft Desktop Engine (MSDE) 2000 allows remote attackers to execute arbitrary code via a long request to TCP port 1433, aka the Hello overflow.
Reported:
Aug 05, 2002
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
