Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


End of Bibblio RCM includes -->
12:35 PM
Connect Directly

Microsoft Issues New CVE for 'PrintNightmare' Flaw

Company says remote code execution issue in all Windows versions is different from one in Windows Print Spooler that it had patched last month, though both affect same function.

Microsoft on Thursday issued a new vulnerability identifier (CVE) for the "PrintNightmare" flaw that affects Windows Print Spooler services, claiming the flaw is similar to but distinct from another critical flaw in the technology (CVE-2021-1675) that it had patched on June 8.

Related Content:

CISA Urges Orgs to Disable Windows Print Spooler on Critical Systems

Special Report: Building the SOC of the Future

New From The Edge: 7 Skills the Transportation Sector Needs to Fuel Its Security Teams

The company also published a FAQ and workarounds for the freshly issued CVE while it investigated the critical new vulnerability for which exploit code is already publicly available. "Microsoft is aware of and investigating a remote code execution vulnerability that affects Windows Print Spooler and has assigned CVE-2021-34527 to this vulnerability," the company said July 1. "This is an evolving situation and we will update the CVE as more information is available."  

Microsoft's move came after the CERT Coordination Center, the US Cybersecurity and Infrastructure Security Agency (CISA), and others urged organizations to immediately disable Print Spooler services on critical systems like domain controllers and Active Directory admin systems, citing exploits targeting PrintNightmare.

The CERT CC alert pointed to the update that Microsoft had issued for CVE-2021-1675 on June 8 and warned that it was ineffective against PrintNightmare exploits. "While Microsoft has released an update for CVE-2021-1675, it is important to realize that this update does NOT address the public exploits that also identify as CVE-2021-1675," CERT CC's vulnerability note said. The CERT alert — like one from CISA — urged organizations to disable Print Spooler on critical systems because of the risk it presented. The PrintNightmare flaw, if successfully exploited, would allow an authenticated attacker to gain complete system-level access to vulnerable systems, it warned.

Microsoft's update on July 1, however, sought to separate PrintNightmare from the vulnerability it had patched on June 8, though both affect the exact same Print Spooler function — RpcAddPrinterDriverEx(). That would officially make PrintNightmare a new zero-day in Print Spooler for which exploits are currently available. Fortinet has released IPS signatures for the vulnerability.

According to the company, the PrintNightmare vulnerability was present in Print Spooler before the June 2021 update and involves a different attack vector from CVE-2021-1675. All Windows versions are affected by the PrintNightmare flaw, but Microsoft is still investigating if the exploits against it will work on all versions, the company said.

Domain controllers — one of the most critical resources on any network — are affected, Microsoft said. "We are still investigating if other types of roles are also affected."

As workarounds for PrintNightmare, the company advised organizations to either disable the Print Spooler service or to disable inbound remote printing using Group Policy. Disabling the Spooler would disable the ability to print both locally and remotely, while disabling inbound remote printing would allow local printing to a directly attached device, the company said.

Boris Larin, a security researcher at Kaspersky, says that while Microsoft's official position is that PrintNightmare is a separate vulnerability from CVE-2021-1675, both likely stem from the same root cause. "CVE-2021-1675 was aimed to patch the scenario of local elevation of privilege, but PrintNightmare allows remote code execution when attackers have access to Print Spooler service," he says. "It is possible that the remote scenario for exploitation was not considered during the patch." 

PrintNightmare is only the latest in a long list if vulnerabilities that have been uncovered in Print Spooler over the years. The most infamous of these vulnerabilities was a privilege escalation issue that enabled the US-led Stuxnet attack against Iran's uranium enrichment facility at Natanz back in 2010.

A trio of researchers at China's Sangfor Technologies uncovered PrintNightmare during a months-long inspection of the technology recently. The researchers are scheduled to detail the flaw — and other vulnerabilities they discovered in Print Spooler during their investigation — at the upcoming Black Hat USA. The researchers released proof-of-exploit code for PrintNightmare on GitHub but quickly deleted it after blowback from other researchers. However, in the brief window of time it was available on GitHub, the exploit code was copied and, as a result, is available in the wild.

The Microsoft advisory noted that the company has detected exploit activity against the flaw.

Jai Vijayan is a seasoned technology reporter with over 20 years of experience in IT trade journalism. He was most recently a Senior Editor at Computerworld, where he covered information security and data privacy issues for the publication. Over the course of his 20-year ... View Full Bio

Comment  | 
Print  | 
More Insights
Newest First  |  Oldest First  |  Threaded View
I Smell a RAT! New Cybersecurity Threats for the Crypto Industry
David Trepp, Partner, IT Assurance with accounting and advisory firm BPM LLP,  7/9/2021
Attacks on Kaseya Servers Led to Ransomware in Less Than 2 Hours
Robert Lemos, Contributing Writer,  7/7/2021
It's in the Game (but It Shouldn't Be)
Tal Memran, Cybersecurity Expert, CYE,  7/9/2021
Register for Dark Reading Newsletters
White Papers
Current Issue
The Promise and Reality of Cloud Security
Cloud security has been part of the cybersecurity conversation for years but has been on the sidelines for most enterprises. The shift to remote work during the COVID-19 pandemic and digital transformation projects have moved cloud infrastructure front-and-center as enterprises address the associated security risks. This report - a compilation of cutting-edge Black Hat research, in-depth Omdia analysis, and comprehensive Dark Reading reporting - explores how cloud security is rapidly evolving.
Flash Poll
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2023-02-03
OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during options.kex_algorithms handling. This is fixed in OpenSSH 9.2. The double free can be triggered by an unauthenticated attacker in the default configuration; however, the vulnerability discoverer reports that "exploiting thi...
PUBLISHED: 2023-02-03
sprintf in the GNU C Library (glibc) 2.37 has a buffer overflow (out-of-bounds write) in some situations with a correct buffer size. This is unrelated to CWE-676. It may write beyond the bounds of the destination buffer when attempting to write a padded, thousands-separated string representation of ...
PUBLISHED: 2023-02-03
An issue in NoMachine before v8.2.3 allows attackers to execute arbitrary commands via a crafted .nxs file.
PUBLISHED: 2023-02-03
vBulletin before 5.6.9 PL1 allows an unauthenticated remote attacker to execute arbitrary code via a crafted HTTP request that triggers deserialization. This occurs because verify_serialized checks that a value is serialized by calling unserialize and then checking for errors. The fixed versions are...
PUBLISHED: 2023-02-03
All versions prior to Delta Electronic’s CNCSoft version 1.01.34 (running ScreenEditor versions 1.01.5 and prior) are vulnerable to a stack-based buffer overflow, which could allow an attacker to remotely execute arbitrary code.