Hexret
CVE-2021-34527PrintNightmarehigh 8.8PoC available

Windows Print Spooler RpcAddPrinterDriverEx privilege escalation to RCE (PrintNightmare)

PrintNightmare (CVE-2021-34527): an authenticated low-privileged user calls RpcAddPrinterDriverEx and points a driver file at an attacker SMB share, so the SYSTEM Print Spooler loads the attacker DLL. The famous incomplete-fix saga, CVE-2021-1675 was patched first as a low-severity local escalation, but the fix was bypassable, so this RCE followed and still needed Point and Print mitigations. The PoC was published accidentally (released believing 1675 was fully patched, before 34527 was understood as a separate unpatched RCE), forcing an emergency response. The spooler runs as SYSTEM and is enabled by default, including on domain controllers.

Product
Microsoft Windows Print Spooler (spoolsv, MS-RPRN / MS-PAR)
Vendor
Microsoft
Affected
All supported Windows (including domain controllers) before the July 2021 updates
Fixed in
July 2021 updates, plus Point and Print configuration mitigations
Weakness
CWE-269
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
1 Jul 2021

Practice this CVE, free

Classified as

References

Related CVEs

  • CVE-2020-1472critical 10.02020

    Netlogon Zerologon authentication bypass (CVE-2020-1472)

    Microsoft Netlogon Remote Protocol (MS-NRPC) on Active Directory domain controllers · CWE-330

    MS-NRPC computes its session credential with AES-CFB8 using an all-zero IV, so an all-zero challenge has a 1-in-256 chance of validating. An unauthenticated attacker on the network retries until the domain controller accepts, then empties its machine-account password. Named Zerologon by Secura's Tom Tervoort, it scored a perfect CVSS 10.0 and takes a DC to Domain Admin in seconds, one of the most severe Active Directory flaws ever disclosed.

  • CVE-2021-38647critical 9.82021

    OMIGOD: OMI unauthenticated RCE via missing auth check

    Microsoft Open Management Infrastructure (OMI) · CWE-287

    An HTTP request that omits the Authorization header is dispatched without ever confirming it was authenticated, so an unauthenticated attacker runs commands as root on the OMI management agent.

  • CVE-2025-33073high 8.82025

    Windows SMB marshalled-target reflection

    Microsoft Windows SMB client · CWE-284

    An SMB target name can hide marshalled metadata that LSASS later strips, turning an attacker-routed hostname into a local target identity and reviving same-host authentication reflection when SMB signing is not enforced.

  • CVE-2024-1709critical 10.02024

    ScreenConnect SlashAndGrab: setup-wizard auth bypass

    ConnectWise ScreenConnect · CWE-288

    An exact request-path check guarding the first-run setup wizard is defeated by a trailing URL segment, so an unauthenticated attacker re-opens setup on a configured server and creates an administrator.