Public Vulnerability Reports

Microsoft Office Visio Viewer ActiveX Use After Free Vulnerability

05.08.12

BACKGROUND

Visio Viewer is an ActiveX control used to render Visio documents inside of Internet Explorer.

DESCRIPTION

Remote exploitation of a memory corruption vulnerability in Microsoft Corp.'s Visio Viewer could allow an attacker to execute arbitrary code with the privileges of the current user. The vulnerability occurs when an embedded Visio file contains a corrupted pagesheet record. When parsing this record, memory is accessed after it has already been freed. This can lead to memory corruption, which can result in 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 Web page 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. In order to exploit this vulnerability, an attacker would have to properly manipulate the layout of the heap.

DETECTION

The following versions of Visio Viewer are vulnerable: 2007 SP2, 2010 (32 and 64-bit), 2010 SP1 (32 and 64-bit)

WORKAROUND

Since this vulnerability is present in an ActiveX control, the killbit can be set to prevent the control from loading in Internet Explorer. The CLSID for the control is "F8CF7A98-2C45-4c8d-9151-2D716989DDAB." Setting the killbit for this CLSID will prevent exploitation.

VENDOR RESPONSE

Microsoft Corp. has addressed this vulnerability with the release of updates to Visio Viewer. More information can be found at the following URL:

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

CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2012-0018 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

09/28/2011 Initial Vendor Notification
09/28/2011 Initial Vendor Reply
05/08/2012 Coordinated Public Disclosure

CREDIT

This vulnerability was reported to iDefense by Luigi Auriemma.

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.