Microsoft Security Bulletin MS08-040 - Important
Vulnerabilities in Microsoft SQL Server Could Allow Elevation of Privilege (941203)
Published: | Updated:
Version: 1.9
General Information
Executive Summary
This security update resolves four privately disclosed vulnerabilities. The more serious of the vulnerabilities could allow an attacker to run code and to take complete control of an affected system. An authenticated attacker could then install programs; view, change, or delete data; or create new accounts with full administrative rights.
This security update is rated Important for supported releases of SQL Server 7.0, SQL Server 2000, SQL Server 2005, Microsoft Data Engine (MSDE) 1.0, Microsoft SQL Server 2000 Desktop Engine (MSDE 2000), Microsoft SQL Server 2005 Express Edition, Microsoft SQL Server 2000 Desktop Engine (WMSDE), and Windows Internal Database (WYukon). For more information, see the subsection, Affected and Non-Affected Software, in this section.
The security update addresses the vulnerabilities by modifying the way that SQL Server manages page reuse, allocating more memory for the convert function, validating on-disk files before loading them, and validating insert statements. For more information about the vulnerabilities, see the Frequently Asked Questions (FAQ) subsection for the specific vulnerability entry under the next section, Vulnerability Information.
Recommendation. Microsoft recommends that customers apply the update at the earliest opportunity.
Known Issues. Microsoft Knowledge Base Article 941203 documents the currently known issues that customers may experience when installing this security update. The article also documents recommended solutions for these issues. For more information about installing these updates, see the Frequently Asked Questions (FAQ) Related to This Security Update subsection, in this section.
Affected and Non-Affected Software
The following software have been tested to determine which versions or editions are affected. Other versions or editions are either past their support life cycle or are not affected. To determine the support life cycle for your software version or edition, visit Microsoft Support Lifecycle.
Depending on your software version or edition, you may need to choose between GDR and QFE software update links below in order to manually install your update from the Microsoft Download Center. For more information on determining which update to install on your system, see the Frequently Asked Questions (FAQ) Related to This Security Update subsection, in this section.
Affected Software
SQL Server
Windows Components
| Operating System | Component | Maximum Security Impact | Aggregate Severity Rating | Bulletins Replaced by this Update |
|---|---|---|---|---|
| Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2 | Microsoft SQL Server 2000 Desktop Engine (WMSDE) (KB948110) | Elevation of Privilege | Important | None |
| Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2 | Windows Internal Database (WYukon) Service Pack 2 (KB948109) | Elevation of Privilege | Important | None |
| Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2 | Microsoft SQL Server 2000 Desktop Engine (WMSDE) (KB948110) | Elevation of Privilege | Important | None |
| Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2 | Windows Internal Database (WYukon) x64 Edition Service Pack 2 (KB948109) | Elevation of Privilege | Important | None |
| Windows Server 2008 for 32-bit Systems* | Windows Internal Database (WYukon) Service Pack 2 (KB948109) | Elevation of Privilege | Important | None |
| Windows Server 2008 for x64-based Systems* | Windows Internal Database (WYukon) x64 Edition Service Pack 2 (KB948109) | Elevation of Privilege | Important | None |
*Windows Server 2008 server core installation affected. For supported editions of Windows Server 2008, this update applies, with the same severity rating, whether or not Windows Server 2008 was installed using the Server Core installation option. For more information on this installation option, see Server Core. Note that the Server Core installation option does not apply to certain editions of Windows Server 2008; see Compare Server Core Installation Options.
Non-Affected Software
| Software | Component |
|---|---|
| Application Center 2000 Service Pack 2 | Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) Service Pack 3a |
Frequently Asked Questions (FAQ) Related to This Security Update
Vulnerability Information
Severity Ratings and Vulnerability Identifiers
Memory Page Reuse Vulnerability - CVE-2008-0085
Convert Buffer Overrun - CVE-2008-0086
SQL Server Memory Corruption Vulnerability - CVE-2008-0107
SQL Server Buffer Overrun Vulnerability - CVE-2008-0106
Update Information
Detection and Deployment Tools and Guidance
Security Update Information
Other Information
Acknowledgments
Microsoft thanks the following for working with us to help protect customers:
- An anonymous finder for reporting the Memory Page Reuse Vulnerability (CVE-2008-0085).
- An anonymous finder for reporting the Convert Buffer Overrun Vulnerability (CVE-2008-0086).
- Brett Moore of Insomnia Security working with the iDefense VCP for reporting the SQL Server Memory Corruption Vulnerability (CVE-2008-0107).
- An anonymous finder for reporting the SQL Server Buffer Overrun Vulnerability (CVE-2008-0106).
Support
- Customers in the U.S. and Canada can receive technical support from Microsoft Product Support Services at 1-866-PCSAFETY. There is no charge for support calls that are associated with security updates.
- International customers can receive support from their local Microsoft subsidiaries. There is no charge for support that is associated with security updates. For more information about how to contact Microsoft for support issues, visit the International Support Web site.
Disclaimer
The information provided in the Microsoft Knowledge Base is provided "as is" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.
Revisions
- V1.0 (July 8, 2008): Bulletin published.
- V1.1 (July 9, 2008): Removed erroneous references to SQL Server 2005 Service Pack 1 in the MBSA and SMS Detection and Deployment tables. Also clarified permissions requirements for vulnerability mitigating factors.
- V1.2 (July 11, 2008): Added entry to the Frequently Asked Questions (FAQ) Related to This Security Update to communicate that the Known issues with this security update section in the associated Microsoft Knowledge Base Article 948110 has been updated.
- V1.3 (July 16, 2008): Updated the applicable software under the “Windows Server Update Services” heading in the section, Detection and Deployment Tools and Guidance.
- V1.4 (July 18, 2008): Corrected the list of valid product instance names in the Microsoft SQL Server 2000 Desktop Engine (WMSDE) subsection under the Security Update Information section. Also added entry to the Frequently Asked Questions (FAQ) Related to This Security Update to communicate a detection change in the way that Windows Server Update Services (WSUS) offers the update for Microsoft SQL Server 2000 Desktop Engine (WMSDE).
- V1.5 (July 23, 2008): Added removal information notes for Microsoft SQL Server 2000 Desktop Engine (WMSDE) and Windows Internal Database (WYukon) to clarify that removing this security update for WMSDE or WYukon will also completely remove the instance of WMSDE or WYukon from the system.
- V1.6 (August 12, 2008): Added entry to the Frequently Asked Questions (FAQ) Related to This Security Update to communicate a change in the installation code for the security update for SQL Server 2005 Service Pack 2. This is an installation code change only. There were no changes to the security update binaries.
- V1.7 (January 21, 2009): Listed Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) Service Pack 3a, a component of Application Center 2000 Service Pack 2, as non-affected software.
- V1.8 (February 11, 2009): Removed erroneous reference to Microsoft SQL Server 2000 Desktop Engine (WMSDE) on Microsoft Windows 2000 Service Pack 4 from the Affected Software table for Windows Components. Also changed the log file entry in the Reference table for Windows Internal Database (WYukon) in the Security Update Deployment section.
- V1.9 (March 18, 2009): Corrected product instance names from "ADMT" and "ADS" to "MS_ADMT" and "MicrosoftADS", respectively. These are instance names referenced in the Security Update Deployment section for the Microsoft SQL Server 2000 Desktop Engine (WMSDE). This is an informational change only that does not affect the files contained in the update. Customers who have successfully updated their systems do not need to reinstall this update.
