Microsoft SQL Server Database Consistency Checker (DBCC) buffer overflow
| mssql-dbcc-bo-variant (10255) |
Description:
Microsoft SQL Server 2000, Microsoft Desktop Engine (MSDE) 2000, Microsoft SQL Server 7.0, and Microsoft Data Engine (MSDE) 1.0 are vulnerable to several buffer overflows in multiple Database Consistency Checker (DBCC) utilities. Database Consistency Checkers are tools that allow administrators to easily perform common maintenance tasks on databases. Several DBCC utilities fail to properly validate user-supplied input. A remote attacker with any SQL Server privileges could exploit this vulnerability by supplying a malformed parameter to one of the affected DBCC utilities, which would overflow a buffer, causing the SQL Server service to crash or allowing the attacker to execute code with elevated privileges.
Note: This is a new variant of a vulnerability previously discussed in Microsoft Security Bulletin MS02-038. See References.
Note: This vulnerability also affects Cisco CallManager version 3.3(x), Cisco Unity versions 3.x and 4.x, and Cisco Building Broadband Service Manager versions 5.0 and 5.1, which incorporate the use of either SQL Server 2000 or MSDE 2000.
Consequences:
Gain Access
Remedy:
Apply the appropriate patch for your system, as listed in Microsoft Security Bulletin MS03-018. See References.
Note: Microsoft originally provided a patch for this vulnerability in MS02-038, but it was superseded by the patch released with MS02-056 and MS02-062, and then superseded by the patch released with MS03-018.
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.
References:
- CIAC Information Bulletin N-003: Microsoft Cumulative Patch for SQL Server.
- cisco-sa-20030126-ms02-061: Cisco Security Advisory: Microsoft SQL Server 2000 Vulnerabilities in Cisco Products - MS02-061.
- Microsoft Security Bulletin MS02-038: Unchecked Buffer in SQL Server 2000 Utilities Could Allow Code Execution (Q316333).
- Microsoft Security Bulletin MS02-056: Cumulative Patch for SQL Server (Q316333).
- Microsoft Security Bulletin MS02-061: Elevation of Privilege in SQL Server Web Tasks (Q316333).
- Microsoft Security Bulletin MS03-018: Cumulative Patch for Internet Information Service (811114).
- SQLSecurity.com Web site: SQL Server/MSDE-Based Applications.
- BID-5877: Microsoft SQL Server 7.0/2000 DBCC Buffer Overflow Vulnerability
- CVE-2002-1137: Buffer overflow in the Database Console Command (DBCC) that handles user inputs in Microsoft SQL Server 7.0 and 2000, including Microsoft Data Engine (MSDE) 1.0 and Microsoft Desktop Engine (MSDE) 2000, allows attackers to execute arbitrary code via a long SourceDB argument in a non-SQL OLEDB data source such as FoxPro, a variant of CAN-2002-0644.
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 Data Engine 1.0
- Microsoft Data Engine 2000
- Microsoft SQL Server 2000
- Microsoft SQL Server 7.0
Reported:
Oct 02, 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 (IBM 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.
For corrections or additions please email xforce@iss.net
