CVE-2021-34527: Windows Print Spooler Remote Code Execution Vulnerability
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.
UPDATE July 7, 2021: The security update for Windows Server 2012, Windows Server 2016 and Windows 10, Version 1607 have been released. Please see the Security Updates table for the applicable update for your system. We recommend that you install these updates immediately. If you are unable to install these updates, see the FAQ and Workaround sections in this CVE for information on how to help protect your system from this vulnerability.
In addition to installing the updates, in order to secure your system, you must confirm that the following registry settings are set to 0 (zero) or are not defined (Note: These registry keys do not exist by default, and therefore are already at the secure setting.), also that your Group Policy setting are correct (see FAQ):
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint
NoWarningNoElevationOnInstall = 0 (DWORD) or not defined (default setting)
UpdatePromptSettings = 0 (DWORD) or not defined (default setting)
Having NoWarningNoElevationOnInstall set to 1 makes your system vulnerable by design.
UPDATE July 6, 2021: Microsoft has completed the investigation and has released security updates to address this vulnerability. Please see the Security Updates table for the applicable update for your system. We recommend that you install these updates immediately. If you are unable to install these updates, see the FAQ and Workaround sections in this CVE for information on how to help protect your system from this vulnerability. See also KB5005010: Restricting installation of new printer drivers after applying the July 6, 2021 updates.
Note that the security updates released on and after July 6, 2021 contain protections for CVE-2021-1675 and the additional remote code execution exploit in the Windows Print Spooler service known as “PrintNightmare”, documented in CVE-2021-34527.
Security readout for executives and security teams
Plain-English summary
PrintNightmare allows an attacker to abuse the Windows Print Spooler and gain the highest Windows privileges. Successful exploitation can enable software installation, data theft or destruction, and creation of fully privileged accounts. Microsoft issued security updates, and CISA lists the vulnerability as known to be exploited.
Executive priority
Treat remediation as immediate for affected Windows systems. The combination of known exploitation, network reachability, low complexity, and SYSTEM-level impact creates substantial operational and data risk. Prioritize servers and other broadly reachable systems, then verify policy settings after patching.
Technical view
CVE-2021-34527 is a Windows Print Spooler remote-code-execution flaw involving improper privileged file operations. The CVSS vector indicates network access, low attack complexity, low privileges, and no user interaction. Successful exploitation executes arbitrary code as SYSTEM, compromising confidentiality, integrity, and availability.
Likely exposure
Potential exposure includes the Windows client and server versions listed in Microsoft's advisory, particularly systems running Print Spooler without the applicable security update. Systems are also vulnerable by design when NoWarningNoElevationOnInstall equals 1. Exact applicability should be confirmed against Microsoft's update table.
Exploitation context
CISA's Known Exploited Vulnerabilities listing supports active exploitation in the wild. The supplied evidence does not describe current prevalence, threat actors, campaigns, indicators of compromise, or whether any specific environment has been attacked.
Researcher notes
The supplied CVSS 3.1 score is 8.8. Evidence supports remote SYSTEM-level execution and known exploitation, but provides no campaign telemetry or compromise indicators. Validate exact product applicability and update requirements through Microsoft's current advisory; do not assume every listed Windows host remains vulnerable after patching.
Mitigation direction
Install the applicable Microsoft security update immediately.
Set NoWarningNoElevationOnInstall to 0 or leave it undefined.
Set UpdatePromptSettings to 0 or leave it undefined.
Verify Point and Print Group Policy settings against Microsoft's FAQ and KB5005010.
If patching is impossible, follow Microsoft's documented workaround guidance.
Validation and detection
Inventory systems matching the affected Windows versions in Microsoft's advisory.
Confirm each system has its applicable Microsoft security update installed.
Check both PointAndPrint registry values are 0 or undefined.
Confirm Group Policy does not reintroduce insecure printer-driver installation settings.
Document systems that cannot be patched and verify Microsoft's workaround is applied.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
description · low confidence lookup
Execution behavior lookup
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
Exploitation: activeAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.