MS10-031: Vulnerability in Microsoft Visual Basic for Applications Could Allow Remote Code Execution (978213)

High Nessus Plugin ID 46313


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


A stack memory corruption vulnerability exists in the way that the installed version of Visual Basic for Applications (VBA) searches for ActiveX controls embedded in documents.

If an attacker can trick a user on the affected system into opening a specially crafted document that supports VBA, this vulnerability could be leveraged to execute arbitrary code subject to the user's privileges. This document could be of any type that supports VBA, such as a Word document, Excel spreadsheet, PowerPoint presentation, or one handled by a third-party application.

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: 46313

File Name: smb_nt_ms10-031.nasl

Version: 1.25

Type: local

Agent: windows

Published: 2010/05/11

Updated: 2018/11/15

Dependencies: 13855, 57033

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 9.3

Temporal Score: 8.1

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

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

Vulnerability Information

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

Required KB Items: SMB/MS_Bulletin_Checks/Possible

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2010/05/11

Vulnerability Publication Date: 2010/05/11

Reference Information

CVE: CVE-2010-0815

BID: 39931

MSFT: MS10-031

MSKB: 974945, 976321, 976380, 976382