Skip to content
Access control Advisory Advanced CVE-2019-0986

Windows User Profile Service Elevation of Privilege Vulnerability (CVE-2019-0986)

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 update corrects how the service handles symlinks.

Chris Danieli Follow

Originally disclosed on Microsoft

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

Windows Shell

Windows Shell

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Chris Danieli. 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 who can log on could delete files and folders of their choosing in an elevated context.

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.

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 symbolic link is a shortcut that points to another file or folder. The Windows service that manages user profiles followed these shortcuts without checking where they led, so a logged-in user could trick it into deleting important files with higher permissions than they should have.

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.