Visual Basic for Applications insecure library loading
CVE-2012-1854Known exploitedHigh
Visual Basic for Applications searches for required libraries in the current working directory before checking system paths. An attacker can place a malicious DLL in a directory alongside a document file and trick a user into opening that document, causing the application to load and execute the attacker's code with the user's privileges. The attacker needs only the ability to write files to a directory where a user might open a document.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
- Added to KEV
- 13 Apr
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Detail
Microsoft Visual Basic for Applications (VBA). CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Weakness: CWE-426 (opens in a new tab)
Affected versions
- microsoft office: 2003
- microsoft office: 2007
- microsoft office: 2010
- microsoft visual basic for applications: All versions listed
- microsoft visual basic for applications sdk: All versions listed