Vulnerability Note VU#158647

Microsoft Windows Object Linking and Embedding (OLE) OleAut32 library SafeArrayRedim function vulnerable to remote code execution via Internet Explorer

Original Release date: 13 Nov 2014 | Last revised: 18 Nov 2014

Overview

A vulnerability in Microsoft Windows OLE could allow remote code execution if a user views a specially-crafted web page in Internet Explorer.

Description

The Microsoft Windows OLE OleAut32.dll library provides the SafeArrayRedim function that allows resizing of SAFEARRAY objects in memory. In certain circumstances, this library does not properly check sizes of arrays when an error occurs (CVE-2014-6332). The improper size allows an attacker to manipulate memory in a way that can bypass the Internet Explorer Enhanced Protected Mode (EPM) sandbox as well as the Enhanced Mitigation Experience Toolkit (EMET).

This vulnerability can be exploited using a specially-crafted web page utilizing VBscript in Internet Explorer, however it may also impact other software that makes use of OleAut32.dll and/or VBscript.

A Metasploit module exploiting this vulnerability has been released.

More information is available in a blog post from IBM X-Force.

Impact

Arbitrary code can be run on the computer with user privileges. If the user is an administrator, the attacker may run arbitrary code as an administrator, fully compromising the system.

Solution

Apply an update

An update is available from Microsoft. Please see Microsoft Security Bulletin MS14-064.

Disable active content in Internet Explorer

Disabling active content (scripting) in Internet Explorer may help mitigate this vulnerability. Please see Microsoft's guidance on disabling active content.

Vendor Information (Learn More)

VendorStatusDate NotifiedDate Updated
Microsoft CorporationAffected-13 Nov 2014
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base 9.3 AV:N/AC:M/Au:N/C:C/I:C/A:C
Temporal 7.3 E:POC/RL:OF/RC:C
Environmental 7.3 CDP:ND/TD:H/CR:ND/IR:ND/AR:ND

References

Credit

Microsoft credits Robert Freeman of IBM X-Force.

This document was written by Garret Wassermann.

Other Information

  • CVE IDs: CVE-2014-6332
  • US-CERT Alert: TA14-318B
  • Date Public: 11 Nov 2014
  • Date First Published: 13 Nov 2014
  • Date Last Updated: 18 Nov 2014
  • Document Revision: 28

Feedback

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