Skip to content
RCE Advisory Advanced CVE-2021-36958

Windows Print Spooler Remote Code Execution Vulnerability (CVE-2021-36958)

The Windows Print Spooler service improperly performs privileged file operations, allowing an attacker to run arbitrary code with SYSTEM privileges. This could let them install programs, view or change data, or create accounts with full user rights.

Victor Mata Follow

Originally disclosed on Microsoft

High 7.8 View original

Description

A remote code execution vulnerability exists when the Windows Print Spooler service improperly performs privileged file operations. An attacker who successfully exploited this vulnerability could run arbitrary code with SYSTEM privileges. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights.

FAQ

When will Microsoft release a security update for this vulnerability? Update: September 14, 2021 - We have completed the investigation and have released the September 2021 security updates to address this vulnerability. Please see the Security Updates table. What versions of Windows are affected by this vulnerability? Update: September 14, 2021 - The September 2021 security updates are now available to address this vulnerability. Please see the Security Updates table for the versions of Windows that are affected.

Windows Print Spooler Components

Windows Print Spooler Components

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Victor Mata of FusionX, Accenture Security. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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 Print Spooler service performs privileged file operations without adequate validation, allowing an attacker to influence those operations.

Impact

An attacker could run arbitrary code with SYSTEM privileges, potentially installing programs, viewing or changing data, or creating new accounts with full user rights.

What the attacker needed

Windows system with vulnerable Print Spooler

The fix

Microsoft released the September 2021 security updates to address 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.

The Print Spooler is a Windows program that manages printing. It was making some file operations with high-level (SYSTEM) permissions without checking properly, so an attacker could trick it into running their own code as the most powerful user on the machine.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Victor Mata

View all

1 more disclosed report, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.