CVE-2012-1856: Microsoft Office MSCOMCTL.OCX Remote Code Execution Vulnerability
The TabStrip ActiveX control in the Common Controls in MSCOMCTL.OCX in Microsoft Office 2003 SP3, Office 2003 Web Components SP3, Office 2007 SP2 and SP3, Office 2010 SP1, SQL Server 2000 SP4, SQL Server 2005 SP4, SQL Server 2008 SP2, SP3, R2, R2 SP1, and R2 SP2, Commerce Server 2002 SP4, Commerce Server 2007 SP2, Commerce Server 2009 Gold and R2, Host Integration Server 2004 SP1, Visual FoxPro 8.0 SP1, Visual FoxPro 9.0 SP2, and Visual Basic 6.0 Runtime allows remote attackers to execute arbitrary code via a crafted (1) document or (2) web page that triggers system-state corruption, aka "MSCOMCTL.OCX RCE Vulnerability."
CVE-2012-1856 is a remote code execution vulnerability in the TabStrip ActiveX control within MSCOMCTL.OCX, part of the Common Controls used by Microsoft Office. A crafted Office document or web page can trigger system-state corruption that lets an attacker run arbitrary code in the context of the user who opens the content. For IT and security teams this matters because Office is widely deployed on endpoints and the attack path is a common user action—opening a file or visiting a page—so successful exploitation can lead to full workstation compromise.
Public detail is limited to the description above; exact affected builds, scoring, and exploit mechanics must be confirmed against the vendor advisory. CISA lists the required action as applying updates per vendor instructions. Ransomware use is not documented for this CVE.
How it works
The underlying weakness is CWE-94 (Improper Control of Generation of Code). The TabStrip ActiveX control in MSCOMCTL.OCX mishandles certain input, allowing a malicious document or web page to corrupt system state. Once that corruption occurs, the attacker can cause the host process to execute code of their choosing under the privileges of the logged-on user.
In practice an attacker delivers a specially crafted Office file (for example via email or file share) or hosts a malicious page that instantiates the vulnerable control. When the victim opens the file or the page loads the control, the corruption path is triggered. No further user interaction beyond opening the content is required once the control is invoked. Specific payload construction details are not provided in the public summary and should not be assumed; defenders should treat any untrusted document or page that loads MSCOMCTL.OCX controls as potentially dangerous until the component is patched.
Am I affected? How to find it in your systems
Microsoft Office installations that include the Common Controls library MSCOMCTL.OCX are in scope. The control is typically present on Windows desktops and laptops where Office is installed, and may also appear in environments that embed Office components or allow ActiveX in the browser.
- Inventory: Query software inventory or endpoint management tools for Microsoft Office and for the presence of MSCOMCTL.OCX (commonly under System32 or SysWOW64). Confirm the exact Office versions and service-pack levels against the vendor advisory, because public detail here does not list them.
- Configuration: Note whether ActiveX controls are enabled in Internet Explorer / Edge IE mode, Outlook, or other Office applications that host ActiveX. Environments that restrict ActiveX reduce exposure but do not eliminate the document-based path.
- Telemetry: Look for crashes or unexpected behavior in Office processes (WINWORD.EXE, EXCEL.EXE, etc.) shortly after opening external documents, or for process-creation events spawned from those Office processes that are atypical for the user. Web-proxy or browser logs showing loads of pages that instantiate MSCOMCTL-related controls can also be useful indicators. Absence of such signals does not prove safety; the primary check remains version and patch status.
How to remediate
Patch first. Apply the Microsoft updates that address CVE-2012-1856 exactly as described in the vendor advisory. CISA’s required action is to apply updates per vendor instructions; follow that guidance and verify installation through your patch-management console or by checking file versions of MSCOMCTL.OCX against the advisory.
After patching, harden the environment against the broader class of ActiveX and Office document threats:
- Enforce least privilege so that users do not run as local administrators.
- Disable or restrict unnecessary ActiveX controls via Group Policy or application control.
- Enable Protected View and other Office security features that open untrusted documents in a sandbox.
- Keep Office and the underlying Windows components on a supported, regularly updated baseline.
If you can't patch immediately
Until the vendor update can be deployed, reduce risk with compensating controls:
- Network and host segmentation: Limit outbound connectivity from workstations that handle untrusted documents, and isolate high-value systems from general Office users.
- Application control / allow-listing: Block execution of Office processes from spawning unexpected child processes, or restrict loading of the vulnerable OCX where feasible.
- Virtual patching / WAF: If web-based delivery is a concern, use browser or proxy rules to block or sandbox pages that attempt to instantiate the TabStrip control; confirm rule coverage with the vendor of your security tool.
- Feature disablement: Where business needs allow, disable ActiveX in the browser and in Office applications, or configure Office to open files from the internet only in Protected View without editing.
- Heightened monitoring: Alert on Office process anomalies, unexpected network connections from Office binaries, and user reports of crashes when opening external documents. Retain relevant logs for later forensic review.
These measures lower likelihood and impact but are not substitutes for the official patch.
If your data may have been exposed
Actively exploited remote-code-execution vulnerabilities in desktop productivity software frequently serve as the initial access vector for broader intrusions and data theft. If you have reason to believe systems were compromised before patching, follow your incident-response process: isolate affected hosts, preserve evidence, and assess whether credentials or sensitive files were accessed. As one additional check, you can run a free exposure scan of your email addresses against known breach data sets to see whether associated accounts appear in prior public breaches.
AICompiled with AI assistance from public sources and published under our editorial standards.
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HReferences
- www.securityfocus.com/bid/54948
- www.us-cert.gov/cas/techalerts/TA12-227A.html
- docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-060
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-1856