SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

Vulnerability Note VU#632963

Microsoft GDI buffer overflow vulnerability

Overview

The Microsoft GDI contains a buffer overflow vulnerability that may allow an attacker to execute arbitrary code.

I. Description

The Graphics Device Interface (GDI) is component of the Microsoft Windows user interface. Windows Metafile (WMF) and Enhanced Metafile (EMF) are image file formats primarily used by the Windows operating system.

Per Microsoft Security Bulletin MS08-021:

    A remote code execution vulnerability exists in the way that GDI handles integer calculations. The vulnerability could allow remote code execution if a user opens a specially crafted EMF or WMF image file. An attacker who successfully exploited this vulnerability could take complete control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts.
    ...
    What causes the vulnerability?
    The vulnerability is caused by a buffer overflow when GDI improperly processes a malformed header in a specially crafted EMF or WMF image file.

There is a public report on the Symantec Security blog which indicates exploit code that targets this vulnerability is being actively developed.

II. Impact

By convincing a user to view a malicious image a remote, unauthenticated attacker may be able to execute arbitrary code. Note that Internet Explorer, in its default configuration, can automatically launch the Windows Picture and Fax Viewer as the result of viewing a web page and may be used as an attack vector.

III. Solution

Upgrade

Microsoft has released an update to address this issue. Users are encouraged to see Microsoft Security Bulletin MS08-021 for more information.

Block access to Windows Metafiles at network perimeters

By blocking access to Windows Metafiles using HTTP proxies, mail gateways, and other network filter technologies, system administrators may also limit potential attack vectors. Filtering based just on the WMF file extensions or MIME type application/x-msMetafile will not block all known attack vectors for this vulnerability.

Systems Affected

VendorStatusDate NotifiedDate Updated
Microsoft CorporationVulnerable11-Apr-2008

References


http://www.microsoft.com/technet/security/bulletin/ms08-021.mspx
http://www.kb.cert.org/vuls/id/181038
http://www.symantec.com/enterprise/security_response/weblog/2008/04/attempt_at_exploiting_latest_g.html
http://en.wikipedia.org/wiki/Enhanced_Metafile
http://en.wikipedia.org/wiki/Graphics_Device_Interface

Credit

Microsoft credits Jun Mao, Sebastian Apelt, Thomas Garnier, and Yamata Li for reporting this vulnerability.

This document was written by Ryan Giobbi.

Other Information

Date Public:2008-04-08
Date First Published:2008-04-11
Date Last Updated:2008-04-11
CERT Advisory: 
CVE-ID(s):CVE-2008-1083
NVD-ID(s):CVE-2008-1083
US-CERT Technical Alerts: 
Metric:45.00
Document Revision:11

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Produced 2008 by US-CERT, a government organization
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader