the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : CVE-2012-0158

The (1) ListView, (2) ListView2, (3) TreeView, and (4) TreeView2 ActiveX controls in MSCOMCTL.OCX in the Common Controls in Microsoft Office 2003 SP3, 2007 SP2 and SP3, and 2010 Gold and SP1; Office 2003 Web Components SP3; SQL Server 2000 SP4, 2005 SP4, and 2008 SP2, SP3, and R2; BizTalk Server 2002 SP1; Commerce Server 2002 SP4, 2007 SP2, and 2009 Gold and R2; Visual FoxPro 8.0 SP1 and 9.0 SP2; and Visual Basic 6.0 Runtime allow remote attackers to execute arbitrary code via a crafted (a) web site, (b) Office document, or (c) .rtf file that triggers "system state" corruption, as exploited in the wild in April 2012, aka "MSCOMCTL.OCX RCE Vulnerability."
Publish Date : 2012-04-10 Last Update Date : 2017-09-18
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute Code

- Related OVAL Definitions

Title Definition Id Class Family
MSCOMCTL.OCX RCE Vulnerability oval:org.mitre.oval:def:15462 windows
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2012-0158

# Product Type Vendor Product Version Update Edition Language
1 Application Microsoft Biztalk Server 2002 SP1 Version Details Vulnerabilities
2 Application Microsoft Commerce Server 2002 SP4 Version Details Vulnerabilities
3 Application Microsoft Commerce Server 2007 SP2 Version Details Vulnerabilities
4 Application Microsoft Commerce Server 2009 Version Details Vulnerabilities
5 Application Microsoft Commerce Server 2009 R2 Version Details Vulnerabilities
6 Application Microsoft Office 2003 SP3 Version Details Vulnerabilities
7 Application Microsoft Office 2007 SP2 Version Details Vulnerabilities
8 Application Microsoft Office 2007 SP3 Version Details Vulnerabilities
9 Application Microsoft Office 2010 SP1 X86 Version Details Vulnerabilities
10 Application Microsoft Office 2010 X86 Version Details Vulnerabilities
11 Application Microsoft Office Web Components 2003 SP3 Version Details Vulnerabilities
12 Application Microsoft Sql Server 2000 SP4 Version Details Vulnerabilities
13 Application Microsoft Sql Server 2000 SP4 Analysis Services Version Details Vulnerabilities
14 Application Microsoft Sql Server 2005 SP4 X64 Version Details Vulnerabilities
15 Application Microsoft Sql Server 2005 SP4 Express Advanced Services Version Details Vulnerabilities
16 Application Microsoft Sql Server 2005 SP4 X86 Version Details Vulnerabilities
17 Application Microsoft Sql Server 2005 SP4 Itanium Version Details Vulnerabilities
18 Application Microsoft Sql Server 2008 SP2 Itanium Version Details Vulnerabilities
19 Application Microsoft Sql Server 2008 SP3 Itanium Version Details Vulnerabilities
20 Application Microsoft Sql Server 2008 SP2 X86 Version Details Vulnerabilities
21 Application Microsoft Sql Server 2008 R2 X86 Version Details Vulnerabilities
22 Application Microsoft Sql Server 2008 SP3 X86 Version Details Vulnerabilities
23 Application Microsoft Sql Server 2008 R2 X64 Version Details Vulnerabilities
24 Application Microsoft Sql Server 2008 SP2 X64 Version Details Vulnerabilities
25 Application Microsoft Sql Server 2008 R2 Itanium Version Details Vulnerabilities
26 Application Microsoft Sql Server 2008 SP3 X64 Version Details Vulnerabilities
27 Application Microsoft Visual Basic 6.0 Runtime Extended Files Version Details Vulnerabilities
28 Application Microsoft Visual Foxpro 8.0 SP1 Version Details Vulnerabilities
29 Application Microsoft Visual Foxpro 9.0 SP2 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Microsoft Biztalk Server 1
Microsoft Commerce Server 4
Microsoft Office 5
Microsoft Office Web Components 1
Microsoft Sql Server 15
Microsoft Visual Basic 1
Microsoft Visual Foxpro 2

- References For CVE-2012-0158
SECTRACK 1026905
CERT TA12-101A
SECTRACK 1026904
SECTRACK 1026899
SECTRACK 1026903
SECTRACK 1026900
SECTRACK 1026902
Microsoft Security Bulletin MS12-027 MS12-027 - Critical : Vulnerability in Windows Common Controls Could Allow Remote Code Execution (2664258) - Version: 2.0 Severity Rating: Critical Revision Note: V2.0 (April 26, 2012): Added Service Pack 1 versions of SQL Server 2008 R2 to the Affected Software and added an entry to the update FAQ to explain which SQL Server 2000 update to use based on version ranges. These are informational changes only. There were no changes to the security update files or detection logic. For a complete list of changes, see the entry to the section, Frequently Asked Questions (FAQ) Related to This Security Update. Summary: This security update resolves a privately disclosed vulnerability in Windows common controls. The vulnerability could allow remote code execution if a user visits a website containing specially crafted content designed to exploit the vulnerability. In all cases, however, an attacker would have no way to force users to visit such a website. Instead, an attacker would have to convince users to visit the website, typically by getting them to click a link in an emaRelease Date:2012-04-26
BID 52911 Microsoft Windows Common Controls ActiveX Control Remote Code Execution Vulnerability Release Date:2017-09-25
XF ms-activex-control-code-execution(74372)

- Metasploit Modules Related To CVE-2012-0158

MS12-027 MSCOMCTL ActiveX Buffer Overflow
This module exploits a stack buffer overflow in MSCOMCTL.OCX. It uses a malicious RTF to embed the specially crafted MSComctlLib.ListViewCtrl.2 Control as exploited in the wild on April 2012. This module targets Office 2007 and Office 2010 targets. The DEP/ASLR bypass on Office 2010 is done with the Ikazuchi ROP chain proposed by Abysssec. This chain uses "msgr3en.dll", which will load after office got load, so the malicious file must be loaded through "File / Open" to achieve exploitation.
Module type : exploit Rank : average Platforms : Windows

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.