ID CVE-2012-0158
Summary 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."
References
Vulnerable Configurations
  • cpe:2.3:a:microsoft:office:2003:sp3:*:*:*:*:*:*
    cpe:2.3:a:microsoft:office:2003:sp3:*:*:*:*:*:*
  • cpe:2.3:a:microsoft:office:2007:sp2:*:*:*:*:*:*
    cpe:2.3:a:microsoft:office:2007:sp2:*:*:*:*:*:*
  • cpe:2.3:a:microsoft:office:2007:sp3:*:*:*:*:*:*
    cpe:2.3:a:microsoft:office:2007:sp3:*:*:*:*:*:*
  • cpe:2.3:a:microsoft:office:2010:*:x86:*:*:*:*:*
    cpe:2.3:a:microsoft:office:2010:*:x86:*:*:*:*:*
  • cpe:2.3:a:microsoft:office:2010:sp1:x86:*:*:*:*:*
    cpe:2.3:a:microsoft:office:2010:sp1:x86:*:*:*:*:*
  • cpe:2.3:a:microsoft:office_web_components:2003:sp3:*:*:*:*:*:*
    cpe:2.3:a:microsoft:office_web_components:2003:sp3:*:*:*:*:*:*
  • cpe:2.3:a:microsoft:sql_server:2000:sp4:*:*:*:*:*:*
    cpe:2.3:a:microsoft:sql_server:2000:sp4:*:*:*:*:*:*
  • cpe:2.3:a:microsoft:sql_server:2000:sp4:analysis_services:*:*:*:*:*
    cpe:2.3:a:microsoft:sql_server:2000:sp4:analysis_services:*:*:*:*:*
  • cpe:2.3:a:microsoft:sql_server:2005:sp4:express_advanced_services:*:*:*:*:*
    cpe:2.3:a:microsoft:sql_server:2005:sp4:express_advanced_services:*:*:*:*:*
  • cpe:2.3:a:microsoft:sql_server:2005:sp4:itanium:*:*:*:*:*
    cpe:2.3:a:microsoft:sql_server:2005:sp4:itanium:*:*:*:*:*
  • cpe:2.3:a:microsoft:sql_server:2005:sp4:x64:*:*:*:*:*
    cpe:2.3:a:microsoft:sql_server:2005:sp4:x64:*:*:*:*:*
  • cpe:2.3:a:microsoft:sql_server:2005:sp4:x86:*:*:*:*:*
    cpe:2.3:a:microsoft:sql_server:2005:sp4:x86:*:*:*:*:*
  • cpe:2.3:a:microsoft:sql_server:2008:r2:itanium:*:*:*:*:*
    cpe:2.3:a:microsoft:sql_server:2008:r2:itanium:*:*:*:*:*
  • cpe:2.3:a:microsoft:sql_server:2008:r2:x64:*:*:*:*:*
    cpe:2.3:a:microsoft:sql_server:2008:r2:x64:*:*:*:*:*
  • cpe:2.3:a:microsoft:sql_server:2008:r2:x86:*:*:*:*:*
    cpe:2.3:a:microsoft:sql_server:2008:r2:x86:*:*:*:*:*
  • cpe:2.3:a:microsoft:sql_server:2008:sp2:itanium:*:*:*:*:*
    cpe:2.3:a:microsoft:sql_server:2008:sp2:itanium:*:*:*:*:*
  • cpe:2.3:a:microsoft:sql_server:2008:sp2:x64:*:*:*:*:*
    cpe:2.3:a:microsoft:sql_server:2008:sp2:x64:*:*:*:*:*
  • cpe:2.3:a:microsoft:sql_server:2008:sp2:x86:*:*:*:*:*
    cpe:2.3:a:microsoft:sql_server:2008:sp2:x86:*:*:*:*:*
  • cpe:2.3:a:microsoft:sql_server:2008:sp3:itanium:*:*:*:*:*
    cpe:2.3:a:microsoft:sql_server:2008:sp3:itanium:*:*:*:*:*
  • cpe:2.3:a:microsoft:sql_server:2008:sp3:x64:*:*:*:*:*
    cpe:2.3:a:microsoft:sql_server:2008:sp3:x64:*:*:*:*:*
  • cpe:2.3:a:microsoft:sql_server:2008:sp3:x86:*:*:*:*:*
    cpe:2.3:a:microsoft:sql_server:2008:sp3:x86:*:*:*:*:*
  • cpe:2.3:a:microsoft:biztalk_server:2002:sp1:*:*:*:*:*:*
    cpe:2.3:a:microsoft:biztalk_server:2002:sp1:*:*:*:*:*:*
  • cpe:2.3:a:microsoft:commerce_server:2002:sp4:*:*:*:*:*:*
    cpe:2.3:a:microsoft:commerce_server:2002:sp4:*:*:*:*:*:*
  • cpe:2.3:a:microsoft:commerce_server:2007:sp2:*:*:*:*:*:*
    cpe:2.3:a:microsoft:commerce_server:2007:sp2:*:*:*:*:*:*
  • cpe:2.3:a:microsoft:commerce_server:2009:*:*:*:*:*:*:*
    cpe:2.3:a:microsoft:commerce_server:2009:*:*:*:*:*:*:*
  • cpe:2.3:a:microsoft:commerce_server:2009:r2:*:*:*:*:*:*
    cpe:2.3:a:microsoft:commerce_server:2009:r2:*:*:*:*:*:*
  • cpe:2.3:a:microsoft:visual_basic:6.0:*:runtime_extended_files:*:*:*:*:*
    cpe:2.3:a:microsoft:visual_basic:6.0:*:runtime_extended_files:*:*:*:*:*
  • cpe:2.3:a:microsoft:visual_foxpro:8.0:sp1:*:*:*:*:*:*
    cpe:2.3:a:microsoft:visual_foxpro:8.0:sp1:*:*:*:*:*:*
  • cpe:2.3:a:microsoft:visual_foxpro:9.0:sp2:*:*:*:*:*:*
    cpe:2.3:a:microsoft:visual_foxpro:9.0:sp2:*:*:*:*:*:*
