CVE-2012-0158 in microsoft office
The LogPulse agent checks every host for the vulnerable version of this software, so you see where the CVE is present.
What the vulnerability is
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."
Affected software: microsoft office, microsoft office web components, microsoft sql server 2000, microsoft sql server 2005, microsoft sql server 2008, microsoft biztalk server, microsoft commerce server, microsoft commerce server 2009, microsoft visual basic, microsoft visual foxpro
Scores
- CVSS: 8.8 (high)
- EPSS: 99.98% chance of exploitation in the next 30 days
- CISA KEV: Known exploited, listed 2021-11-03, used in ransomware
- Published: 2012-04-10
What LogPulse has for it
- Detection rule: No
- Agent check (vulnerable version): Yes, published
- Mitigation: Yes, see below
How to mitigate it
Install MS12-027 (MSCOMCTL.OCX) or retire the affected Office/SQL Server/VB6 versions
Patch or upgrade. Installs Microsoft security bulletin MS12-027, which replaces the vulnerable MSCOMCTL.OCX Common Controls used by malicious RTF and Office documents for code execution. All affected products are long out of support, so removing or upgrading them removes the risk for good.
Applies to: Office 2003 SP3, 2007 SP2/SP3, 2010 RTM/SP1; Office 2003 Web Components; SQL Server 2000/2005/2008/2008 R2; BizTalk Server 2002; Commerce Server 2002/2007/2009; Visual FoxPro 8.0/9.0; VB 6.0 Runtime, without MS12-027.
- Inventory hosts that still run Office 2003 SP3, 2007 SP2/SP3 or 2010 (RTM/SP1), Office 2003 Web Components, SQL Server 2000/2005/2008/2008 R2, BizTalk Server 2002, Commerce Server 2002/2007/2009, Visual FoxPro 8.0/9.0 or the Visual Basic 6.0 Runtime.
- Where the product must stay, install the MS12-027 update for that product from Windows Update, Microsoft Update or WSUS (approve the MS12-027 updates and push them to the affected hosts).
- Restart the Office applications or the host when the installer asks for it.
- Prefer to replace end-of-life Office 2003/2007/2010 and old SQL Server releases with a supported version; these no longer receive security fixes.
- Until patched, block or quarantine inbound RTF and legacy Office attachments at the mail gateway and keep Office Protected View enabled.
- Run a vulnerability scan and confirm CVE-2012-0158 is no longer reported.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.