Patchfirst
CVE-2021-34527 KEVRansomwarePublic exploit High · 8.8 EPSS 99.8%

Microsoft Windows Print Spooler Remote Code Execution Vulnerability

Microsoft · Windows

Summary

A flaw in the Windows Print Spooler service on Microsoft Windows improperly performs privileged file operations, which can allow remote code execution. An attacker with low-privilege authenticated access over the network, requiring no user interaction, could run arbitrary code with SYSTEM privileges and then install programs, view, change or delete data, or create accounts with full user rights.

Official description · NVD

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.

Breakdown
88.1 / 100
Exploited
Yes, in CISA KEV
Reports
4
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited the day it was disclosed. Public exploit code (Metasploit) was available 24 days before disclosure.

  1. Public exploit codeMetasploit24 days before
  2. DisclosedFirst seen exploitedVulnCheck KEV evidenceday 0
  3. Added to CISA KEVknown ransomware use; EU database agrees+4 mo

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

2 , grouped by in kill-chain order, 5 cited passages 2

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
AI mapping from the description · primary impact

Arbitrary code execution as SYSTEM

could run arbitrary code with SYSTEM privileges
From the official description (NVD) Original (opens in a new tab) ↗

Privilege EscalationTA0004

Exploitation for Privilege Escalation T1068 Medium
AI mapping from the description · how it is exploited

Print Spooler privilege flaw enables local escalation; TRAM2 annotated sentence label

improperly performs privileged file operations
From the official description (NVD) Original (opens in a new tab) ↗
Software vulnerabilities, such as PrintNightmare (CVE-2021-1675) and (CVE-2021-34527), may be exploited in an attempt to elevate privileges.
Vice Society: Profiling a Persistent Threat to the Education Sector unit42.paloaltonetworks.com Original (opens in a new tab) ↗
Lower-confidence links (2)

These come from early or generic mappings, text matching, or contradict this CVE’s details (for example a public-facing technique on a bug that needs a user to open a file). Shown for completeness.

  • Exploit Public-Facing ApplicationT1190 machine-matched from report text
  • Exploitation of Remote ServicesT1210 machine-matched from report text

Detection

5 rules for this CVE · 126 general rules for its techniques

Rules for this CVE

5 that reference CVE-2021-34527 directly.

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Named in 4 threat reports
4 reportsSymantecUnit 42Cisco Talos+1

Reports are matched by finding the exact id CVE-2021-34527 in their text; nobody has reviewed the match. One passage is shown per report, at most 320 characters, linked to the original.

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

7 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close