Skip to content
Access control Advisory Advanced CVE-2020-0785

Windows User Profile Service Elevation of Privilege Vulnerability (CVE-2020-0785)

The Windows User Profile Service mishandled symbolic links, allowing a logged-on attacker to run a crafted application that deletes arbitrary files and folders with elevated privileges. The security update corrects how the service handles symlinks.

zhiniang peng Follow

Originally disclosed on Microsoft

High 7.0 View original

Description

An elevation of privilege vulnerability exists when the Windows User Profile Service (ProfSvc) improperly handles symlinks. An attacker who successfully exploited this vulnerability could delete files and folders in an elevated context. 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 delete files or folders of their choosing. The security update addresses the vulnerability by correcting how the Windows User Profile Service handles symlinks.

Microsoft Windows

Microsoft Windows

Issuing CNA

Microsoft

The original report as published on the Microsoft Security Response Center, by Zhiniang Peng ( @edwardzpeng ) of Qihoo 360 Core security and Fangming Gu ( @afang5472 ). 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 User Profile Service followed symbolic links without validating their targets, allowing a low-privileged user to redirect privileged file operations.

Impact

An attacker could delete arbitrary files and folders with elevated privileges, potentially causing data loss or disrupting the system.

What the attacker needed

Log on to the system; run a crafted application

The fix

The vulnerability was fixed by correcting how the Windows User Profile Service handles symlinks.

How it was found

  1. Log on to the system.
  2. Run a specially crafted application that exploits the symlink handling flaw.
  3. The application deletes files or folders of the attacker's choosing in an elevated context.

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 background service that manages user profiles. Because it followed symbolic links (shortcuts that point to other files) without proper checks, a logged-in user could trick it into deleting files they normally could not touch, including system files. The fix makes the service handle those links correctly.

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 zhiniang peng

View all

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