Windows NDIS Elevation of Privilege Vulnerability (CVE-2018-8343)
The Windows NDIS driver failed to check a buffer's length before copying memory into it, allowing a local attacker to run a crafted application and elevate privileges. A successful exploit could let the attacker run processes in an elevated context.
Enrique Nissim - Senior Security Consultant - IOActive, Inc 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 the buffer length before a memory copy in ndis.sys.
Impact
An attacker who already has local access could run processes with elevated privileges.
What the attacker needed
Local access to the system; ability to run a crafted application
The fix
The vulnerability was fixed by changing 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 helps the operating system talk to hardware. This driver copied data into a memory buffer without first checking that the buffer was big enough, so a malicious program could overflow it 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.