Skip to content
RCE Advisory Advanced CVE-2017-8664

Windows Hyper-V Remote Code Execution Vulnerability (CVE-2017-8664)

Hyper-V on a Windows host failed to properly validate input from an authenticated user on a guest operating system. An attacker could run a crafted application in a guest to make the host execute arbitrary code.

Peter Hlavaty Follow

Originally disclosed on Microsoft

High 7.8 View original

Description

A remote code execution vulnerability exists when Windows Hyper-V on a host server fails to properly validate input from an authenticated user on a guest operating system. To exploit the vulnerability, an attacker could run a specially crafted application on a guest operating system that could cause the Hyper-V host operating system to execute arbitrary code. An attacker who successfully exploited the vulnerability could execute arbitrary code on the host operating system. The security update addresses the vulnerability by correcting how Hyper-V validates guest operating system user input.

Windows Hyper-V

Windows Hyper-V

The original report as published on the Microsoft Security Response Center, by Peter Hlavaty ( @zer0mem ), KeenLab, Tencent. 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

Impact

An attacker who successfully exploited the vulnerability could execute arbitrary code on the host operating system.

What the attacker needed

Authenticated user on a guest OS; ability to run an application in the guest

The fix

The security update addresses the vulnerability by correcting how Hyper-V validates guest operating system user input.

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 (separate computers inside one physical computer). A guest is one of those virtual machines. The bug meant a person with a login inside a guest could send bad input that the host (the real machine underneath) did not check properly, and could then run their own code on the host.

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 Peter Hlavaty

View all

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