Vulnerabilities > CVE-2012-4774 - Code Injection vulnerability in Microsoft products
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Microsoft Windows XP SP2 and SP3, Windows Server 2003 SP2, Windows Vista SP2, Windows Server 2008 SP2, R2, and R2 SP1, and Windows 7 Gold and SP1 allow remote attackers to execute arbitrary code via a crafted (1) file name or (2) subfolder name that triggers use of unallocated memory as the destination of a copy operation, aka "Windows Filename Parsing Vulnerability."
Vulnerable Configurations
Part | Description | Count |
---|---|---|
OS | 17 |
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 | MS12-081 |
bulletin_url | |
date | 2012-12-11T00:00:00 |
impact | Remote Code Execution |
knowledgebase_id | 2758857 |
knowledgebase_url | |
severity | Critical |
title | Vulnerability in Windows File Handling Component Could Allow Remote Code Execution |
Nessus
NASL family | Windows : Microsoft Bulletins |
NASL id | SMB_NT_MS12-081.NASL |
description | The remote host is affected by a remote code execution vulnerability that could be exploited if a user browses to a folder containing a file or subfolder with a specially crafted name. When exploiting this vulnerability, an attacker could gain the same user permissions as the current user. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 63228 |
published | 2012-12-11 |
reporter | This script is Copyright (C) 2012-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/63228 |
title | MS12-081: Vulnerability in Windows File Handling Component Could Allow Remote Code Execution (2758857) |
code |
|
Oval
accepted | 2014-04-28T04:00:08.734-04:00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
class | vulnerability | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
contributors |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
definition_extensions |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
description | Microsoft Windows XP SP2 and SP3, Windows Server 2003 SP2, Windows Vista SP2, Windows Server 2008 SP2, R2, and R2 SP1, and Windows 7 Gold and SP1 allow remote attackers to execute arbitrary code via a crafted (1) file name or (2) subfolder name that triggers use of unallocated memory as the destination of a copy operation, aka "Windows Filename Parsing Vulnerability." | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
family | windows | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
id | oval:org.mitre.oval:def:15901 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
status | accepted | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
submitted | 2012-12-12T08:31:52 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
title | Windows Filename Parsing Vulnerability - MS12-081 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
version | 79 |
Seebug
bulletinFamily | exploit |
description | CVE(CAN) ID: CVE-2012-4774 Microsoft Windows是微软公司推出的一系列操作系统。 Microsoft Windows在解析文件或子文件名称时存在错误,通过诱使用户浏览带有特制名称的文件或子文件夹的文件系统,未经身份验证的远程攻击者可利用此漏洞以当前用户权限执行任意代码。 0 Microsoft Windows 7 Microsoft Windows XP Professional Microsoft Windows XP Home Edition Microsoft Windows Vista Microsoft Windows Storage Server 2003 Microsoft Windows Server 2008 Microsoft Windows Server 2003 Web Edition Microsoft Windows Server 2003 Standard Edition Microsoft Windows Server 2003 Enterprise Editi Microsoft Windows Server 2003 Datacenter Editi 厂商补丁: Microsoft --------- Microsoft已经为此发布了一个安全公告(MS12-081)以及相应补丁: MS12-081:Vulnerability in Windows File Handling Component Could Allow Remote Code Execution (2758857) 链接:http://www.microsoft.com/technet/security/bulletin/MS12-081.mspx 补丁下载:http://update.microsoft.com/ |
id | SSV:60507 |
last seen | 2017-11-19 |
modified | 2012-12-13 |
published | 2012-12-13 |
reporter | Root |
title | Microsoft Windows文件名处理任意代码执行漏洞(MS12-081) |