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

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

Windows Mobile Device Management Diagnostics improperly handles junctions, allowing an attacker who can log on to bypass access restrictions and delete files. The attacker runs a specially crafted application to exploit this and remove files.

zhiniang peng Follow

Originally disclosed on Microsoft

High 6.3 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.

Microsoft Windows

Microsoft Windows

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Zhiniang Peng (@edwardzpeng) of Qihoo 360 & Jiadong Lu working with 360 BugCloud. 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 MDM Diagnostics component follows junctions without properly validating the target path, allowing file deletion outside the intended scope.

Impact

An attacker who can log on could bypass access restrictions and delete files, but the text does not specify which files or whether system files are affected.

What the attacker needed

Attacker can log on to the system

The fix

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

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.

A junction is like a shortcut that points to another folder. Windows MDM Diagnostics did not check these shortcuts properly, so a logged-in user could trick it into deleting files they should not be able to delete. This is an elevation of privilege issue because it lets someone do more than their normal permissions allow.

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.