Skip to content
RCE Advisory Advanced CVE-2018-0961

Hyper-V vSMB Remote Code Execution Vulnerability (CVE-2018-0961)

Windows Hyper-V on a host server failed to properly validate vSMB packet data. An attacker running inside a virtual machine could run a specially crafted application to execute arbitrary code on the Hyper-V host operating system.

Matthew G. McGovern Follow

Originally disclosed on Microsoft

Critical 7.6 View original

Description

A remote code execution vulnerability exists when Windows Hyper-V on a host server fails to properly validate vSMB packet data. An attacker who successfully exploited these vulnerabilities could execute arbitrary code on a target operating system. To exploit these vulnerabilities, an attacker running inside a virtual machine could run a specially crafted application that could cause the Hyper-V host operating system to execute arbitrary code. The update addresses the vulnerabilities by correcting how Windows Hyper-V validates vSMB packet data.

Windows Hyper-V

Windows Hyper-V

The original report as published on the Microsoft Security Response Center, by Matthew G. McGovern, Windows Security Team. 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 insufficient validation of vSMB packet data by Windows Hyper-V on the host.

Impact

An attacker inside a virtual machine could execute arbitrary code on the Hyper-V host operating system.

What the attacker needed

Attacker runs code inside a guest VM; Hyper-V host with vulnerable vSMB handling

The fix

The vulnerability was fixed by correcting how Windows Hyper-V validates vSMB packet data.

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 virtualisation software that lets one physical computer run several virtual machines. A vulnerability in how it checked network traffic (vSMB packets) meant that someone with control of a virtual machine could send malicious data and run their own code on the underlying host computer, breaking the isolation between virtual machines and 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 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.