Skip to content
Access control Advisory Intermediate CVE-2018-8337

Windows Subsystem for Linux Security Feature Bypass Vulnerability (CVE-2018-8337)

Windows Subsystem for Linux improperly handled case sensitivity, allowing a low-privilege attacker to replace or delete arbitrary files by running a specially crafted application. The update corrects how case sensitivity is handled.

Michael Weber Follow

Originally disclosed on Microsoft

High 5.3 View original

Description

A security feature bypass vulnerability exists when Windows Subsystem for Linux improperly handles case sensitivity. An attacker who successfully exploited this vulnerability could replace or delete arbitrary files as a low privilege user. A attacker could exploit this vulnerability by running a specially crafted application. The update addresses the vulnerability by correcting how Windows Subsystem for Linux handles case sensitivity.

Windows Subsystem for Linux

Windows Subsystem for Linux

Issuing CNA

Microsoft

The original report as published on the Microsoft Security Response Center, by Michael Weber of NCC Group. 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, WSL did not correctly enforce case sensitivity when resolving file paths, allowing a low-privilege user to access files outside their intended permissions.

Impact

A low-privilege attacker could replace or delete arbitrary files, potentially leading to further compromise or data loss.

What the attacker needed

Low-privilege user account; ability to run a crafted application

The fix

The vulnerability was fixed by an update that corrects how WSL handles case sensitivity.

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.

Windows Subsystem for Linux (WSL) lets you run Linux tools on Windows. This bug meant that WSL did not properly treat file names that differ only by upper or lower case, so a normal user could trick it into overwriting or removing files they should not be able to touch.

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.