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.
Originally disclosed on Microsoft
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
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
- Log on to the system.
- Run a specially crafted application that exploits the symlink handling flaw.
- 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.