Skip to content
Access control Advisory Advanced CVE-2020-0636

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.

ap Follow

Originally disclosed on Microsoft

High 7.8 View original

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

The original report as published on the Microsoft Security Response Center, by Andrea Pierini & Christian Danieli. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.