CVE DatabaseCVE-2022-21999
한국어 권고문 →
CVE-2022-219997.8/HIGHCISA KEVCWE-22CWE-59CWE-22CWE-59

Windows Print Spooler Elevation of Privilege Vulnerability (CVE-2022-21999) Technical Advisory

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
windows, windows_server
Published Date
2022-02-09
CVSS v3.1
7.8
HIGH
EPSS (30d)
41.0%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Windows 7, 8.1, 10, 11 and Windows Server 2008, 2012, 2016, 2019, 2022 with active Print Spooler service

Impact

Local attackers can exploit directory traversal and symbolic link creation to execute arbitrary code with SYSTEM privileges, leading to full host compromise

Mitigation

Apply the official Microsoft security updates immediately, or disable the Print Spooler service on non-printing servers and Domain Controllers

Affected Products & Version Scope

All versions of Windows 7, 8.1, 10, 11 and Windows Server 2008, 2012, 2016, 2019, 2022 where the Print Spooler service is enabled

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Apply the latest cumulative security updates via Windows Update. To automate this via PowerShell, execute the following commands:

powershell
# Install Windows Update module and apply relevant security patches
Install-Module PSWindowsUpdate -Force -Verbose
Get-WindowsUpdate -KBArticleID KB5010386, KB5010415 -Install -AcceptAll -AutoReboot

2. Temporary Workaround & Hardening Configuration

For servers and Domain Controllers that do not require printing capabilities, disable the Print Spooler service to eliminate the attack surface.

powershell
# Stop and disable the Print Spooler service
Stop-Service -Name 'Spooler' -Force
Set-Service -Name 'Spooler' -StartupType Disabled

# Verify service status
Get-Service -Name 'Spooler'

3. Log Audit & IoC Verification Commands

Run the following script to check the status of the Spooler service and inspect the default spool directory for unexpected files or junction points.

powershell
# Check Spooler service status and inspect spool directory contents
$SpoolerStatus = (Get-Service -Name 'Spooler').Status
Write-Host 'Spooler Service Status:' $SpoolerStatus

$SpoolPath = 'C:\Windows\System32\spool\PRINTERS'
if (Test-Path $SpoolPath) {
    Get-ChildItem -Path $SpoolPath -Recurse | Select-Object FullName, CreationTime, LastWriteTime
} else {
    Write-Host 'Default Spool path not found or customized.'
}
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
Due to active exploitation in the wild, immediately disable the Print Spooler service on all non-printing servers and apply the latest Microsoft security updates.

Block Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot

Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.

100% MITRE ATT&CK Detection · 1-Click Rollback

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability is an Elevation of Privilege (EoP) flaw in the Windows Print Spooler service, stemming from improper validation of file paths during file operations. It involves directory traversal (CWE-22) and symbolic link/junction point manipulation (CWE-59). Because the Print Spooler service runs under the high-privilege SYSTEM context, a logical flaw allows a local user to manipulate spool directories to write or overwrite arbitrary system files (such as DLLs).

2. Exploitation Mechanics & Attack Scenario

An attacker must first gain local access to the target system with low-privilege user credentials. The attacker then creates a malicious symbolic link or junction point inside the spooler's temporary directory (typically 'C:\Windows\System32\spool\PRINTERS'). When a print job is triggered, the Spooler service processes the request under SYSTEM privileges, following the symbolic link to write a malicious DLL into a system directory (e.g., System32). The attacker then forces a system service to load this DLL, achieving arbitrary code execution as SYSTEM.

3. Infrastructure & Business Impact

This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild. If exploited on critical infrastructure such as Active Directory Domain Controllers, it allows attackers to easily escalate privileges to Domain Admin, facilitate lateral movement, deploy ransomware, or exfiltrate sensitive corporate data.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2022-21999)

FAQ

Q1. How critical is CVE-2022-21999 and is it actively exploited in the wild?

CVE-2022-21999 is rated CVSS 7.8 (HIGH) with a 30-day EPSS exploitation probability of 41.0%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2022-21999?

Primary impacted vendors include microsoft across windows, windows_server. Scope summary: All versions of Windows 7, 8.1, 10, 11 and Windows Server 2008, 2012, 2016, 2019, 2022 where the Print Spooler service is enabled

Q3. What temporary mitigations or workarounds exist for CVE-2022-21999 before patching?

[Mitigation] Apply the official Microsoft security updates immediately, or disable the Print Spooler service on non-printing servers and Domain Controllers Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2022-21999

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (microsoft)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2022-21999 Windows Print Spooler Elevation of Privilege Vulnerability (CVE-2022-21999) Technical Advisory (CVSS 7.8) - Patch & Workaround | CVE Pulse