Windows Subsystem for Linux Elevation of Privilege Vulnerability (CVE-2020-0636)
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.
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
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, though the text does not state the specific mistake.
Impact
An attacker who already had code execution could run code with elevated privileges.
What the attacker needed
Code execution on the 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 the Windows Subsystem for Linux, a feature that lets Windows run Linux programs. Someone who already had a way to run code on the machine could use a specially made program to gain higher-level permissions than they should have. The fix changes how that feature handles files.
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.