Microsoft Office 2003/2007/2010 MSCOMCTL.OCX code injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.9$0-$5k0.00

Summaryinfo

A vulnerability categorized as problematic has been discovered in Microsoft Office 2003/2007/2010. Affected is an unknown function in the library MSCOMCTL.OCX. Such manipulation leads to code injection. This vulnerability is listed as CVE-2012-0158. The attack may be performed from remote. In addition, an exploit is available. Applying a patch is advised to resolve this issue.

Detailsinfo

A vulnerability was found in Microsoft Office 2003/2007/2010 (Office Suite Software). It has been rated as critical. Affected by this issue is an unknown functionality in the library MSCOMCTL.OCX. The manipulation with an unknown input leads to a code injection vulnerability. Using CWE to declare the problem leads to CWE-94. 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. Impacted is confidentiality, and integrity. CVE summarizes:

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."

The bug was discovered 04/10/2012. The weakness was presented 04/10/2012 with Microsoft as MS12-027 as confirmed knowledge base article (Website). The advisory is shared for download at technet.microsoft.com. The public release was coordinated in cooperation with the vendor. This vulnerability is handled as CVE-2012-0158 since 12/13/2011. The attack may be launched remotely. The successful exploitation needs a simple authentication. Successful exploitation requires user interaction by the victim. Technical details as well as a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1059.

A public exploit has been developed in Ruby. The exploit is available at securityfocus.com. It is declared as attacked. The vulnerability was handled as a non-public zero-day exploit for at least 3067 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 58659 (MS12-027: Vulnerability in Windows Common Controls Could Allow Remote Code Execution (2664258)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Windows : Microsoft Bulletins and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 90793 (Microsoft Windows Common Controls Remote Code Execution Vulnerability (MS12-027)). This issue was added on 11/03/2021 to the CISA Known Exploited Vulnerabilities Catalog with a due date of 05/03/2022:

Apply updates per vendor instructions.

Applying the patch MS12-027 is able to eliminate this problem. The bugfix is ready for download at technet.microsoft.com. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (74372), Zero-Day.cz (54), Tenable (58659), SecurityFocus (BID 52911†) and OSVDB (81125†). See VDB-5049 for similar entry. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

Video

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.0
VulDB Meta Temp Score: 7.9

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Code injection
CWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Attacked
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

KEV Added: 🔍
KEV Due: 🔍
KEV Remediation: 🔍
KEV Ransomware: 🔍
KEV Notice: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 58659
Nessus Name: MS12-027: Vulnerability in Windows Common Controls Could Allow Remote Code Execution (2664258)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 902829
OpenVAS Name: Microsoft Windows Common Controls Remote Code Execution Vulnerability (2664258)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Saint ID: exploit_info/windows_common_controls_mscomctlocx
Saint Name: Microsoft Windows Common Controls MSCOMCTL.OCX Vulnerability

Qualys ID: 🔍
Qualys Name: 🔍

MetaSploit ID: ms12_027_mscomctl_bof.rb
MetaSploit Name: MS12-027 MSCOMCTL ActiveX Buffer Overflow
MetaSploit File: 🔍

Exploit-DB: 🔍
Zero-Day.cz: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: MS12-027
Suricata ID: 2017409
Suricata Class: 🔍
Suricata Message: 🔍

Timelineinfo

11/17/2003 🔍
12/13/2011 +2948 days 🔍
04/10/2012 +119 days 🔍
04/10/2012 +0 days 🔍
04/10/2012 +0 days 🔍
04/10/2012 +0 days 🔍
04/10/2012 +0 days 🔍
04/10/2012 +0 days 🔍
04/11/2012 +1 days 🔍
04/11/2012 +0 days 🔍
09/09/2024 +4534 days 🔍

Sourcesinfo

Vendor: microsoft.com

Advisory: MS12-027
Organization: Microsoft
Status: Confirmed
Coordinated: 🔍

CVE: CVE-2012-0158 (🔍)
GCVE (CVE): GCVE-0-2012-0158
GCVE (VulDB): GCVE-100-5048

OVAL: 🔍
IAVM: 🔍

X-Force: 74372
SecurityFocus: 52911 - Microsoft Windows Common Controls ActiveX Control Remote Code Execution Vulnerability
OSVDB: 81125 - CVE-2012-0158 - MS12-027 - Microsoft - Windows Common Controls - Code Execution Issue
SecurityTracker: 1026899

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 04/11/2012 15:13
Updated: 09/09/2024 22:29
Changes: 04/11/2012 15:13 (99), 07/17/2019 18:16 (3), 03/22/2021 16:54 (2), 04/19/2024 05:11 (23), 07/15/2024 13:19 (2), 07/24/2024 20:14 (12), 09/09/2024 22:29 (1)
Complete: 🔍
Cache ID: 216:F6F:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!