Skip to content
Access control Advisory Advanced CVE-2018-0877

Windows Desktop Bridge VFS Elevation of Privilege Vulnerability (CVE-2018-0877)

The Windows Desktop Bridge virtual file system did not distinguish between user and kernel mode when handling file paths. An attacker already logged on could run a crafted application to gain kernel-level code execution and full control of the system.

James Forshaw Follow

Originally disclosed on Microsoft

High 7.0 View original

Description

An elevation of privilege vulnerability exists in Windows when the Desktop Bridge VFS does not take into acccount user/kernel mode when managing file paths. An attacker who successfully exploited this vulnerability could run arbitrary code in kernel mode. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. To exploit this vulnerability, an attacker would first have to log on to the system. An attacker could then run a specially crafted application that could exploit the vulnerability and take control of an affected system. The update addresses this vulnerability by correcting how the Windows Desktop Bridge VFS handles file path management.

Windows Desktop Bridge

Windows Desktop Bridge

The original report as published on the Microsoft Security Response Center, by James Forshaw of Google Project Zero. 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 could run arbitrary code in kernel mode and then install programs, view, change or delete data, or create accounts with full user rights.

What the attacker needed

Logged-on user on the system

The fix

The vulnerability was fixed by correcting how the Windows Desktop Bridge VFS handles file path management.

How it was found

  1. Log on to the affected system.
  2. Run a specially crafted application that exploits the VFS path handling.

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.

Windows has a feature that lets ordinary desktop programs run in a more restricted, app-store style container. That feature's file-path handling could be tricked into treating a normal user's request as if it came from the highly privileged core of the operating system, so a logged-in user could escalate to full control of the machine.

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 by James Forshaw

View all

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

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.