Skip to content
Memory corruption Advisory Advanced CVE-2018-0743

Windows Subsystem for Linux Elevation of Privilege Vulnerability (CVE-2018-0743)

An integer overflow in Windows Subsystem for Linux could allow a locally authenticated attacker to run a specially crafted application and execute code with elevated permissions. The security update corrects how the subsystem handles objects in memory.

Saar Amar Follow

Originally disclosed on Microsoft

High 7.0 View original

Description

An elevation of privilege vulnerability exists due to an integer overflow 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 Saar Amar. 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 an integer overflow in how WSL handles objects in memory, leading to memory corruption that can be exploited for privilege escalation.

Impact

A locally authenticated attacker could execute code with elevated permissions.

What the attacker needed

Local authenticated access

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 programs on Windows. An integer overflow is a maths error where a number gets too big for its storage and wraps around, which can confuse the program. Here, that mistake could let someone who already has a login on the machine run code with higher privileges than they should have.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.