Windows User Profile Service Elevation of Privilege Vulnerability (CVE-2020-0730)
The Windows User Profile Service mishandled symbolic links, allowing a logged-on attacker to run a crafted application and delete files or folders with elevated privileges. The 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.
Windows Shell
Windows Shell
Microsoft
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 User Profile Service followed symbolic links without validating their targets, so a low-privileged user could redirect privileged file operations.
Impact
An attacker with a local logon could delete arbitrary files or folders with elevated privileges, which may lead to further compromise or denial of service.
What the attacker needed
Local logon to the system; ability to 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 affected system.
- Run a specially crafted application.
- The application exploits the symlink handling to delete chosen files or folders 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.
A symbolic link is a shortcut that points to another file or folder. Windows has a background service that manages user profiles, and it followed these shortcuts without checking where they led. Because the service runs with high privileges, an attacker who was already logged in could trick it into deleting files they normally could not 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.