CVE-2012-0158Microsoft MSCOMCTL.OCX Remote Code Execution Vulnerability
CVSS score
8.8
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
100.0%
100.0% chance of exploitation in the next 30 days, higher than 100.0% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 3 Nov 2021.
US federal deadline to fix: 3 May 2022.
Ransomware
Official 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."
Source: NVD · CNA: secure@microsoft.com
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 3 Nov 2021.
US federal agencies must fix it by 3 May 2022. It's a sensible deadline for everyone else too.
CISA reports it has been used in ransomware attacks.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running Microsoft Office Web Components, Microsoft Sql Server 2000, Microsoft Sql Server 2005, Microsoft Sql Server 2008, Microsoft Biztalk Server and compare its version with the affected versions.
Apply the vendor's fix
The official record doesn't name a fixed version. The vendor's advisory describes the fix:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Microsoft Office | 2003 · 2007 · 2010 |
| Microsoft Office Web Components | 2003 |
| Microsoft Sql Server 2000 | Not specified |
| Microsoft Sql Server 2005 | Not specified |
| Microsoft Sql Server 2008 | r2 |
| Microsoft Biztalk Server | 2002 |
| Microsoft Commerce Server | 2002 · 2007 |
| Microsoft Commerce Server 2009 | r2 |
| Microsoft Visual Basic | 6.0 |
| Microsoft Visual Foxpro | 8.0 · 9.0 |
Weakness
- CWE-94 code injection
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2012-0158 being exploited?
Yes. CISA added CVE-2012-0158 to its Known Exploited Vulnerabilities catalog on 3 Nov 2021, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 100.0% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2012-0158?
CVE-2012-0158 has a CVSS 3.1 base score of 8.8 (high).
Which versions are affected?
Microsoft Office (2003; 2007; 2010), Microsoft Office Web Components (2003), Microsoft Sql Server 2000, Microsoft Sql Server 2005, Microsoft Sql Server 2008 (r2), Microsoft Biztalk Server (2002)
Is there a patch for CVE-2012-0158?
The official record links to vendor advisories or patches; see “What to do” above.
References
- docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-027(Patch, Vendor Advisory)
- opensources.info/comment-on-the-curious-case-of-a-cve-2012-0158-exploit-by-chris-pierce/(Broken Link)
- www.securityfocus.com/bid/52911(Broken Link, Third Party Advisory, VDB Entry)
- www.securitytracker.com/id?1026899(Broken Link, Third Party Advisory, VDB Entry)
- www.securitytracker.com/id?1026900(Broken Link, Third Party Advisory, VDB Entry)
- www.securitytracker.com/id?1026902(Broken Link, Third Party Advisory, VDB Entry)
- www.securitytracker.com/id?1026903(Broken Link, Third Party Advisory, VDB Entry)
- www.securitytracker.com/id?1026904(Broken Link, Third Party Advisory, VDB Entry)
- www.securitytracker.com/id?1026905(Broken Link, Third Party Advisory, VDB Entry)
- www.us-cert.gov/cas/techalerts/TA12-101A.html(Third Party Advisory, US Government Resource)
- exchange.xforce.ibmcloud.com/vulnerabilities/74372(Third Party Advisory, VDB Entry)
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15462(Broken Link)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-0158(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.