Public Vulnerability Reports

Microsoft .NET Framework GraphicsPathIterator Memory Corruption Vulnerability

10.04.12

BACKGROUND

The .NET Framework is a software library used to provide a language agnostic API on the Windows platform.

DESCRIPTION

Remote exploitation of a memory corruption vulnerability in Microsoft Corp.'s .NET Framework could allow an attacker to execute arbitrary code with the privileges of the current user.

The vulnerability occurs in a certain function of the GraphicsPathIterator class. This class is used to call native functions residing in the GDI+ library. When calling the native GDI+ function, the vulnerable code fails to validate the parameters passed to it. This can result in memory corruption of the arrays passed to the function, which can lead to the execution of arbitrary code.

ANALYSIS

Exploitation of this vulnerability results in the execution of arbitrary code with the privileges of the user viewing the web page. To exploit this vulnerability, a targeted user must load a malicious webpage created by an attacker. An attacker typically accomplishes this via social engineering or injecting content into compromised, trusted sites. After the user visits the malicious web page, no further user interaction is needed.

DETECTION

The following Microsoft products are confirmed to be vulnerable by Microsoft:

  • Microsoft .NET Framework 1.0 SP 3
  • Microsoft .NET Framework 1.1 SP 1
  • Microsoft .NET Framework 2.0 SP 2
  • Microsoft .NET Framework 4
  • Microsoft .NET Framework 3.5.1

WORKAROUND

Microsoft suggests disabling XAML browser applications in Internet Explorer.

VENDOR RESPONSE

Microsoft has released updates to address this vulnerability. For more information, consult their advisory at the following URL.

http://technet.microsoft.com/en-us/security/bulletin/ms12-025

CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2012-0163 to this issue. This is a candidate for inclusion in the CVE list (http://cve.mitre.org/), which standardizes names for security problems.

DISCLOSURE TIMELINE

11/23/2011 Initial Vendor Notification
11/23/2011 Initial Vendor Reply
04/10/2011 Coordinated Public Disclosure

CREDIT

This vulnerability was reported to iDefense by Vitaliy Toropov.

Get paid for vulnerability research
http://labs.idefense.com/methodology/vulnerability/vcp.php

Free tools, research and upcoming events
http://labs.idefense.com/

LEGAL NOTICES

Copyright © 2012 Verisign, Inc.

Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of iDefense. If you wish to reprint the whole or any part of this alert in any other medium other than electronically, please e-mail customer service for permission.

Disclaimer: The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information.