Skip to content
RCE Advisory Advanced CVE-2021-26424

Windows TCP/IP Remote Code Execution Vulnerability (CVE-2021-26424)

A vulnerability in the Windows TCP/IP stack (tcpip.sys) allows a malicious Hyper-V guest to trigger remote code execution on the Hyper-V host by sending a specially crafted IPv6 ping packet. An attacker with control of a guest virtual machine could exploit this to run code on the host.

Quan Luo Follow

Originally disclosed on Microsoft

Critical 9.9 View original

FAQ

How could an attacker exploit this vulnerability? This vulnerability is remotely triggerable by a malicious Hyper-V guest that sends an ipv6 ping to the Hyper-V host. An attacker could send a specially crafted TCPIP packet to its host utilizing the TCPIP Protocol Stack (tcpip.sys) to process packets. Is this attack specific to Hyper-V or applicable to all hypervisor technologies? This attack is specific to Hyper-V. Systems that do not have Hyper-V installed are not at risk. Will disabling IPV6 mitigate this vulnerability? Yes. Disabling IPV6 will block the threat vector. See Guidance for configuring IPv6 in Windows for advanced users for instructions for disabling IPV6.

Windows TCP/IP

Windows TCP/IP

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Quan Luo from Codesafe Team of Legendsec at Qi'anxin Group. 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 memory corruption flaw in how the Windows TCP/IP stack (tcpip.sys) processes specially crafted IPv6 packets received from a Hyper-V guest.

Impact

A malicious Hyper-V guest could achieve remote code execution on the Hyper-V host; systems without Hyper-V are not at risk, and disabling IPv6 blocks the threat vector.

What the attacker needed

Hyper-V installed on the host; Attacker controls a Hyper-V guest VM; IPv6 enabled

The fix

Disabling IPv6 mitigates the vulnerability, and Microsoft likely released a patch (customer action required).

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.

Hyper-V is Microsoft's tool for running virtual machines (VMs) on Windows. A guest VM is a virtual computer running inside a host. This bug means that if someone controls a guest VM, they can send a special network packet that makes the host computer run their code, which is very serious.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Quan Luo

View all

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

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.