CVE Tools

CVE-2012-0158

CVE-2012-0158 is a code injection in Microsoft Office (CVSS 8.8, High).

Exploited in the wild. In CISA KEV since 2021‑11‑03. A vendor fix is available.

Check it yourself

OpenVAS · 1 check

e.g. OID 1.3.6.1.4.1.25623.1.0.902829

Run the check

Published Updated Sources: CVE.org, NVD, BDU

What to do

The vendor has published a fix. Version details are below where the sources state them.

  • Microsoft Corp Microsoft Visual BasicAffected: 6.0Upgrade to: not statedStated by: BDU
  • Microsoft Corp SQL ServerAffected: 2000 SP4Upgrade to: not statedStated by: BDU
  • Microsoft Corp Microsoft Commerce ServerAffected: 2002 SP4Upgrade to: not statedStated by: BDU
  • Microsoft Corp BizTalk ServerAffected: 2002 SP1Upgrade to: not statedStated by: BDU
  • Microsoft Corp Visual FoxProAffected: 8.0 SP1Upgrade to: not statedStated by: BDU

Versions as the sources state them. Full version matrix after sign-in

Steps

Written by AI from the record
  1. Check whether your business computers or servers use Microsoft Office components that include MSCOMCTL.OCX (or the related Office/Office Web Components/Office Visual Basic / SQL Server / BizTalk / Commerce Server runtimes identified as affected by this CVE).
  2. Verify whether Microsoft security update MS12-027 is installed on those machines (or confirm you’re on a state equivalent to the MS12-027 remediation).
  3. If MS12-027 is not present, install the Microsoft fix from MS12-027 immediately on all affected systems.
  4. After patching, restart the affected applications/devices and confirm the Office/SQL/BizTalk/Commerce/VBA-related components continue to function normally.

Coverage timeline

1 publisher
  1. Technical analysis published

    ·Daily CyberSecurity (securityonline.info)
  2. Added to CISA KEV catalog

    ·CISA KEV

Sourced from public security reporting — each date is when it was published, not when it happened.

What it is

From the CVE record

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

In plain language

Written by AI from the record

This is a Microsoft Office/Windows component bug that can let an attacker run code on your computer after tricking you with a specially made web page, Office document, or .rtf file; if you use any affected Microsoft Office components, you should treat this as urgent to patch.

CVE-2012-0158 is a remote code execution vulnerability in the ListView/ListView2/TreeView/TreeView2 ActiveX controls (MSCOMCTL.OCX) that can be triggered by a crafted web site, Office document, or .rtf file without needing the attacker to authenticate; CISA lists it in KEV with a required remediation deadline of 2022-05-03.

If you're affected

  • Full system compromise
  • Stealing business data
  • Ransomware installation risk
  • Operational disruption

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS99th
CISA KEV
CISA KEV

Listed as exploited in the wild since 2021-11-03.

US federal agencies must remediate by 2022-05-03.

Known use in ransomware campaigns.

Apply updates per vendor instructions.
Public exploits

No public exploit or proof of concept found in the sources we track.

EPSS

100% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

7 events over 5189 days, from the signal feeds we watch.

  1. OpenVAS check added
  2. Patch availablerecord updated
  3. Added to CISA KEV
  4. Publishedweakness classified, att&ck mapped

Affected products

Technical detail

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Scored 8.8 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required NoneNo authentication required — anyone can exploit this
  • User Interaction RequiredA user must click a link, open a file, or perform some action

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability HighTotal denial of service — the component is completely unavailable

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Questions about CVE-2012-0158

Is CVE-2012-0158 being exploited?
Yes. CVE-2012-0158 is in CISA's Known Exploited Vulnerabilities catalog since 2021-11-03, which means attackers are using it in the wild. It is known to be used in ransomware campaigns.
Which versions are affected by CVE-2012-0158?
Microsoft Visual Basic: 6.0. SQL Server: 2000 SP4. Microsoft Commerce Server: 2002 SP4. 2 more products are listed in the record.
How do I fix or mitigate CVE-2012-0158?
The vendor has published a fix. The advisory is on docs.microsoft.com.

Last updated

Related articles

All articles

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next exploited one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Microsoft, not every advisory. This one: actively exploited.