Skip to content
Access control Write-up Advanced

Windows AppX Deployment Service Local Privilege Escalation (CVE-2020-1488

The AppX Deployment Service (AppXSVC) on Windows performed file and directory deletion operations without impersonating the logged-on user, running as NT AUTHORITY\SYSTEM. A standard user could create a symbolic link to an arbitrary directory and then uninstall a Store app, causing the service to delete files with SYSTEM privileges, leading to elevation of privileges.

ACTIVELabs Follow

Published on activecyber.us

Written by Michael Bieniak

ACTIVELabs, on activecyber.us

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

What the attacker needed

Standard non-privileged user account; ability to create symbolic links; Microsoft Store app installed

The fix

The vulnerability was fixed by Microsoft in the August 2020 Patch Tuesday update.

How it was found

  1. Create a symbolic link targeting a sensitive directory such as C:\Windows\Help.
  2. Uninstall a Microsoft Store application (e.g., OneNote) as a standard user.
  3. Observe that the AppX service deletes all files and directories under the target folder with SYSTEM privileges.

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 write-up has not been written yet. The Original tab links to the source.

When you uninstall a Microsoft Store app, a background Windows service called AppX Deployment Service (AppXSVC) cleans up leftover files. The bug is that this cleanup ran with the highest system privileges (SYSTEM) instead of the normal user's privileges. A regular user could trick the service into deleting any file or folder on the computer, which could then be used to gain full control of the system.

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.