CVSS
Base: 9.3 (as of 12-10-2018 - 22:02)
Impact:
Exploitability:
CWE CWE-94
CAPEC
  • Code Injection
    An adversary exploits a weakness in input validation on the target to inject new code into that which is currently executing. This differs from code inclusion in that code inclusion involves the addition or replacement of a reference to a code file, which is subsequently loaded by the target and used as part of the code of some application.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.
  • Manipulating User-Controlled Variables
    This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
cvss-vector via4 AV:N/AC:M/Au:N/C:C/I:C/A:C
msbulletin via4
bulletin_id MS12-027
bulletin_url
date 2012-04-12T00:00:00
impact Remote Code Execution
knowledgebase_id 2664258
knowledgebase_url
severity Critical
title Vulnerability in Windows Common Controls Could Allow Remote Code Execution
oval via4
accepted 2014-06-09T04:00:14.623-04:00
class vulnerability
contributors
  • name Dragos Prisaca
    organization Symantec Corporation
  • name Chandan S
    organization SecPod Technologies
  • name Pradeep R B
    organization SecPod Technologies
  • name Maria Mikhno
    organization ALTX-SOFT
  • name Dragos Prisaca
    organization G2, Inc.
definition_extensions
  • comment Microsoft Office 2003 SP3 is installed
    oval oval:org.mitre.oval:def:15626
  • comment Microsoft Office 2003 Web Components SP3 is installed
    oval oval:org.mitre.oval:def:15325
  • comment Microsoft Office 2007 SP2 is installed
    oval oval:org.mitre.oval:def:15607
  • comment Microsoft Office 2007 SP3 is installed
    oval oval:org.mitre.oval:def:15704
  • comment Microsoft Office 2010 SP1 x86 is installed
    oval oval:org.mitre.oval:def:20819
  • comment Microsoft Office 2010 is installed
    oval oval:org.mitre.oval:def:12061
  • comment Microsoft Office 2010 SP1 is installed
    oval oval:org.mitre.oval:def:15198
  • comment Microsoft Office 2010 SP2 is installed
    oval oval:org.mitre.oval:def:17121
  • comment Microsoft SQL Server 2005 SP4 is installed
    oval oval:org.mitre.oval:def:12442
  • comment Microsoft SQL Server 2008 SP2 is installed
    oval oval:org.mitre.oval:def:12310
  • comment Microsoft SQL Server 2008 SP3 is installed
    oval oval:org.mitre.oval:def:15497
  • comment Microsoft SQL Server 2008 R2 SP2 is installed
    oval oval:org.mitre.oval:def:15803
  • comment Microsoft SQL Server 2008 R2 is installed
    oval oval:org.mitre.oval:def:12596
  • comment Microsoft BizTalk Server 2002 is installed
    oval oval:org.mitre.oval:def:15292
  • comment Microsoft Commerce Server 2002 is installed
    oval oval:org.mitre.oval:def:15304
  • comment Microsoft Commerce Server 2007 is installed
    oval oval:org.mitre.oval:def:15514
  • comment Microsoft Commerce Server 2009 is installed
    oval oval:org.mitre.oval:def:15443
  • comment Microsoft Visual FoxPro is installed
    oval oval:org.mitre.oval:def:14198
  • comment Microsoft Visual Basic 6.0 is installed
    oval oval:org.mitre.oval:def:15369
  • comment Microsoft SQL Server 2000 Analysis Services SP4 is installed
    oval oval:org.mitre.oval:def:15730
  • comment Microsoft SQL Server 2000 SP4 is installed
    oval oval:org.mitre.oval:def:15762
description 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."
family windows
id oval:org.mitre.oval:def:15462
status accepted
submitted 2012-04-10T13:00:00
title MSCOMCTL.OCX RCE Vulnerability
version 94
refmap via4
bid 52911
cert TA12-101A
misc http://opensources.info/comment-on-the-curious-case-of-a-cve-2012-0158-exploit-by-chris-pierce/
sectrack
  • 1026899
  • 1026900
  • 1026902
  • 1026903
  • 1026904
  • 1026905
xf ms-activex-control-code-execution(74372)
saint via4
bid 52911
description Microsoft Windows Common Controls MSCOMCTL.OCX Vulnerability
id win_patch_office2007comctl,win_patch_office2010comctl
osvdb 81125
title windows_common_controls_mscomctlocx
type client
Last major update 12-10-2018 - 22:02
Published 10-04-2012 - 21:55
Last modified 12-10-2018 - 22:02
Back to Top