CVE-2012-0158
HIGH KEV RANSOMWAREMicrosoft Office and Components - Remote Code Execution via Crafted File
Title source: llmExploitation Summary
CVE-2012-0158 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added November 3, 2021, with confirmed use in ransomware campaigns.
EIP tracks 4 public exploits from researchers including Metasploit, Sunqiz, RobertoLeonFR-ES, including a Metasploit module exploits/windows/fileformat/ms12_027_mscomctl_bof.
AI-analyzed exploit summary This is a Metasploit module exploiting a stack buffer overflow in MSCOMCTL.OCX via a malicious RTF file embedding the MSComctlLib.ListViewCtrl.2 ActiveX control. It targets Office 2007 and 2010, using a ROP chain for DEP/ASLR bypass on Office 2010.
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."
Exploits (4)
This is a Metasploit module exploiting a stack buffer overflow in MSCOMCTL.OCX via a malicious RTF file embedding the MSComctlLib.ListViewCtrl.2 ActiveX control. It targets Office 2007 and 2010, using a ROP chain for DEP/ASLR bypass on Office 2010.
This repository contains a proof-of-concept exploit for CVE-2012-0158, demonstrating a remote code execution vulnerability in Microsoft Windows. The exploit uses shellcode to load user32.dll and display a MessageBox, showcasing the ability to execute arbitrary code.
The repository contains only a README.md file with minimal information about an exploit for CVE-2012-0158, mentioning Microsoft Defender detection but no actual exploit code or technical details.
This Metasploit module exploits a stack buffer overflow in MSCOMCTL.OCX via a malicious RTF file embedding a crafted MSComctlLib.ListViewCtrl.2 control, targeting Office 2007 and 2010 with DEP/ASLR bypass techniques.
References (13)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H