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

Microsoft Windows InstallService Time-Of-Check Time-Of-Use Denial-of-Service Vulnerability

The Microsoft Store Install Service lacks proper locking when performing file operations, creating a time-of-check time-of-use race condition. A local attacker with low-privileged code execution could exploit this to cause a denial-of-service condition on the system.

JeongOh Kyea 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.

JeongOh Kyea (@kkokkokye) of THEORI, 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

A local attacker with low-privileged code execution could create a denial-of-service condition on the affected Windows system.

What the attacker needed

Local low-privileged code execution

The fix

Microsoft 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.

This is a race condition in a Windows background service. When two actions happen at almost the same time, the service can get confused because it checks a file and then uses it without locking it in between. An attacker who can already run low-privilege code on the machine could abuse this timing gap to crash or hang the service, causing a denial of service.

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 by JeongOh Kyea

View all

7 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.

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.