Windows Hyper-V Remote Code Execution Vulnerability (CVE-2024-21407)
An authenticated attacker on a guest virtual machine could send specially crafted file operation requests to hardware resources, potentially leading to remote code execution on the host server. Exploitation requires high attack complexity and prior information gathering.
Originally disclosed on Microsoft
FAQ
According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to gather information specific to the environment and take additional actions prior to exploitation to prepare the target environment.
FAQ
How would an attacker exploit this vulnerability? This vulnerability would require an authenticated attacker on a guest VM to send specially crafted file operation requests on the VM to hardware resources on the VM which could result in remote code execution on the host server.
Role: Windows Hyper-V
Role: Windows Hyper-V
Microsoft
Microsoft
Customer Action Required
Yes
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 flaw in how Hyper-V handles file operation requests from a guest VM to hardware resources, allowing crafted requests to escape the VM boundary.
Impact
An authenticated attacker on a guest VM could potentially achieve remote code execution on the host server, though exploitation is complex and requires environment-specific information.
What the attacker needed
Authenticated access to a guest VM; gather environment-specific information; prepare target environment
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 a computer. A guest VM is the virtual computer running inside it. This bug means someone already logged into a guest VM could send unusual file requests that might let them run code on the real host machine, but it is hard to do and needs extra preparation.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.