[NT] Microsoft Windows GDI+ Gradient Fill Heap Overflow Vulnerability

The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.

- - - - - - - - -

Microsoft Windows GDI+ Gradient Fill Heap Overflow Vulnerability


The <http://msdn.microsoft.com/en-us/library/ms533797(VS.85).aspx> GDI+
library, or "GdiPlus.dll", "provides access to a number of graphics
methods, via a class-based API. Vector Markup Language (VML) is a
component of the Extensible Markup Language (XML) that specifies vector
images (e.g., rectangles and ovals) using the GDI+ API". Remote
exploitation of an integer overflow vulnerability in multiple versions of
Microsoft Corp.'s GDI+ could allow an attacker to execute arbitrary code
within the context of the local user.


Vulnerable Systems:
* Internet Explorer 7
* Internet Explorer 6
* VGX.DLL version 7.00.6000.20628
* VGX.DLL version 7.00.6000.16386
* VGX.DLL version 6.00.2900.3051
* VGX.DLL version 6.00.2900.2997

The vulnerability specifically exists in the memory allocation performed
by the GDI+ library. Certain malformed gradient fill input can cause the
application to corrupt the heap, potentially allowing arbitrary code

Exploitation of this vulnerability may allow an attacker to execute
arbitrary code in the context of the current user. To exploit this
vulnerability, the attacker would need to convince a targeted user to
render a document with an application that utilizes the vulnerable GDI+
functions. This could be accomplished by persuading the user to follow a
link, view a document, or read an e-mail message.

In order to prevent exploitation of this vulnerability, unregister or deny
access to vgx.dll and/or gdiplus.dll. Note that doing so will prevent
proper rendering of documents that rely on the affected component.

Vendor response:
Microsoft has officially addressed this vulnerability with Security
Bulletin MS08-052. For more information, consult their bulletin at the
following URL.

CVE Information:

Disclosure Timeline:
05/09/2007 - Initial vendor notification
05/09/2007 - Initial vendor response
09/09/2008 - Coordinated public disclosure


The information has been provided by
<mailto:idlabs-advisories@xxxxxxxxxxxx> iDefense Labs Security Advisories.
The original article can be found at:


This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx


The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.