Microsoft recently released a cumulative security patch for SQL Server 2000 that includes the functionality of all previously released patches for SQL Server 2000 and additionally eliminates three newly discovered vulnerabilities affecting SQL Server 2000 and MSDE 2000. The vulnerabilities are:
- Unchecked Buffer in Password Encryption Procedure - A buffer overrun vulnerability in a procedure used to encrypt SQL Server credential information. An attacker who was able to successfully exploit this vulnerability could gain significant control over the database and possibly the server itself depending on the account SQL Server runs as.
- Unchecked Buffer in Bulk Insert Procedure - A buffer overrun vulnerability in a procedure that relates to the bulk inserting of data in SQL Server tables. An attacker who was able to successfully exploit this vulnerability could gain significant control over the database and possibly the server itself.
- Unchecked Buffer in Password Encryption Procedure - A privilege elevation vulnerability that results because of incorrect permissions on the Registry key that stores the SQL Server service account information. An attacker who was able to successfully exploit this vulnerability could gain greater privileges on the system than had been granted by the system administrator -- potentially even the same rights as the operating system.
The patch eliminates these vulnerabilities by 1) ensuring that the input buffer in the password encryption function is properly validated, 2) implementing proper checking of the input buffer in the bulk inserting procedure, and 3) changing the permissions on the Registry key to ensure that the SQL Server cannot change this setting.
Microsoft has issued a moderate severity rating for the patch. The patch can be installed on systems running SQL Server 2000 Service Pack 2, and the functionality included in the patch will be part of SQL Server 2000 Service Pack 3 when it's released. These vulnerabilities do not exist on SQL Server 7.0.
Additional information on the SQL Server Security Patch (and download links) can be found at:
See All Articles by Editor Forrest Stroud