Summary
Microsoft VBA/VBE6.dll incorrectly resolves external libraries from the current working directory. An attacker can plant a malicious DLL beside a legitimate Office document on an SMB or WebDAV share and trick a user into opening it, causing Office to load and execute the DLL. The impact is arbitrary code execution in the victim's context, with complete system compromise possible if the user is privileged.
Why Planned Fix?
3/6Exploitation Details
Execute arbitrary code in the Office user's context, potentially taking complete control of the system.
RCE (Remote Code Execution)Affected Software
| Product | Affected Versions |
|---|---|
| Microsoft Office | 2003 SP3, 2007 SP2 and SP3, 2010 Gold and SP1 |
| Microsoft Visual Basic for Applications | all supported versions |
| Microsoft Visual Basic for Applications SDK | 6.3 through 6.5 |
Microsoft Office is a desktop productivity suite for creating and editing documents, spreadsheets, presentations, and email. The VBA runtime and SDK provide macro and automation support used by Office and some third-party applications.
Affected ComponentVBE6.dll's external library loading logic in VBA, which resolves DLLs from the current working directory and can load a malicious DLL placed beside an Office document.
VBE6.dll's external library loading logic in VBA, which resolves DLLs from the current working directory and can load a malicious DLL placed beside an Office document.
Disable loading libraries from WebDAV and remote network shares using the KB2264107 workaround tool, or disable the WebClient service and block TCP 139/445.
Disable loading libraries from WebDAV and remote network shares using the KB2264107 workaround tool, or disable the WebClient service and block TCP 139/445.
Apply the MS12-046 security updates for Office 2003 SP3, 2007 SP2/SP3, or 2010 Gold/SP1; update VBA runtime/SDK installations that ship VBE6.dll, including third-party copies.
Apply the MS12-046 security updates for Office 2003 SP3, 2007 SP2/SP3, or 2010 Gold/SP1; update VBA runtime/SDK installations that ship VBE6.dll, including third-party copies.
Not available
Probability of exploitation in the next 30 days
Worse than 80% of all CVEs
No known threat actors
NVD Data
Description Summary
CVSS Base Score
CVSS Vector (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
Affected Software (CPE) (9)
- •cpe:2.3:a:microsoft:office:2003:sp3:*:*:*:*:*:*
- •cpe:2.3:a:microsoft:office:2007:sp2:*:*:*:*:*:*
- •cpe:2.3:a:microsoft:office:2007:sp3:*:*:*:*:*:*
- •cpe:2.3:a:microsoft:office:2010:*:x86:*:*:*:*:*
- •cpe:2.3:a:microsoft:office:2010:sp1:*:*:*:*:*:*
- •cpe:2.3:a:microsoft:office:2010:sp1:x64:*:*:*:*:*
- •cpe:2.3:a:microsoft:office:2010:sp1:x86:*:*:*:*:*
- •cpe:2.3:a:microsoft:visual_basic_for_applications:*:*:*:*:*:*:*:*
- •cpe:2.3:a:microsoft:visual_basic_for_applications_sdk:*:*:*:*:*:*:*:*
Sources
| Source | Article |
|---|---|
| learn.microsoft.com | Microsoft Security Bulletin MS12-046 |
| www.microsoft.com | Assessing risk for the July 2012 security updates |
| nvd.nist.gov | CVE-2012-1854 Detail |
| learn.microsoft.com | Microsoft Security Advisory 2269637 |
| support.microsoft.com | MS10-031 VBA vulnerability |
| www.tenable.com | MS12-046 Nessus Plugin 59909 |
| oval.cisecurity.org | oval:org.mitre.oval:def:14950 |
Priority History
Initial analysis