Skip to content
Memory corruption Advisory Advanced CVE-2019-0707

Windows NDIS Elevation of Privilege Vulnerability (CVE-2019-0707)

The NDIS driver failed to check a buffer's length before copying memory into it, so a local attacker running a crafted application could elevate their privileges. A successful exploit would let the attacker run processes in an elevated context.

Anthony Laou Hine Tsuei Follow

Originally disclosed on Microsoft

High 7.0 View original

Description

An elevation of privilege vulnerability exists in the Network Driver Interface Specification (NDIS) when ndis.sys fails to check the length of a buffer prior to copying memory to it. To exploit the vulnerability, in a local attack scenario, an attacker could run a specially crafted application to elevate the attacker's privilege level. An attacker who successfully exploited this vulnerability could run processes in an elevated context. However, an attacker must first gain access to the local system with the ability to execute a malicious application in order to exploit this vulnerability. The security update addresses the vulnerability by changing how ndis.sys validates buffer length.

Windows NDIS

Windows NDIS

The original report as published on the Microsoft Security Response Center, by Anthony LAOU HINE TSUEI. 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 missing bounds check on a buffer length in ndis.sys before a memory copy, leading to memory corruption.

Impact

An attacker who already has local access could run processes with elevated privileges; the update fixes the flaw.

What the attacker needed

Local access to the system; ability to run a crafted application

The fix

The security update was released and changes how ndis.sys validates buffer length.

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.

A driver is a low-level program that lets the operating system talk to hardware. This one copied data into a memory area without first checking that the area was big enough, so a malicious program could overwrite nearby memory and gain higher permissions on the machine. The attacker must already be able to run a program on the computer.

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 by Anthony Laou Hine Tsuei

View all

7 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.

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.