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

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.

Christopher Gurnee 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

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Christopher Gurnee. 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 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.

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.