Vulnerabilities > CVE-2010-0815 - Code Injection vulnerability in Microsoft products
Attack vector
NETWORK Attack complexity
MEDIUM Privileges required
NONE Confidentiality impact
COMPLETE Integrity impact
COMPLETE Availability impact
COMPLETE Summary
VBE6.DLL in Microsoft Office XP SP3, Office 2003 SP3, 2007 Microsoft Office System SP1 and SP2, Visual Basic for Applications (VBA), and VBA SDK 6.3 through 6.5 does not properly search for ActiveX controls that are embedded in documents, which allows remote attackers to execute arbitrary code via a crafted document, aka "VBE6.DLL Stack Memory Corruption Vulnerability."
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 8 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Leverage Executable Code in Non-Executable Files An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
- Manipulating User-Controlled Variables This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
Msbulletin
bulletin_id | MS10-031 |
bulletin_url | |
date | 2010-05-11T00:00:00 |
impact | Remote Code Execution |
knowledgebase_id | 978213 |
knowledgebase_url | |
severity | Critical |
title | Vulnerability in Microsoft Visual Basic for Applications Could Allow Remote Code Execution |
Nessus
NASL family | Windows : Microsoft Bulletins |
NASL id | SMB_NT_MS10-031.NASL |
description | 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 |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 46313 |
published | 2010-05-11 |
reporter | This script is Copyright (C) 2010-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/46313 |
title | MS10-031: Vulnerability in Microsoft Visual Basic for Applications Could Allow Remote Code Execution (978213) |
code |
|
Oval
accepted | 2014-05-26T04:06:29.841-04:00 | ||||||||||||||||||||
class | vulnerability | ||||||||||||||||||||
contributors |
| ||||||||||||||||||||
definition_extensions |
| ||||||||||||||||||||
description | VBE6.DLL in Microsoft Office XP SP3, Office 2003 SP3, 2007 Microsoft Office System SP1 and SP2, Visual Basic for Applications (VBA), and VBA SDK 6.3 through 6.5 does not properly search for ActiveX controls that are embedded in documents, which allows remote attackers to execute arbitrary code via a crafted document, aka "VBE6.DLL Stack Memory Corruption Vulnerability." | ||||||||||||||||||||
family | windows | ||||||||||||||||||||
id | oval:org.mitre.oval:def:7074 | ||||||||||||||||||||
status | accepted | ||||||||||||||||||||
submitted | 2010-05-11T13:00:00 | ||||||||||||||||||||
title | VBE6.DLL Stack Memory Corruption Vulnerability | ||||||||||||||||||||
version | 12 |
Seebug
bulletinFamily | exploit |
description | CVE-2010-0815 在Microsoft Visual Basic的应用程序(VBA)的中,可以被恶意的人利用来可能危及用户的系统。 该漏洞是由于在一些分析代码时,在文件中搜索支持VBA中的ActiveX控件(如Office文档文本在 Vbe6.dll的错误)。这可以被利用来转换外的缓冲区的范围为0x00值0x2E通过一个特制的带有嵌入式的ActiveX文件一个字节的控制传递给VBA运行。 Microsoft Office 2003 Professional Edition Microsoft Office 2003 Small Business Edition Microsoft Office 2003 Standard Edition Microsoft Office 2003 Student and Teacher Edition Microsoft Office 2007 Microsoft Office XP Microsoft Visual Basic for Applications 6.x Microsoft Visual Basic for Applications SDK 6.x 厂商补丁: Microsoft --------- Microsoft已经为此发布了一个安全公告(MS10-031)以及相应补丁: http://www.microsoft.com/technet/security/bulletin/ms10-031.mspx |
id | SSV:19593 |
last seen | 2017-11-19 |
modified | 2010-05-12 |
published | 2010-05-12 |
reporter | Root |
title | Visual Basic for Applications Single-Byte Stack Overwrite Vulnerability |