Windows Subsystem for Linux Elevation of Privilege Vulnerability (CVE-2020-1423)
The Windows Subsystem for Linux mishandled files, allowing an attacker with existing code execution to run a crafted application and gain elevated privileges. The update corrects how WSL handles files.
Originally disclosed on Microsoft
Description
An elevation of privilege vulnerability exists in the way that the Windows Subsystem for Linux handles files. An attacker who successfully exploited the vulnerability could execute code with elevated privileges. To exploit the vulnerability, an attacker would first need code execution on a victim system. An attacker could then run a specially crafted application. The security update addresses the vulnerability by correcting how the Windows Subsystem for Linux handles files.
Windows Subsystem for Linux
Windows Subsystem for Linux
Microsoft
Microsoft
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 incorrect handling of files by the Windows Subsystem for Linux allows privilege elevation.
Impact
An attacker with existing code execution could run a specially crafted application to execute code with elevated privileges.
What the attacker needed
Code execution on victim system
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.
This is a flaw in Windows Subsystem for Linux, a feature that lets Windows run Linux programs. If an attacker already had a way to run code on the machine, they could use this flaw to get higher-level permissions, like an administrator. The fix changes how files are handled to close that path.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.