Windows Explorer Remote Code Execution Vulnerability (CVE-2017-8463)
Windows Explorer mishandled executable files and shares during rename operations, so a crafted share could make malware appear as a folder. An attacker who tricked a user into browsing the share could run arbitrary code in that user's context.
Tencent Security – Sword Team working with Trend Micro’s Zero Day Initiative (ZDI) Follow
Originally disclosed on Microsoft
Description
A remote code execution vulnerability exists when Windows Explorer improperly handles executable files and shares during rename operations. An attacker who successfully exploited this vulnerability could run arbitrary code in the context of another user. Users not running as administrators would be less affected. To exploit this vulnerability, an attacker would first share both a folder and malware named with an executable extension, and then trick the user into thinking that the malware was the folder. The attacker could not force the user to open or browse the share but could use email or instant messages to trick them into doing so. The update addresses the vulnerability by correcting how Windows Explorer handles executable files and shares during rename operations.
Windows Shell
Windows Shell
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a logic flaw in how Explorer handled executable files and shares during rename operations, allowing a file to be presented as a folder.
Impact
An attacker could run arbitrary code in the context of another user, though users not running as administrators would be less affected.
What the attacker needed
Attacker can share a folder and a file; victim browses the attacker's share; victim is tricked via email or IM
The fix
The vulnerability was fixed by an update that corrected how Windows Explorer handles executable files and shares during rename operations.
How it was found
- Share a folder and malware named with an executable extension
- Trick the user into thinking the malware is the folder
- Use email or instant messages to get the user to open or browse the share
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Windows Explorer is the file browser in Windows. A flaw in how it renamed files and network shares let an attacker disguise a malicious program as an ordinary folder, so a user who opened it could run the attacker's code on their own machine.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.