Vulnerabilities > CVE-2012-0182 - Code Injection vulnerability in Microsoft Word 2007

047910
CVSS 9.3 - CRITICAL
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
microsoft
CWE-94
critical
nessus

Summary

Microsoft Word 2007 SP2 and SP3 does not properly handle memory during the parsing of Word documents, which allows remote attackers to execute arbitrary code via a crafted document, aka "Word PAPX Section Corruption Vulnerability."

Vulnerable Configurations

Part Description Count
Application
Microsoft
2

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_idMS12-064
bulletin_url
date2012-10-09T00:00:00
impactRemote Code Execution
knowledgebase_id2742319
knowledgebase_url
severityCritical
titleVulnerabilities in Microsoft Word Could Allow Remote Code Execution

Nessus

NASL familyWindows : Microsoft Bulletins
NASL idSMB_NT_MS12-064.NASL
descriptionThe version of Office, Office Compatibility Pack, Microsoft Word Viewer, Microsoft Office Web Apps, and/or Microsoft Share Point Server installed on the remote host is affected by multiple remote code execution vulnerabilities : - A flaw in the way Microsoft Word handles Word files can allow an attacker to execute arbitrary code by tricking a user into opening a specially crafted Word file. (CVE-2012-0182) - A flaw in the way Microsoft Office handles RTF files can be exploited to execute arbitrary code by tricking a user into opening a specially crafted RTF document. (CVE-2012-2528)
last seen2020-06-01
modified2020-06-02
plugin id62459
published2012-10-10
reporterThis script is Copyright (C) 2012-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/62459
titleMS12-064: Vulnerabilities in Microsoft Word Could Allow Remote Code Execution (2742319)

Oval

accepted2013-10-14T04:00:07.266-04:00
classvulnerability
contributors
  • nameSecPod Team
    organizationSecPod Technologies
  • nameDragos Prisaca
    organizationG2, Inc.
  • nameMaria Kedovskaya
    organizationALTX-SOFT
definition_extensions
  • commentMicrosoft Word 2007 SP2 is installed
    ovaloval:org.mitre.oval:def:15826
  • commentMicrosoft Word 2007 SP3 is installed
    ovaloval:org.mitre.oval:def:15946
descriptionMicrosoft Word 2007 SP2 and SP3 does not properly handle memory during the parsing of Word documents, which allows remote attackers to execute arbitrary code via a crafted document, aka "Word PAPX Section Corruption Vulnerability."
familywindows
idoval:org.mitre.oval:def:15426
statusaccepted
submitted2012-10-17T10:23:14
titleWord PAPX Section Corruption Vulnerability - MS12-064
version10

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 55781 CVE(CAN) ID: CVE-2012-0182 Microsoft Word属于办公软件是微软公司的一个文字处理器应用程序。 Microsoft Office处理特制Word文件时存在远程代码执行漏洞,成功利用此漏洞的攻击者可完全控制受影响系统。 0 Microsoft Word 2007 临时解决方法: 如果您不能立刻安装补丁或者升级,NSFOCUS建议您采取以下措施以降低威胁: * 使用Microsoft Office File Block策略阻止打开来自未知或可疑源和位置的Office 2003 及更早版本文档。 * 打开来自未知或可疑源和位置的文件时,使用MOICE。 * 不要打开来自未知或可疑源和位置的Office文件。 厂商补丁: Microsoft --------- Microsoft已经为此发布了一个安全公告(MS12-064)以及相应补丁: MS12-064:Vulnerabilities in Microsoft Word Could Allow Remote Code Execution (2742319) 链接:http://www.microsoft.com/technet/security/bulletin/MS12-064.asp
idSSV:60429
last seen2017-11-19
modified2012-10-11
published2012-10-11
reporterRoot
titleMicrosoft Word PAPX节破坏远程代码执行漏洞(MS12-064)