Skip to content
Access control Advisory Advanced CVE-2017-8622

Windows Subsystem for Linux Elevation of Privilege Vulnerability (CVE-2017-8622)

The Windows Subsystem for Linux mishandled NT pipes, allowing a locally authenticated attacker to run a specially crafted application and execute code with elevated permissions. The security update corrects how NT pipes are handled.

Alex Ionescu Follow

Originally disclosed on Microsoft

Critical 7.0 View original

Description

An elevation of privilege vulnerability exists in the way that the Windows Subsystem for Linux handles NT pipes. 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 NT pipes.

Windows Subsystem for Linux

Windows Subsystem for Linux

The original report as published on the Microsoft Security Response Center, by Alex Ionescu of Winsider Seminars & Solutions, Inc.. 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, the Windows Subsystem for Linux did not properly validate or restrict access when handling NT pipes, allowing a local application to gain elevated privileges.

What the attacker needed

Local access to the machine; authenticated user account

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 you run Linux tools on Windows. Because of a mistake in how it handled a Windows communication mechanism called NT pipes, someone already logged into the machine could run a program that gained higher-level permissions than they should have. The fix was a security update that changed how those pipes are handled.

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 by Alex Ionescu

View all

2 more disclosed reports, best first.

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.