Microsoft Windows Graphics Rendering Engine WMF Format Code Execution Vulnerability
BID:15356
Info
Microsoft Windows Graphics Rendering Engine WMF Format Code Execution Vulnerability
| Bugtraq ID: | 15356 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-2005-2124 |
| Remote: | Yes |
| Local: | Yes |
| Published: | Nov 08 2005 12:00AM |
| Updated: | Jul 12 2009 05:56PM |
| Credit: | Discovery is credited to Venustech AdDLab, Fang Xing of eEye Digital Security, and Peter Ferrie of Symantec Security Response. |
| Vulnerable: |
Microsoft Windows XP Tablet PC Edition SP1 Microsoft Windows XP Tablet PC Edition Microsoft Windows XP Professional SP1 Microsoft Windows XP Professional Microsoft Windows XP Media Center Edition SP1 Microsoft Windows XP Media Center Edition Microsoft Windows XP Home SP1 Microsoft Windows XP Home Microsoft Windows XP 64-bit Edition SP1 Microsoft Windows XP 64-bit Edition Microsoft Windows Server 2003 Web Edition Microsoft Windows Server 2003 Standard x64 Edition Microsoft Windows Server 2003 Standard Edition Microsoft Windows Server 2003 Enterprise x64 Edition Microsoft Windows Server 2003 Enterprise Edition Itanium 0 Microsoft Windows Server 2003 Enterprise Edition SP1 Microsoft Windows Server 2003 Enterprise Edition Microsoft Windows Server 2003 Datacenter x64 Edition Microsoft Windows Server 2003 Datacenter Edition Itanium SP1 Microsoft Windows Server 2003 Datacenter Edition Itanium 0 Microsoft Windows Server 2003 Datacenter Edition Microsoft Windows 2000 Server SP4 Microsoft Windows 2000 Server SP3 Microsoft Windows 2000 Server SP2 Microsoft Windows 2000 Server SP1 Microsoft Windows 2000 Server Microsoft Windows 2000 Professional SP4 Microsoft Windows 2000 Professional SP3 Microsoft Windows 2000 Professional SP2 Microsoft Windows 2000 Professional SP1 Microsoft Windows 2000 Professional Microsoft Windows 2000 Datacenter Server SP4 Microsoft Windows 2000 Datacenter Server SP3 Microsoft Windows 2000 Datacenter Server SP2 Microsoft Windows 2000 Datacenter Server SP1 Microsoft Windows 2000 Datacenter Server Microsoft Windows 2000 Advanced Server SP4 Microsoft Windows 2000 Advanced Server SP3 Microsoft Windows 2000 Advanced Server SP2 Microsoft Windows 2000 Advanced Server SP1 Microsoft Windows 2000 Advanced Server Avaya Unified Communications Center S3400 Avaya S8100 Media Servers R9 Avaya S8100 Media Servers R8 Avaya S8100 Media Servers R7 Avaya S8100 Media Servers R6 Avaya S8100 Media Servers R12 Avaya S8100 Media Servers R11 Avaya S8100 Media Servers R10 Avaya S8100 Media Servers 0 Avaya Modular Messaging (MAS) Avaya IP600 Media Servers R9 Avaya IP600 Media Servers R8 Avaya IP600 Media Servers R7 Avaya IP600 Media Servers R6 Avaya IP600 Media Servers R12 Avaya IP600 Media Servers R11 Avaya IP600 Media Servers R10 Avaya IP600 Media Servers Avaya DefinityOne Media Servers R9 Avaya DefinityOne Media Servers R8 Avaya DefinityOne Media Servers R7 Avaya DefinityOne Media Servers R6 Avaya DefinityOne Media Servers R12 Avaya DefinityOne Media Servers R11 Avaya DefinityOne Media Servers R10 Avaya DefinityOne Media Servers |
| Not Vulnerable: |
Microsoft Windows XP Tablet PC Edition SP2 Microsoft Windows XP Professional SP2 Microsoft Windows XP Media Center Edition SP2 Microsoft Windows XP Home SP2 Microsoft Windows Server 2003 Web Edition SP1 Microsoft Windows Server 2003 Standard Edition SP1 Microsoft Windows Server 2003 Enterprise Edition SP1 Microsoft Windows Server 2003 Datacenter Edition SP1 |
Discussion
Microsoft Windows Graphics Rendering Engine WMF Format Code Execution Vulnerability
Microsoft Windows WMF graphics rendering engine is affected by a remote code execution vulnerability.
The problem presents itself when a user views a malicious WMF formatted file, triggering the vulnerability when the engine attempts to parse the file. A malicious file can cause an integer overflow that may facilitate heap memory corruption and arbitrary code execution.
Any code execution that occurs will be with SYSTEM privileges due to the nature of the affected engine. Successful exploitation can facilitate a remote compromise or local privilege escalation.
Microsoft Windows WMF graphics rendering engine is affected by a remote code execution vulnerability.
The problem presents itself when a user views a malicious WMF formatted file, triggering the vulnerability when the engine attempts to parse the file. A malicious file can cause an integer overflow that may facilitate heap memory corruption and arbitrary code execution.
Any code execution that occurs will be with SYSTEM privileges due to the nature of the affected engine. Successful exploitation can facilitate a remote compromise or local privilege escalation.
Exploit / POC
Microsoft Windows Graphics Rendering Engine WMF Format Code Execution Vulnerability
The following proof of concept code will cause a denial of service:
The following proof of concept code will cause a denial of service:
Solution / Fix
Microsoft Windows Graphics Rendering Engine WMF Format Code Execution Vulnerability
Solution:
Microsoft has released a bulletin that includes fixes to address this issue for supported versions of the operating system.
Avaya advisory ASA-2005-228 has been released to identify vulnerable Avaya packages. Avaya recommends customers to apply fixes supplied by Microsoft. Please see the referenced advisory for more information.
Microsoft Windows XP Tablet PC Edition SP1
Microsoft Windows XP Media Center Edition SP1
Microsoft Windows Server 2003 Enterprise Edition Itanium 0
Microsoft Windows Server 2003 Standard Edition
Microsoft Windows Server 2003 Enterprise x64 Edition
Microsoft Windows Server 2003 Datacenter Edition Itanium 0
Microsoft Windows Server 2003 Datacenter x64 Edition
Microsoft Windows Server 2003 Enterprise Edition SP1
Microsoft Windows Server 2003 Datacenter Edition
Microsoft Windows 2000 Advanced Server SP4
Microsoft Windows Server 2003 Enterprise Edition
Microsoft Windows 2000 Datacenter Server SP4
Microsoft Windows Server 2003 Web Edition
Microsoft Windows XP Home SP1
Microsoft Windows Server 2003 Datacenter Edition Itanium SP1
Microsoft Windows XP 64-bit Edition
Microsoft Windows Server 2003 Standard x64 Edition
Microsoft Windows 2000 Server SP4
Microsoft Windows 2000 Professional SP4
Microsoft Windows XP Professional SP1
Solution:
Microsoft has released a bulletin that includes fixes to address this issue for supported versions of the operating system.
Avaya advisory ASA-2005-228 has been released to identify vulnerable Avaya packages. Avaya recommends customers to apply fixes supplied by Microsoft. Please see the referenced advisory for more information.
Microsoft Windows XP Tablet PC Edition SP1
-
Microsoft Security Update for Windows XP (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=E38372B2-3BF6 -4393-B9A4-F34248C8073E&displaylang=en
Microsoft Windows XP Media Center Edition SP1
-
Microsoft Security Update for Windows XP (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=E38372B2-3BF6 -4393-B9A4-F34248C8073E&displaylang=en
Microsoft Windows Server 2003 Enterprise Edition Itanium 0
-
Microsoft Security Update for Windows Server 2003 for Itanium-based systems (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=CCFF22BB-ADC4 -4974-813C-7721BDB842C0&displaylang=en
Microsoft Windows Server 2003 Standard Edition
-
Microsoft Security Update for Windows Server 2003 (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=CEE3DD3B-3C20 -47A9-8BBD-1EA2FBB4AF96&displaylang=en
Microsoft Windows Server 2003 Enterprise x64 Edition
-
Microsoft Security Update for Windows Server x64 Edition (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=F1ADB6E4-0A08 -496C-B94C-A1B37178914A&displaylang=en
Microsoft Windows Server 2003 Datacenter Edition Itanium 0
-
Microsoft Security Update for Windows Server 2003 for Itanium-based systems (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=CCFF22BB-ADC4 -4974-813C-7721BDB842C0&displaylang=en
Microsoft Windows Server 2003 Datacenter x64 Edition
-
Microsoft Security Update for Windows Server x64 Edition (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=F1ADB6E4-0A08 -496C-B94C-A1B37178914A&displaylang=en
Microsoft Windows Server 2003 Enterprise Edition SP1
-
Microsoft Security Update for Windows Server 2003 (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=CEE3DD3B-3C20 -47A9-8BBD-1EA2FBB4AF96&displaylang=en
Microsoft Windows Server 2003 Datacenter Edition
-
Microsoft Security Update for Windows Server 2003 (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=CEE3DD3B-3C20 -47A9-8BBD-1EA2FBB4AF96&displaylang=en
Microsoft Windows 2000 Advanced Server SP4
-
Microsoft Security Update for Windows 2000 (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=F361FCCB-B273 -47E7-BB15-BC9C27073446&displaylang=en
Microsoft Windows Server 2003 Enterprise Edition
-
Microsoft Security Update for Windows Server 2003 (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=CEE3DD3B-3C20 -47A9-8BBD-1EA2FBB4AF96&displaylang=en
Microsoft Windows 2000 Datacenter Server SP4
-
Microsoft Security Update for Windows 2000 (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=F361FCCB-B273 -47E7-BB15-BC9C27073446&displaylang=en
Microsoft Windows Server 2003 Web Edition
-
Microsoft Security Update for Windows Server 2003 (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=CEE3DD3B-3C20 -47A9-8BBD-1EA2FBB4AF96&displaylang=en
Microsoft Windows XP Home SP1
-
Microsoft Security Update for Windows XP (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=E38372B2-3BF6 -4393-B9A4-F34248C8073E&displaylang=en
Microsoft Windows Server 2003 Datacenter Edition Itanium SP1
-
Microsoft Security Update for Windows Server 2003 for Itanium-based systems (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=CCFF22BB-ADC4 -4974-813C-7721BDB842C0&displaylang=en
Microsoft Windows XP 64-bit Edition
-
Microsoft Security Update for Windows XP x64 Edition (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=086C6878-916C -4A4F-8CA8-A4C0E304FDA4&displaylang=en
Microsoft Windows Server 2003 Standard x64 Edition
-
Microsoft Security Update for Windows Server x64 Edition (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=F1ADB6E4-0A08 -496C-B94C-A1B37178914A&displaylang=en
Microsoft Windows 2000 Server SP4
-
Microsoft Security Update for Windows 2000 (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=F361FCCB-B273 -47E7-BB15-BC9C27073446&displaylang=en
Microsoft Windows 2000 Professional SP4
-
Microsoft Security Update for Windows 2000 (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=F361FCCB-B273 -47E7-BB15-BC9C27073446&displaylang=en
Microsoft Windows XP Professional SP1
-
Microsoft Security Update for Windows XP (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=E38372B2-3BF6 -4393-B9A4-F34248C8073E&displaylang=en
References
Microsoft Windows Graphics Rendering Engine WMF Format Code Execution Vulnerability
References:
References:
- ASA-2005-228 - Windows Security Updates for November 2005 - (MS05-053) (Avaya)
- Microsoft Security Bulletin MS05-053 (Microsoft)
- Windows Metafile SetPalette Entries Heap Overflow Vulnerability (eEye Digital Security)