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

high Nessus Plugin ID 46313


New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.


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: 5/11/2010

Updated: 11/15/2018

Dependencies: smb_hotfixes.nasl, ms_bulletin_checks_possible.nasl

Risk Information


Risk Factor: High

Score: 8.9


Risk Factor: High

Base Score: 9.3

Temporal Score: 8.1

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

Temporal Vector: 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: 5/11/2010

Vulnerability Publication Date: 5/11/2010

Reference Information

CVE: CVE-2010-0815

BID: 39931

MSFT: MS10-031

MSKB: 974945, 976321, 976380, 976382