Skip to content
Race condition Advisory Advanced CVE-2021-34462

(Pwn2Own) Microsoft Windows AppX Deployment Service Race Condition Privilege Escalation Vulnerability

The AppX Deployment Service fails to properly validate a user-supplied link before using it in file operations, allowing a local attacker with low-privileged code execution to escalate to SYSTEM. The vulnerability was demonstrated at Pwn2Own and fixed by Microsoft.

Tao Yan Follow

Originally disclosed on Zero Day Initiative

High 7.0 View original

This vulnerability allows local attackers to escalate privileges 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.

Tao Yan (<a href="https://twitter.com/Ga1ois">@Ga1ois</a>) of Palo Alto Networks, 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

Impact

An attacker who can execute low-privileged code could escalate to SYSTEM and run arbitrary code.

What the attacker needed

Ability to execute low-privileged code

The fix

Microsoft issued an update to correct the 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.

This is a privilege escalation bug in Windows. A program that runs with low privileges can trick a system service into performing file operations on a link it controls, and because that service runs as SYSTEM (the highest privilege level), the attacker gains full control of the machine. The attacker must already be able to run code on the computer, so it is not a remote attack.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

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.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.