Vulnerability Details : CVE-2012-0158
Public exploit exists!
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."
Vulnerability category: Execute code
Products affected by CVE-2012-0158
- cpe:2.3:a:microsoft:office:2003:sp3:*:*:*:*:*:*
- cpe:2.3:a:microsoft:office:2007:sp2:*:*:*:*:*:*
- cpe:2.3:a:microsoft:office:2007:sp3:*:*:*:*:*:*
- cpe:2.3:a:microsoft:office:2010:*:*:*:*:*:x86:*
- cpe:2.3:a:microsoft:office:2010:sp1:*:*:*:*:x86:*
- cpe:2.3:a:microsoft:visual_basic:6.0:*:*:*:*:*:*:*
- cpe:2.3:a:microsoft:commerce_server:2002:sp4:*:*:*:*:*:*
- cpe:2.3:a:microsoft:commerce_server:2007:sp2:*:*:*:*:*:*
- cpe:2.3:a:microsoft:office_web_components:2003:sp3:*:*:*:*:*:*
- cpe:2.3:a:microsoft:visual_foxpro:9.0:sp2:*:*:*:*:*:*
- cpe:2.3:a:microsoft:visual_foxpro:8.0:sp1:*:*:*:*:*:*
- cpe:2.3:a:microsoft:biztalk_server:2002:sp1:*:*:*:*:*:*
- cpe:2.3:a:microsoft:sql_server_2000:-:sp4:*:*:*:*:*:*
- cpe:2.3:a:microsoft:sql_server_2005:-:sp4:*:*:*:*:*:*
- cpe:2.3:a:microsoft:sql_server_2008:-:sp2:*:*:*:*:*:*
- cpe:2.3:a:microsoft:sql_server_2008:-:sp3:*:*:*:*:*:*
- cpe:2.3:a:microsoft:sql_server_2008:r2:-:*:*:*:*:*:*
- cpe:2.3:a:microsoft:sql_server_2008:r2:sp1:*:*:*:*:*:*
- cpe:2.3:a:microsoft:commerce_server_2009:-:*:*:*:*:*:*:*
- cpe:2.3:a:microsoft:commerce_server_2009:r2:*:*:*:*:*:*:*
Threat overview for CVE-2012-0158
Top countries where our scanners detected CVE-2012-0158
Top open port discovered on systems with this issue
1433
IPs affected by CVE-2012-0158 1,220
Threat actors abusing to this issue?
Yes
Find out if you* are
affected by CVE-2012-0158!
*Directly or indirectly through your vendors, service providers and 3rd parties.
Powered by
attack surface intelligence
from SecurityScorecard.
CVE-2012-0158 is in the CISA Known Exploited Vulnerabilities Catalog
CISA vulnerability name:
Microsoft MSCOMCTL.OCX Remote Code Execution Vulnerability
CISA required action:
Apply updates per vendor instructions.
CISA description:
Microsoft MSCOMCTL.OCX contains an unspecified vulnerability that allows for remote code execution, allowing an attacker to take complete control of an affected system under the context of the current user.
Notes:
https://nvd.nist.gov/vuln/detail/CVE-2012-0158
Added on
2021-11-03
Action due date
2022-05-03
Exploit prediction scoring system (EPSS) score for CVE-2012-0158
94.30%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 100 %
Percentile, the proportion of vulnerabilities that are scored at or less
Metasploit modules for CVE-2012-0158
-
MS12-027 MSCOMCTL ActiveX Buffer Overflow
Disclosure Date: 2012-04-10First seen: 2020-04-26exploit/windows/fileformat/ms12_027_mscomctl_bofThis 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 by
CVSS scores for CVE-2012-0158
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.3
|
HIGH | AV:N/AC:M/Au:N/C:C/I:C/A:C |
8.6
|
10.0
|
NIST | |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2025-02-10 |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST | 2024-07-24 |
CWE ids for CVE-2012-0158
-
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.Assigned by:
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
- nvd@nist.gov (Primary)
References for CVE-2012-0158
-
http://www.securitytracker.com/id?1026902
Microsoft Commerce Server Windows Common Controls (MSCOMCTL.OCX) Bug Lets Remote Users Execute Arbitrary Code - SecurityTrackerBroken Link;Third Party Advisory;VDB Entry
-
http://www.securityfocus.com/bid/52911
Microsoft Windows Common Controls ActiveX Control Remote Code Execution VulnerabilityBroken Link;Third Party Advisory;VDB Entry
-
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15462
Repository / Oval RepositoryBroken Link
-
http://www.securitytracker.com/id?1026904
Microsoft Visual Basic Windows Common Controls (MSCOMCTL.OCX) Bug Lets Remote Users Execute Arbitrary Code - SecurityTrackerBroken Link;Third Party Advisory;VDB Entry
-
http://www.securitytracker.com/id?1026899
Microsoft SQL Server Windows Common Controls (MSCOMCTL.OCX) Bug Lets Remote Users Execute Arbitrary Code - SecurityTrackerBroken Link;Third Party Advisory;VDB Entry
-
http://www.securitytracker.com/id?1026903
Microsoft Visual FoxPro Windows Common Controls (MSCOMCTL.OCX) Bug Lets Remote Users Execute Arbitrary Code - SecurityTrackerBroken Link;Third Party Advisory;VDB Entry
-
https://exchange.xforce.ibmcloud.com/vulnerabilities/74372
Microsoft Windows MSCOMCTL.OCX ActiveX control code execution CVE-2012-0158 Vulnerability ReportThird Party Advisory;VDB Entry
-
http://www.us-cert.gov/cas/techalerts/TA12-101A.html
Microsoft Updates for Multiple Vulnerabilities | CISAThird Party Advisory;US Government Resource
-
http://www.securitytracker.com/id?1026905
Microsoft BizTalk Server Windows Common Controls (MSCOMCTL.OCX) Bug Lets Remote Users Execute Arbitrary Code - SecurityTrackerBroken Link;Third Party Advisory;VDB Entry
-
https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-027
Microsoft Security Bulletin MS12-027 - Critical | Microsoft DocsPatch;Vendor Advisory
-
http://opensources.info/comment-on-the-curious-case-of-a-cve-2012-0158-exploit-by-chris-pierce/
Broken Link
-
http://www.securitytracker.com/id?1026900
Microsoft Office Windows Common Controls (MSCOMCTL.OCX) Bug Lets Remote Users Execute Arbitrary Code - SecurityTrackerBroken Link;Third Party Advisory;VDB Entry
Jump to