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.
Originally disclosed on Microsoft
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
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.