Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


Microsoft Windows WMF/EMF File Rendering Arbitrary Code Execution Advisory Available in Danish 

Secunia Advisory: SA17498  
Release Date: 2005-11-08
Last Update: 2006-02-10

Critical:
Highly critical
Impact: System access
Where: From remote
Solution Status: Vendor Patch

OS:Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Datacenter Server
Microsoft Windows 2000 Professional
Microsoft Windows 2000 Server
Microsoft Windows Server 2003 Datacenter Edition
Microsoft Windows Server 2003 Enterprise Edition
Microsoft Windows Server 2003 Standard Edition
Microsoft Windows Server 2003 Web Edition
Microsoft Windows XP Embedded
Microsoft Windows XP Home Edition
Microsoft Windows XP Professional


CVE reference:CVE-2005-2123 (Secunia mirror)
CVE-2005-2124 (Secunia mirror)

Want to know the next time vulnerabilities are fixed in this product?
- Companies can be alerted via email and SMS!


Description:
Two vulnerabilities have been reported in Microsoft Windows, which can be exploited by malicious people to compromise a vulnerable system.

1) Some integer overflow errors exist in the Graphics Rendering Engine GDI32.DLL (e.g. MRBP16::bCheckRecord) when rendering certain malformed Windows Metafile (WMF) and Enhanced Metafile (EMF) image files. This can be exploited to cause a heap-based buffer overflow and allows arbitrary code execution on a user's system via a specially crafted WMF/EMF file.

2) An integer overflow error exists in the "PlayMetaFileRecord" function of GDI32.DLL when handling the "SetPaletteEntries" records in a Windows Metafile (WMF) image file. This can be exploited to cause a heap-based buffer overflow and allows arbitrary code execution on a user's system via a specially crafted WMF file.

Vulnerability #1 and #2 reportedly affects any program that renders the affected image types and can be exploited by e.g. tricking the user to open a malicious WMF/EMF file, or to view a folder that contains the image.

The vulnerabilities are also reportedly exploitable by embedding the image in an Office document, or by convincing the user to view an HTML email containing an image attachment in Outlook, or via a malicious web site.

Do you have this product installed on your home computer? Scan using the free Personal Software Inspector. Check if a vulnerable version is installed on computers in your corporate network, using the Network Software Inspector.

Solution:
Apply patches.

Microsoft Windows 2000 (requires SP 4):
http://www.microsoft.com/downloads/de...=F361FCCB-B273-47E7-BB15-BC9C27073446

Microsoft Windows XP (requires SP 1 or SP 2):
http://www.microsoft.com/downloads/de...=E38372B2-3BF6-4393-B9A4-F34248C8073E

Microsoft Windows XP Professional x64 Edition:
http://www.microsoft.com/downloads/de...=086C6878-916C-4A4F-8CA8-A4C0E304FDA4

Microsoft Windows XP Embedded (with SP1):
http://www.microsoft.com/downloads/de...=af116ff1-9347-40d5-b03c-c2c758c652ba

Microsoft Windows XP Embedded (with SP2):
http://www.microsoft.com/downloads/de...=5c635107-a550-45f5-b012-3dfb8893b6a2

Microsoft Windows Server 2003 (with or without SP 1):
http://www.microsoft.com/downloads/de...=CEE3DD3B-3C20-47A9-8BBD-1EA2FBB4AF96

Microsoft Windows Server 2003 (Itanium) (with or without SP 1):
http://www.microsoft.com/downloads/de...=CCFF22BB-ADC4-4974-813C-7721BDB842C0

Microsoft Windows Server 2003 x64 Edition:
http://www.microsoft.com/downloads/de...=F1ADB6E4-0A08-496C-B94C-A1B37178914A

Provided and/or discovered by:
1) eEye Digital Security.
2) Venustech AdDLab, eEye Digital Security, and Peter Ferrie of Symantec Security Response.

Changelog:
2005-11-09: Added information from eEye Digital Security. Updated "Description" and "Original Advisory" sections. Added links to US-CERT vulnerability notes.
2006-02-10: Added patch information for Windows XP Embedded.

Original Advisory:
MS05-053 (KB896424):
http://www.microsoft.com/technet/security/Bulletin/MS05-053.mspx

eEye Digital Security:
http://www.eeye.com/html/research/advisories/AD20051108b.html
http://www.eeye.com/html/research/advisories/AD20051108a.html

Other References:
SA14631:
http://secunia.com/advisories/14631/

US-CERT VU#300549:
http://www.kb.cert.org/vuls/id/300549

US-CERT VU#433341:
http://www.kb.cert.org/vuls/id/433341



Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.

271 Related Secunia Security Advisories, displaying 10

1. Microsoft SQL Server and MSDE Multiple Vulnerabilities
2. Microsoft Windows DNS Spoofing Vulnerabilities
3. Microsoft Windows Pragmatic General Multicast Denial of Service
4. Microsoft Windows Active Directory LDAP Request Processing Denial of Service
5. Microsoft Windows WINS Privilege Escalation Vulnerability
6. Microsoft DirectX MJPEG/SAMI File Processing Vulnerabilities
7. Microsoft Windows Speech Recognition Security Issue
8. Apple Safari on Windows Code Execution Vulnerability
9. Microsoft Windows XP I2O Utility Filter Driver Privilege Escalation
10. Microsoft Windows Bluetooth SDP Packet Processing Vulnerability

Show all related advisories


Send Feedback to Secunia

If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
OpenBSD BIND Query Port DNS Cache Poisoning
2.
Drupal Session Fixation Vulnerability
3.
Linux Kernel LDT Buffer Size Handling Vulnerability
4.
YouTube Blog Multiple Vulnerabilities
5.
Apple Safari Cross-Domain Cookie Injection Vulnerability
6.
dnsmasq Denial of Service and DNS Cache Poisoning
7.
Red Hat update for kernel
8.
Red Hat update for thunderbird
9.
Debian update for clamav
10.
Ubuntu update for php





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia