Vulnerability  oval:org.mitre.oval:def:13936
Memory Corruption Vulnerability in SQL Server  

Integer underflow in SQL Server 7.0 SP4, 2000 SP4, 2005 SP1 and SP2, 2000 Desktop Engine (MSDE 2000) SP4, 2005 Express Edition SP1 and SP2, and 2000 Desktop Engine (WMSDE); Microsoft Data Engine (MSDE) 1.0 SP4; and Internal Database (WYukon) SP2 allows remote authenticated users to execute arbitrary code via a (1) SMB or (2) WebDAV pathname for an on-disk file (aka stored backup file) with a crafted record size value, which triggers a heap-based buffer overflow, aka "SQL Server Memory Corruption Vulnerability."
Create Date: 2011-11-15 Last Update Date: 2013-10-07

Affected Platforms/Products

Affected Products (CPE + CVE references)
Platforms: windows (from OVAL definitions) Products: windows
  • Microsoft Windows Server 2008
  • Microsoft Windows 2000
  • Microsoft Windows Server 2003
  • Windows Internal Database (WYukon)
  • Microsoft SQL Server 2000 Desktop Engine (WMSDE)
  • Microsoft SQL Server 2005
  • Microsoft SQL Server 2000

References

Criteria

The system is vulnerable
IF : Any one of the following are true
IF : Any one of the following are true SQL Server 2005 SP2 - QFE
IF : All of the following are true Check for SQL server 2005 SP2 and Vulnerable msdtssrvr.exe
Prerequisites (Extended Definitions)
Microsoft SQL Server 2005 is installed oval:org.mitre.oval:def:6082
IF : The version of Msdtssrvr.exe is greater than or equal to 9.0.3150.0
Windows : File Test :  The version of Msdtssrvr.exe is greater than or equal to 9.0.3150.0 
At least one of the objects listed below must exist on the system (Existence check)
Windows : File 
[[value of ${{windows:registry_object:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\90\DTS\Setup : SQLPath}}]]\Binn\msdtssrvr.exe
version greater than or equal 9.0.3150.0 (datatype=version)
windows : file_state 
IF : Check if version of Msdtssrvr.exe is less than 9.0.3233.0
Windows : File Test :  Check if version of Msdtssrvr.exe is less than 9.0.3233.0 
At least one of the objects listed below must exist on the system (Existence check)
Windows : File 
[[value of ${{windows:registry_object:HKEY_LOCAL_MACHINE\^SOFTWARE\\Microsoft\\Microsoft SQL Server\\.*\\Setup$ : SQLPath}}]]\Binn\sqlservr.exe
version less than 9.0.3233.0 (datatype=version)
State matches if version is less than 9.0.3233.0 windows : file_state 
IF : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\90\DTS\Setup\\SP equals 2
Windows : Registry Test :  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\90\DTS\Setup\\SP equals 2 
At least one of the objects listed below must exist on the system (Existence check)
Windows : Registry Object 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\90\DTS\Setup : SP
value (equals) 2 (datatype=int)
windows : registry_state 
IF : All of the following are true Check for SQL server 2005 SP2 and Vulnerable sqlservr.exe
Prerequisites (Extended Definitions)
Microsoft SQL Server 2005 SP2 is installed oval:org.mitre.oval:def:8397
IF : Check if version of Sqlservr.exe is less than 2005.90.3233.0
Windows : File Test :  Check if version of Sqlservr.exe is less than 2005.90.3233.0 
At least one of the objects listed below must exist on the system (Existence check)
Windows : File 
[[value of ${{windows:registry_object:HKEY_LOCAL_MACHINE\^SOFTWARE\\Microsoft\\Microsoft SQL Server\\.*\\Setup$ : SQLPath}}]]\Binn\sqlservr.exe
version less than 2005.90.3233.0 (datatype=version)
State matches if version is less than 2005.90.3233.0 windows : file_state 
IF : the version of sqlservr.exe is greater than or equal to 2005.90.3150.0
Windows : File Test :  the version of sqlservr.exe is greater than or equal to 2005.90.3150.0 
At least one of the objects listed below must exist on the system (Existence check)
Windows : File 
[[value of ${{windows:registry_object:HKEY_LOCAL_MACHINE\^SOFTWARE\\Microsoft\\Microsoft SQL Server\\.*\\Setup$ : SQLPath}}]]\Binn\sqlservr.exe
version greater than or equal 2005.90.3150.0 (datatype=version)
windows : file_state 
IF : Any one of the following are true SQL Server 2005 SP2 - GDR
IF : All of the following are true Check for SQL server 2005 SP2 and Vulnerable msdtssrvr.exe
Prerequisites (Extended Definitions)
Microsoft SQL Server 2005 is installed oval:org.mitre.oval:def:6082
IF : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\90\DTS\Setup\\SP equals 2
Windows : Registry Test :  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\90\DTS\Setup\\SP equals 2 
At least one of the objects listed below must exist on the system (Existence check)
Windows : Registry Object 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\90\DTS\Setup : SP
value (equals) 2 (datatype=int)
windows : registry_state 
IF : The version of Msdtssrvr.exe is greater than or equal to 9.0.3042.0
Windows : File Test :  The version of Msdtssrvr.exe is greater than or equal to 9.0.3042.0 
At least one of the objects listed below must exist on the system (Existence check)
Windows : File 
[[value of ${{windows:registry_object:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\90\DTS\Setup : SQLPath}}]]\Binn\msdtssrvr.exe
version greater than or equal 9.0.3042.0 (datatype=version)
windows : file_state 
IF : Check if version of Msdtssrvr.exe is less than 9.0.3068.0
Windows : File Test :  Check if version of Msdtssrvr.exe is less than 9.0.3068.0 
At least one of the objects listed below must exist on the system (Existence check)
Windows : File 
[[value of ${{windows:registry_object:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\90\DTS\Setup : SQLPath}}]]\Binn\msdtssrvr.exe
version less than 9.0.3068.0 (datatype=version)
State matches if version is less than 9.0.3068.0 windows : file_state 
IF : All of the following are true Check for SQL server 2005 SP2 and Vulnerable sqlservr.exe
Prerequisites (Extended Definitions)
Microsoft SQL Server 2005 SP2 is installed oval:org.mitre.oval:def:8397
IF : the version of sqlservr.exe is greater than or equal to 2005.90.3042.0
Windows : File Test :  the version of sqlservr.exe is greater than or equal to 2005.90.3042.0 
At least one of the objects listed below must exist on the system (Existence check)
Windows : File 
[[value of ${{windows:registry_object:HKEY_LOCAL_MACHINE\^SOFTWARE\\Microsoft\\Microsoft SQL Server\\.*\\Setup$ : SQLPath}}]]\Binn\sqlservr.exe
version greater than or equal 2005.90.3042.0 (datatype=version)
windows : file_state 
IF : Check if version of Sqlservr.exe is less than 2005.90.3068.0
Windows : File Test :  Check if version of Sqlservr.exe is less than 2005.90.3068.0 
At least one of the objects listed below must exist on the system (Existence check)
Windows : File 
[[value of ${{windows:registry_object:HKEY_LOCAL_MACHINE\^SOFTWARE\\Microsoft\\Microsoft SQL Server\\.*\\Setup$ : SQLPath}}]]\Binn\sqlservr.exe
version less than 2005.90.3068.0 (datatype=version)
State matches if version is less than 2005.90.3068.0 windows : file_state 
IF : All of the following are true SQL Server 2000 SP4 - GDR
IF : SQL Server 2000 is installed
Windows : Registry Test :  SQL Server 2000 is installed 
At least one of the objects listed below must exist on the system (Existence check)
Windows : Registry Object 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\CurrentVersion : CurrentVersion
value (equals) 8.00.194
windows : registry_state 
IF : SQL Server 2000 GDR - the version of sqlservr.exe is greater than 2000.80.2000.0
Windows : File Test :  SQL Server 2000 GDR - the version of sqlservr.exe is greater than 2000.80.2000.0 
At least one of the objects listed below must exist on the system (Existence check)
Windows : File 
[[value of ${{windows:registry_object:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\sqlservr.exe : Path}}]]\sqlservr.exe
version greater than 2000.80.2000.0 (datatype=version)
windows : file_state 
IF : Check if version of Sqlservr.exe is less than 2000.80.2050.0
Windows : File Test :  Check if version of Sqlservr.exe is less than 2000.80.2050.0 
At least one of the objects listed below must exist on the system (Existence check)
Windows : File 
[[value of ${{windows:registry_object:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\sqlservr.exe : Path}}]]\sqlservr.exe
version less than 2000.80.2050.0 (datatype=version)
State matches if version is less than 2000.80.2050.0 windows : file_state 
IF : All of the following are true SQL Server 2000 SP4- QFE
IF : Check if version of Sqlservr.exe is less than 2000.80.2273.0
Windows : File Test :  Check if version of Sqlservr.exe is less than 2000.80.2273.0 
At least one of the objects listed below must exist on the system (Existence check)
Windows : File 
[[value of ${{windows:registry_object:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\sqlservr.exe : Path}}]]\sqlservr.exe
version less than 2000.80.2273.0 (datatype=version)
State matches if version is less than 2000.80.2273.0 windows : file_state 
IF : SQL Server 2000 is installed
Windows : Registry Test :  SQL Server 2000 is installed 
At least one of the objects listed below must exist on the system (Existence check)
Windows : Registry Object 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\CurrentVersion : CurrentVersion
value (equals) 8.00.194
windows : registry_state 
IF : SQL Server 2000 QFE - the version of sqlservr.exe is greater than 2000.80.2000.0
Windows : File Test :  SQL Server 2000 QFE - the version of sqlservr.exe is greater than 2000.80.2000.0 
At least one of the objects listed below must exist on the system (Existence check)
Windows : File 
[[value of ${{windows:registry_object:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\sqlservr.exe : Path}}]]\sqlservr.exe
version greater than 2000.80.2000.0 (datatype=version)
windows : file_state 

Quick Help

References To Objects
[[ .. ${{...}}]] are refences to values of other objects.
Other Help Topics
Data Types
What is an Object?
What is a State?
What is a Test?
Other Help Topics
Regular Expression Patterns
Some object or state definitions are defined as regular expression patterns, you should interpret the regexp pattern while evaluating them.

OVAL Definitions By Referenced Objects

How does it work?   User agreement and privacy statement   About & Contact
CVE is a registred trademark of the MITRE Corporation and the authoritive source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritive source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritive source of OVAL content is MITRE's OVAL web site.
Warning: This site and all data are provided as is. It is not guaranteed that all information is accurate and complete. Use any information provided on this site at your own risk. By using this site you accept that you know that these data are provided as is and not guaranteed to be accurate, correct or complete. All trademarks appearing on this site are the property of their respective owners in the US or other countries. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss. PLEASE SEE nvd.nist.gov and oval.mitre.org for more details about OVAL language and definitions.
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/web site owner/maintainer be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Use of OVAL and all related data is subject to terms of use defined by Mitre at http://oval.mitre.org/oval/about/termsofuse.html