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