Microsoft SQL Server cached connections could allow an attacker to gain access to the database
| mssql-cached-connection-access (6684) |
Description:
Microsoft SQL Server could allow an attacker to gain unauthorized administrative access to the database. This vulnerability exists because client connections are cached for a short period of time after they have been terminated. If the SQL Server database is configured to use the Mixed Mode for authenticating users, the attacker could reuse the database administrator's cached connection to gain full administrative privileges over the database.
Platforms Affected:
- Microsoft, SQL Server 2000
- Microsoft, SQL Server 7.0
Remedy:
Apply the appropriate patch for your system, as listed in Microsoft Security Bulletin. See References.
For Microsoft SQL Server 7.0:
Microsoft originally provided a patch for this vulnerability in MS01-032, MS01-060, MS02-007, MS02-020, MS02-043, MS02-056, and MS02-061, but they were superseded by the patch released with MS03-031.
For Microsoft SQL Server 2000:
Microsoft originally provided a patch for this vulnerability in MS01-032, MS01-060, MS02-007, MS02-020, MS02-034, MS02-038, MS02-039, MS02-043, MS02-056, and MS02-061, but they were superseded by the patch released with MS03-031.
Consequences:
Gain Access
References:
- CIAC Information Bulletin L-095, Microsoft SQL Query Method Vulnerability at http://www.ciac.org/ciac/bulletins/l-095.shtml.
- Microsoft Security Bulletin MS01-032, SQL Query Method Enables Cached Administrator Connection to be Reused at http://www.microsoft.com/technet/security/bulletin/ms01-032.mspx.
- Microsoft Security Bulletin MS01-060, SQL Server Text Formatting Functions Contain Unchecked Buffers at http://www.microsoft.com/technet/security/bulletin/ms01-060.mspx.
- Microsoft Security Bulletin MS02-007, SQL Server Remote Data Source Function Contain Unchecked Buffers at http://www.microsoft.com/technet/security/bulletin/ms02-007.mspx.
- Microsoft Security Bulletin MS02-020, SQL Extended Procedure Functions Contain Unchecked Buffers (Q319507) at http://www.microsoft.com/technet/security/bulletin/MS02-020.mspx.
- Microsoft Security Bulletin MS02-034, Cumulative Patch for SQL Server (Q316333) at http://www.microsoft.com/technet/security/bulletin/MS02-034.mspx.
- Microsoft Security Bulletin MS02-038, Unchecked Buffer in SQL Server 2000 Utilities Could Allow Code Execution (Q316333) at http://www.microsoft.com/technet/security/bulletin/MS02-038.mspx.
- Microsoft Security Bulletin MS02-039, Buffer Overruns in SQL Server 2000 Resolution Service Could Enable Code Execution (Q323875) at http://www.microsoft.com/technet/security/bulletin/MS02-039.mspx.
- Microsoft Security Bulletin MS02-043, Cumulative Patch for SQL Server (Q316333) at http://www.microsoft.com/technet/security/bulletin/MS02-043.mspx.
- 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.
- BID-2863: Microsoft SQL Server Administrator Cached Connection Vulnerability
- CVE-2001-0344: An SQL query method in Microsoft SQL Server 2000 Gold and 7.0 using Mixed Mode allows local database users to gain privileges by reusing a cached connection of the sa administrator account.
Reported:
Jun 12, 2001
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
