Vulnerabilities > CVE-2010-2568 - Improper Input Validation vulnerability in Microsoft products
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Windows Shell in Microsoft Windows XP SP3, Server 2003 SP2, Vista SP1 and SP2, Server 2008 SP2 and R2, and Windows 7 allows local users or remote attackers to execute arbitrary code via a crafted (1) .LNK or (2) .PIF shortcut file, which is not properly handled during icon display in Windows Explorer, as demonstrated in the wild in July 2010, and originally reported for malware that leverages CVE-2010-2772 in Siemens WinCC SCADA systems.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
OS | 21 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Server Side Include (SSI) Injection An attacker can use Server Side Include (SSI) Injection to send code to a web application that then gets executed by the web server. Doing so enables the attacker to achieve similar results to Cross Site Scripting, viz., arbitrary code execution and information disclosure, albeit on a more limited scale, since the SSI directives are nowhere near as powerful as a full-fledged scripting language. Nonetheless, the attacker can conveniently gain access to sensitive files, such as password files, and execute shell commands.
- Cross Zone Scripting An attacker is able to cause a victim to load content into their web-browser that bypasses security zone controls and gain access to increased privileges to execute scripting code or other web objects such as unsigned ActiveX controls or applets. This is a privilege elevation attack targeted at zone-based web-browser security. In a zone-based model, pages belong to one of a set of zones corresponding to the level of privilege assigned to that page. Pages in an untrusted zone would have a lesser level of access to the system and/or be restricted in the types of executable content it was allowed to invoke. In a cross-zone scripting attack, a page that should be assigned to a less privileged zone is granted the privileges of a more trusted zone. This can be accomplished by exploiting bugs in the browser, exploiting incorrect configuration in the zone controls, through a cross-site scripting attack that causes the attackers' content to be treated as coming from a more trusted page, or by leveraging some piece of system functionality that is accessible from both the trusted and less trusted zone. This attack differs from "Restful Privilege Escalation" in that the latter correlates to the inadequate securing of RESTful access methods (such as HTTP DELETE) on the server, while cross-zone scripting attacks the concept of security zones as implemented by a browser.
- Cross Site Scripting through Log Files An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
- Command Line Execution through SQL Injection An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.
Exploit-Db
description Microsoft Windows Automatic LNK Shortcut File Code Execution. CVE-2010-2568,CVE-2015-0096. Local exploit for windows platform id EDB-ID:14403 last seen 2016-02-01 modified 2010-07-18 published 2010-07-18 reporter Ivanlef0u source https://www.exploit-db.com/download/14403/ title Microsoft Windows - Automatic LNK Shortcut File Code Execution description Microsoft Windows Shell LNK Code Execution. CVE-2010-2568. Remote exploit for windows platform id EDB-ID:16574 last seen 2016-02-02 modified 2010-09-21 published 2010-09-21 reporter metasploit source https://www.exploit-db.com/download/16574/ title Microsoft Windows Shell LNK Code Execution
Metasploit
description This module exploits a vulnerability in the handling of Windows Shortcut files (.LNK) that contain an icon resource pointing to a malicious DLL. This module creates a WebDAV service that can be used to run an arbitrary payload when accessed as a UNC path. id MSF:EXPLOIT/WINDOWS/BROWSER/MS10_046_SHORTCUT_ICON_DLLLOADER last seen 2020-06-14 modified 1976-01-01 published 1976-01-01 references https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-2568 reporter Rapid7 source https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/browser/ms10_046_shortcut_icon_dllloader.rb title Microsoft Windows Shell LNK Code Execution description This module exploits a vulnerability in the handling of Windows Shortcut files (.LNK) that contain an icon resource pointing to a malicious DLL. This creates an SMB resource to provide the payload inside a DLL, and generates a LNK file which must be sent to the target. id MSF:EXPLOIT/WINDOWS/SMB/MS10_046_SHORTCUT_ICON_DLLLOADER last seen 2020-06-14 modified 1976-01-01 published 1976-01-01 references reporter Rapid7 source https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/smb/ms10_046_shortcut_icon_dllloader.rb title Microsoft Windows Shell LNK Code Execution
Msbulletin
bulletin_id | MS10-046 |
bulletin_url | |
date | 2010-08-02T00:00:00 |
impact | Remote Code Execution |
knowledgebase_id | 2286198 |
knowledgebase_url | |
severity | Critical |
title | Vulnerability in Windows Shell Could Allow Remote Code Execution |
Nessus
NASL family Windows NASL id SMB_KB_2286198.NASL description Windows Shell does not properly validate the parameters of a shortcut file when loading its icon. Attempting to parse the icon of a specially crafted shortcut file can result in arbitrary code execution. A remote attacker could exploit this by tricking a user into viewing a malicious shortcut file via Windows Explorer, or any other application that parses the shortcut last seen 2020-06-01 modified 2020-06-02 plugin id 47750 published 2010-07-18 reporter This script is Copyright (C) 2010-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/47750 title MS KB2286198: Windows Shell Shortcut Icon Parsing Arbitrary Code Execution (EASYHOOKUP) NASL family Windows : Microsoft Bulletins NASL id SMB_NT_MS10-046.NASL description The remote windows host contains a version of the Windows Shell that contains a vulnerability in the way it handles shortcut icons. An attacker, exploiting this flaw, can execute arbitrary commands on the remote host subject to the privileges of the user opening the shortcut. EASYHOOKUP is one of multiple Equation Group vulnerabilities and exploits disclosed on 2017/04/14 by a group known as the Shadow Brokers. last seen 2020-06-01 modified 2020-06-02 plugin id 48216 published 2010-08-02 reporter This script is Copyright (C) 2010-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/48216 title MS10-046: Vulnerability in Windows Shell Could Allow Remote Code Execution (2286198) (EASYHOOKUP)
Oval
accepted | 2012-03-26T04:00:07.602-04:00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
class | vulnerability | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
contributors |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
definition_extensions |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
description | Windows Shell in Microsoft Windows XP SP3, Server 2003 SP2, Vista SP1 and SP2, Server 2008 SP2 and R2, and Windows 7 allows local users or remote attackers to execute arbitrary code via a crafted (1) .LNK or (2) .PIF shortcut file, which is not properly handled during icon display in Windows Explorer, as demonstrated in the wild in July 2010, and originally reported for malware that leverages CVE-2010-2772 in Siemens WinCC SCADA systems. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
family | windows | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
id | oval:org.mitre.oval:def:11564 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
status | accepted | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
submitted | 2010-07-19T13:00:00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
title | Windows Shell Vulnerability | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
version | 78 |
Packetstorm
data source https://packetstormsecurity.com/files/download/91994/ms10_xxx_windows_shell_lnk_execute.rb.txt id PACKETSTORM:91994 last seen 2016-12-05 published 2010-07-21 reporter H D Moore source https://packetstormsecurity.com/files/91994/Microsoft-Windows-Shell-LNK-Code-Execution.html title Microsoft Windows Shell LNK Code Execution data source https://packetstormsecurity.com/files/download/92425/ms10_046_shortcut_icon_dllloader.rb.txt id PACKETSTORM:92425 last seen 2016-12-05 published 2010-08-05 reporter H D Moore source https://packetstormsecurity.com/files/92425/Microsoft-Windows-Shell-LNK-Code-Execution.html title Microsoft Windows Shell LNK Code Execution
Saint
bid | 41732 |
description | Windows Shell LNK file CONTROL item command execution |
id | win_patch_shellshortcut |
osvdb | 66387 |
title | windows_shell_lnk_control |
type | client |
Related news
References
- http://isc.sans.edu/diary.html?storyid=9190
- http://www.microsoft.com/technet/security/advisory/2286198.mspx
- http://securitytracker.com/id?1024216
- http://www.f-secure.com/weblog/archives/00001986.html
- http://www.securityfocus.com/bid/41732
- http://secunia.com/advisories/40647
- http://www.f-secure.com/weblog/archives/new_rootkit_en.pdf
- http://isc.sans.edu/diary.html?storyid=9181
- http://www.kb.cert.org/vuls/id/940193
- http://krebsonsecurity.com/2010/07/experts-warn-of-new-windows-shortcut-flaw/
- http://www.us-cert.gov/cas/techalerts/TA10-222A.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11564
- https://www.geoffchappell.com/notes/security/stuxnet/ctrlfldr.htm
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2010/ms10-046