Skip to content
DoS Advisory Intermediate CVE-2021-28326

Microsoft Windows AppX Deployment Service Directory Junction Denial-of-Service Vulnerability

The AppX Deployment Service on Windows follows directory junctions without proper validation, allowing a local attacker to make it delete the contents of an arbitrary directory. This can cause a denial-of-service condition on the affected system.

Abdelhamid Naceri Follow

Originally disclosed on Zero Day Initiative

Medium 6.1 View original

This vulnerability allows local attackers to create a denial-of-service condition on affected installations of Microsoft Windows. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

Abdelhamid Naceri (halov), on the Zero Day Initiative

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

How it worked

Root cause

Likely, the AppX Deployment Service does not properly validate directory junctions before performing deletion operations, allowing an attacker to redirect the deletion to an arbitrary directory.

Impact

An attacker with low-privileged code execution can delete the contents of a chosen directory, causing a denial-of-service condition on the system.

What the attacker needed

Ability to execute low-privileged code

The fix

Microsoft has issued an update to correct this vulnerability.

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 directory junction is like a shortcut that points to another folder. The AppX Deployment Service, which manages Windows Store apps, can be tricked into following such a shortcut and deleting files in a folder the attacker chooses. This can break the system or make it unusable, which is a denial-of-service attack.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by Abdelhamid Naceri

View all

26 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.