Skip to content
DoS Advisory Advanced CVE-2021-1640

Microsoft Windows Print Spooler Time-Of-Check Time-Of-Use Denial-of-Service Vulnerability

The Print Spooler service on Windows is vulnerable to a time-of-check time-of-use flaw that lets a local attacker with low-privileged code create a directory junction and cause the service to delete a file, leading to a denial-of-service condition.

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

Root cause

Likely a time-of-check time-of-use race condition in the Print Spooler service allows a directory junction to redirect a file operation to an unintended target.

Impact

A local attacker with low-privileged code could cause a denial-of-service condition on the system.

What the attacker needed

Ability to execute low-privileged code locally

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.

A directory junction is like a shortcut that points to another folder. The Print Spooler service checks a file before using it, but an attacker can swap the file for a junction in between, tricking the service into deleting something important. This can make the system stop working properly, which is called a denial of service.

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

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.