Skip to content
Access control Advisory Advanced CVE-2017-0212

Windows Hyper-V vSMB Elevation of Privilege Vulnerability (CVE-2017-0212)

Windows Hyper-V on a host server failed to properly validate vSMB packet data, which could let an attacker gain elevated privileges on a target operating system. The flaw alone does not permit arbitrary code execution but could be combined with other vulnerabilities to take advantage of the higher privileges.

John Stephens - Docker Follow

Originally disclosed on Microsoft

High 7.6 View original

Description

An elevation of privilege 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 gain elevated privileges on a target operating system. This vulnerability by itself does not allow arbitrary code to be run. However, this vulnerability could be used in conjunction with one or more vulnerabilities (e.g. a remote code execution vulnerability and another elevation of privilege) that could take advantage of the elevated privileges when running. The update addresses the vulnerabilities by correcting how Windows Hyper-V validates vSMB packet data.

Windows SMB Server

Windows SMB Server

The original report as published on the Microsoft Security Response Center, by John Stephens - Docker, Inc.. 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 server.

Impact

An attacker could gain elevated privileges on a target operating system, though the flaw by itself does not allow arbitrary code to be run and would need to be chained with other vulnerabilities.

What the attacker needed

Ability to send vSMB traffic to the host

The fix

It 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 tool for running virtual machines, and vSMB is a way for those machines to talk to the host over a network-style channel. The host did not check the data arriving on that channel carefully enough, so someone able to send crafted traffic could end up with more power on the machine than they should have. On its own it does not let them run their own code, but it can be paired with another bug to do more damage.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.