Microsoft Hyper-V netvsc Out-Of-Bounds Read Local Privilege Escalation Vulnerability
The netvsc.sys driver in Microsoft Hyper-V fails to properly validate user-supplied data, leading to an out-of-bounds read. A local attacker with low-privileged code execution inside a guest virtual machine could exploit this to escalate privileges and run code in the kernel of that guest.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to escalate privileges on affected installations of Microsoft Hyper-V. An attacker must first obtain the ability to execute low-privileged code within a Windows virtual machine under Hyper-V in order to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
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 missing bounds validation of user-supplied data in the netvsc.sys driver, allowing a read beyond an allocated buffer.
Impact
An attacker with low-privileged code execution in a Hyper-V guest could escalate privileges and execute arbitrary code in the guest's kernel.
What the attacker needed
Low-privileged code execution in a Hyper-V guest
The fix
Microsoft issued an update to correct the vulnerability.
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 in a virtual machine's networking component reads past the end of a memory buffer because it does not check the size of data it receives. Someone who can already run a low-privileged program inside that virtual machine could use this flaw to gain higher privileges, potentially running code with kernel-level control inside the guest.
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.