Exploit database

Vulnerability

CVE-2015-0096

Vulnerability details

Score
9.3
Severity
high

CVSS 2.0 · NVD

Vector string

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

Description

Untrusted search path vulnerability in Microsoft Windows Server 2003 SP2, Windows Vista SP2, Windows Server 2008 SP2 and R2 SP1, Windows 7 SP1, Windows 8, Windows 8.1, Windows Server 2012 Gold and R2, and Windows RT Gold and 8.1 allows local users to gain privileges via a Trojan horse DLL in the current working directory, leading to DLL loading during Windows Explorer access to the icon of a crafted shortcut, aka "DLL Planting Remote Code Execution Vulnerability."

CVE Program

Exploit source choices

3 sources
Microsoft Windows Shell LNK Code Execution
MSF-windows--fileformat--ms15_020_shortcut_icon_dllloaderMetasploitWindows / remote

This module exploits a vulnerability in the MS10-046 patch to abuse (again) the handling of Windows Shortcut files (.LNK) that contain an icon resource pointing to a malicious DLL. This module creates the required files to exploit the vulnerability. They must be uploaded to an UNC path accessible by the target. This module has been tested successfully on Windows 2003 SP2 with MS10-046 installed and Windows 2008 SP2 (32 bits) with MS14-027 installed.

2015-03-10ms15_020_shortcut_icon_dllloader.rb
Microsoft Windows Shell LNK Code Execution
MSF-windows--smb--ms15_020_shortcut_icon_dllloaderMetasploitWindows / remote

This module exploits a vulnerability in the MS10-046 patch to abuse (again) 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 and the trigger, and generates a LNK file which must be sent to the target. This module has been tested successfully on Windows 2003 SP2 with MS10-046 installed and Windows 2008 SP2 (32 bits) with MS14-027 installed.

2015-03-10ms15_020_shortcut_icon_dllloader.rb