MS12-046: Vulnerability in Visual Basic for Applications Could Allow Remote Code Execution (2707960)

High Nessus Plugin ID 59909


Arbitrary code can be executed on the remote host through Visual Basic for Applications.


The version of Visual Basic for Applications installed on the remote host is affected by an insecure library loading vulnerability.

A remote attacker could exploit this flaw by tricking a user into opening a legitimate Microsoft Office file located in the same directory as a maliciously crafted dynamic link library (DLL) file, resulting in arbitrary code execution.

Note that if an affected copy of VBE6.DLL was installed by a third- party application, it may be necessary to contact that application's vendor for an update.


Microsoft has released a set of patches for Office as well as Visual Basic for Applications Runtime and SDK.

See Also

Plugin Details

Severity: High

ID: 59909

File Name: smb_nt_ms12-046.nasl

Version: 1.11

Type: local

Agent: windows

Published: 2012/07/11

Updated: 2018/11/15

Dependencies: 57033, 13855

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 9.3

Temporal Score: 6.9

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/a:microsoft:office, cpe:/a:microsoft:visual_basic_software_development_kit

Required KB Items: SMB/MS_Bulletin_Checks/Possible

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2012/07/10

Vulnerability Publication Date: 2012/07/10

Reference Information

CVE: CVE-2012-1854

BID: 54303

MSFT: MS12-046

IAVA: 2012-A-0109

MSKB: 2598361, 2596744, 2598243, 2553447, 2688865, 2687626