Vulnerability  oval:org.mitre.oval:def:5984
GDI Integer Overflow Vulnerability  

Integer overflow in GDI in Microsoft Windows 2000 SP4, XP SP2 and SP3, Server 2003 SP1 and SP2, Vista Gold and SP1, and Server 2008 allows remote attackers to execute arbitrary code via a malformed header in a crafted WMF file, which triggers a buffer overflow, aka "GDI Integer Overflow Vulnerability."
Create Date: 2008-12-09 Last Update Date: 2011-11-03

Affected Platforms/Products

Affected Products (CPE + CVE references)
Platforms: windows (from OVAL definitions)
  • Microsoft Windows Server 2008
  • Microsoft Windows Vista
  • Microsoft Windows Server 2003
  • Microsoft Windows XP
  • Microsoft Windows 2000

References

Criteria

The system is vulnerable
IF : Any one of the following are true
IF : All of the following are true Check for Vulnerable Windows Vista(x86)/(x64)/Server 2008(x86)/(x64)/(ia-64) and gdi32.dll version
IF : Any one of the following are true Check for LDR/GDR
IF : gdi32.dll version is less than 6.0.6001.18159
Windows : File Test :  gdi32.dll version is less than 6.0.6001.18159 
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 NT\CurrentVersion : SystemRoot}}]]\System32\gdi32.dll
version less than 6.0.6001.18159 (datatype=version)
windows : file_state 
IF : All of the following are true Check for LDR
IF : Check if version of Gdi32.dll is less than 6.0.6001.22291
Windows : File Test :  Check if version of Gdi32.dll is less than 6.0.6001.22291 
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 NT\CurrentVersion : SystemRoot}}]]\System32\gdi32.dll
version less than 6.0.6001.22291 (datatype=version)
State matches if version is less than 6.0.6001.22291 windows : file_state 
IF : Check if version of Gdi32.dll is greater than or equal to 6.0.6001.22000
Windows : File Test :  Check if version of Gdi32.dll is greater than or equal to 6.0.6001.22000 
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 NT\CurrentVersion : SystemRoot}}]]\System32\gdi32.dll
version greater than or equal 6.0.6001.22000 (datatype=version)
State matches if version is greater than or equal to 6.0.6001.22000 windows : file_state 
IF : Any one of the following are true Check for Vulnerable Windows Vista(x86)/(x64)/Server 2008(x86)/(x64)/(ia-64)
Prerequisites (Extended Definitions)
Microsoft Windows Server 2008 (ia-64) is installed oval:org.mitre.oval:def:5667
Microsoft Windows Server 2008 (64-bit) is installed oval:org.mitre.oval:def:5356
Microsoft Windows Vista x64 Edition Service Pack 1 is installed oval:org.mitre.oval:def:5254
Microsoft Windows Server 2008 (32-bit) is installed oval:org.mitre.oval:def:4870
Microsoft Windows Vista (32-bit) Service Pack 1 is installed oval:org.mitre.oval:def:4873
IF : All of the following are true Check for vulnerable Windows Vista and gdi32.dll version
IF : Any one of the following are true Check for LDR/GDR
IF : Check if version of Gdi32.dll is less than 6.0.6000.16766
Windows : File Test :  Check if version of Gdi32.dll is less than 6.0.6000.16766 
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 NT\CurrentVersion : SystemRoot}}]]\System32\gdi32.dll
version less than 6.0.6000.16766 (datatype=version)
State matches if version is less than 6.0.6000.16766 windows : file_state 
IF : All of the following are true Check for LDR
IF : Check if version of Gdi32.dll is less than 6.0.6000.20940
Windows : File Test :  Check if version of Gdi32.dll is less than 6.0.6000.20940 
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 NT\CurrentVersion : SystemRoot}}]]\System32\gdi32.dll
version less than 6.0.6000.20940 (datatype=version)
State matches if version is less than 6.0.6000.20940 windows : file_state 
IF : Check if version of Gdi32.dll is greater than or equal to 6.0.6000.20000
Windows : File Test :  Check if version of Gdi32.dll is greater than or equal to 6.0.6000.20000 
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 NT\CurrentVersion : SystemRoot}}]]\System32\gdi32.dll
version greater than or equal 6.0.6000.20000 (datatype=version)
windows : file_state 
IF : Any one of the following are true Check for vulnerable Windows Vista
Prerequisites (Extended Definitions)
Microsoft Windows Vista x64 Edition is installed oval:org.mitre.oval:def:2041
Microsoft Windows Vista (32-bit) is installed oval:org.mitre.oval:def:1282
IF : All of the following are true Check for vulnerable Windows 2003 SP2(x86)/(x64)/(ia-64)/XP SP2(x64) and gdi32.dll version
IF : gdi32.dll version is less than 5.2.3790.4396
Windows : File Test :  gdi32.dll version is less than 5.2.3790.4396 
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 NT\CurrentVersion : SystemRoot}}]]\System32\gdi32.dll
version less than 5.2.3790.4396 (datatype=version)
windows : file_state 
IF : Any one of the following are true Check for vulnerable Windows 2003 SP2(x86)/(x64)/(ia-64)/XP SP2(x64)
Prerequisites (Extended Definitions)
Microsoft Windows XP x64 Edition SP2 is installed oval:org.mitre.oval:def:4193
Microsoft Windows Server 2003 SP2 (x86) is installed oval:org.mitre.oval:def:1935
Microsoft Windows Server 2003 (ia64) SP2 is installed oval:org.mitre.oval:def:1442
Microsoft Windows Server 2003 SP2 (x64) is installed oval:org.mitre.oval:def:2161
IF : All of the following are true Check for vulnerable Windows SP4 and gdi32.dll version
Prerequisites (Extended Definitions)
Microsoft Windows 2000 SP4 or later is installed oval:org.mitre.oval:def:229
IF : gdi32.dll version is less than 5.0.2195.7205
Windows : File Test :  gdi32.dll version is less than 5.0.2195.7205 
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 NT\CurrentVersion : SystemRoot}}]]\System32\gdi32.dll
version less than 5.0.2195.7205 (datatype=version)
windows : file_state 
IF : All of the following are true Check for vulnerable Windows XP SP2(x86) and gdi32.dll version
Prerequisites (Extended Definitions)
Microsoft Windows XP (x86) SP2 is installed oval:org.mitre.oval:def:754
IF : gdi32.dll version is less than 5.1.2600.3466
Windows : File Test :  gdi32.dll version is less than 5.1.2600.3466 
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 NT\CurrentVersion : SystemRoot}}]]\System32\gdi32.dll
version less than 5.1.2600.3466 (datatype=version)
windows : file_state 
IF : All of the following are true Check for vulnerable Windows XP SP3(x86) and gdi32.dll version
Prerequisites (Extended Definitions)
Microsoft Windows XP (x86) SP3 is installed oval:org.mitre.oval:def:5631
IF : gdi32.dll version is less than 5.1.2600.5698
Windows : File Test :  gdi32.dll version is less than 5.1.2600.5698 
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 NT\CurrentVersion : SystemRoot}}]]\System32\gdi32.dll
version less than 5.1.2600.5698 (datatype=version)
windows : file_state 
IF : All of the following are true Check for vulnerable Windows 2003 SP1(x86)/(x64)/(ia-64)/XP SP1(x64) and gdi32.dll version
IF : gdi32.dll version is less than 5.2.3790.3233
Windows : File Test :  gdi32.dll version is less than 5.2.3790.3233 
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 NT\CurrentVersion : SystemRoot}}]]\System32\gdi32.dll
version less than 5.2.3790.3233 (datatype=version)
windows : file_state 
IF : Any one of the following are true Check for vulnerable Windows 2003 SP1(x86)/(x64)/(ia-64)/XP SP1(x64)
Prerequisites (Extended Definitions)
Microsoft Windows Server 2003 SP1 (x86) is installed oval:org.mitre.oval:def:565
Microsoft Windows Server 2003 SP1 for Itanium is installed oval:org.mitre.oval:def:1205
Microsoft Windows XP Professional x64 Edition SP1 is installed oval:org.mitre.oval:def:720
Microsoft Windows Server 2003 SP1 (x64) is installed oval:org.mitre.oval:def:4386

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