Armis Logo< Back

CVE-2021-34527:

Windows Print Spooler Remote Code Execution Vulnerability (PrintNightmare)


Score
Info
A numerical rating that indicates how dangerous this vulnerability is.

8.8High
  • Published Date:Jul 2, 2021
  • CISA KEV Date:Nov 3, 2021
  • Industries Affected:20
Armis Early Warning:
Early Warning124 Days

Threat Predictions

  • EPSS Score:94.2
  • EPSS Percentile:100%

Exploitability

  • Score:2.8
  • Attack Vector:NETWORK
  • Attack Complexity:LOW
  • Privileges Required:LOW
  • User Interaction:NONE
  • Scope:UNCHANGED

Impact

  • Score:5.9
  • Confidentiality Impact:HIGH
  • Integrity Impact:HIGH
  • Availability Impact:HIGH

Description Preview

Windows Print Spooler Remote Code Execution Vulnerability (PrintNightmare)

Overview

The PrintNightmare vulnerability (CVE-2021-34527) is a critical security flaw in the Windows Print Spooler service that allows attackers to remotely execute code with SYSTEM privileges. The vulnerability stems from the Print Spooler service improperly handling privileged file operations. This vulnerability gained significant attention as it was actively exploited in the wild and affected virtually all Windows systems with the Print Spooler service enabled. The issue is particularly dangerous because it can be exploited remotely by authenticated users to gain complete system control. Even after patching, certain registry configurations can leave systems vulnerable by design, specifically when Point and Print settings bypass security prompts.

Remediation

  • 1. Install the security updates released by Microsoft immediately. Updates were released on July 6, 2021, with additional updates for Windows Server 2012, Windows Server 2016, and Windows 10 Version 1607 released on July 7, 2021.
  • 2. Verify registry settings are secure:
  • Ensure the following registry keys are set to 0 or not defined (default):
  • HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint
  • NoWarningNoElevationOnInstall = 0 (DWORD) or not defined
  • UpdatePromptSettings = 0 (DWORD) or not defined
  • 3. If updates cannot be installed immediately, implement the following workarounds:
  • Disable the Print Spooler service
  • Disable inbound remote printing through Group Policy
  • Block TCP ports used for printing (typically port 445)
  • 4. Review KB5005010 for guidance on restricting installation of new printer drivers after applying the July 2021 updates.
  • 5. Ensure Group Policy settings are configured correctly to prevent Point and Print functionality from bypassing security prompts.

References

Early WarningArmis Early Warning

Armis Early Warning provides proactive threat intelligence and early detection capabilities.Click here to learn more.

  • Armis Alert Date:Jul 4, 2021
  • CISA KEV Date:Nov 3, 2021
  • Days Early:124 Days

Industries Affected

Below is a list of industries most commonly impacted or potentially at risk based on intelligence.

Medium
Utilities icon
Utilities
Retail Trade icon
Retail Trade
Manufacturing icon
Manufacturing
Educational Services icon
Educational Services
Finance and Insurance icon
Finance and Insurance
Public Administration icon
Public Administration
Transportation and Warehousing icon
Transportation and Warehousing
Health Care and Social Assistance icon
Health Care and Social Assistance
Arts, Entertainment, and Recreation icon
Arts, Entertainment, and Recreation
Professional, Scientific, and Technical Services icon
Professional, Scientific, and Technical Services
Low
Mining icon
Mining
Information icon
Information
Construction icon
Construction
Wholesale Trade icon
Wholesale Trade
Real Estate Rental and Leasing icon
Real Estate Rental and Leasing
Accommodation and Food Services icon
Accommodation and Food Services
Management of Companies and Enterprises icon
Management of Companies and Enterprises
Agriculture, Forestry, Fishing and Hunting icon
Agriculture, Forestry, Fishing and Hunting
Other Services (except Public Administration) icon
Other Services (except Public Administration)
Administrative and Support and Waste Management and Remediation Services icon
Administrative and Support and Waste Management and Remediation Services

Focus on What Matters

See everything.Identify true risk.Proactively mitigate threats.Book a Demo

Let's talk!