Skip to content
Access control Advisory Intermediate CVE-2020-0854

Windows Mobile Device Management Diagnostics Elevation of Privilege Vulnerability (CVE-2020-0854)

Windows Mobile Device Management Diagnostics improperly handles junctions, allowing an attacker who can log on to the system to run a crafted application that bypasses access restrictions and deletes files. The security update corrects how Windows MDM Diagnostics handles files.

zhiniang peng Follow

Originally disclosed on Microsoft

High 7.1 View original

Description

An elevation of privilege vulnerability exists when Windows Mobile Device Management (MDM) Diagnostics improperly handles junctions. An attacker who successfully exploited this vulnerability could bypass access restrictions to delete files. 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 remove files. The security update addresses the vulnerability by correcting the how Windows MDM Diagnostics handles files.

Windows Diagnostic Hub

Windows Diagnostic Hub

Issuing CNA

Microsoft

The original report as published on the Microsoft Security Response Center, by Zhiniang Peng ( @edwardzpeng ) of Qihoo 360 Core Security and Jiadong Lu. 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, the Windows MDM Diagnostics component follows junctions without properly validating access, allowing file deletion outside intended restrictions.

Impact

An attacker could bypass access restrictions to delete files, but must first log on to the system.

What the attacker needed

Log on to the system

The fix

The vulnerability was fixed by correcting how Windows MDM Diagnostics handles files.

How it was found

  1. Log on to the system.
  2. Run a specially crafted application.

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.

This is a flaw in a Windows component that manages mobile devices. A junction is like a shortcut that points to another folder. Because the component did not check these shortcuts properly, someone already logged in could use a specially made program to delete files they should not be able to touch.

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.