Skip to content
Race condition Advisory Advanced CVE-2019-1416

Windows Subsystem for Linux Elevation of Privilege Vulnerability (CVE-2019-1416)

A race condition in Windows Subsystem for Linux allowed a locally authenticated attacker to run a specially crafted application and execute code with elevated permissions. The security update corrects how WSL handles objects in memory.

Tao Xie Follow

Originally disclosed on Microsoft

High 7.8 View original

Description

An elevation of privilege vulnerability exists due to a race condition in Windows Subsystem for Linux. An attacker who successfully exploited the vulnerability could execute code with elevated permissions. To exploit the vulnerability, a locally authenticated attacker could run a specially crafted application. The security update addresses the vulnerability by correcting how Windows Subsystem for Linux handles objects in memory.

Windows Subsystem for Linux

Windows Subsystem for Linux

The original report as published on the Microsoft Security Response Center, by Tao Xie. 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 a race condition in how Windows Subsystem for Linux handles objects in memory, which can be exploited to gain elevated permissions.

Impact

A locally authenticated attacker could execute code with elevated permissions.

What the attacker needed

Local access to the machine; authenticated user account

The fix

The vulnerability was fixed by a security update that corrects how Windows Subsystem for Linux handles objects in memory.

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. Because of a timing mistake (a race condition), a user who can already log in to the machine could run a malicious program and gain higher privileges than they should have. The fix changes how the subsystem manages memory to remove that timing problem.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.