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.


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

Recommended Reading:

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
How Enterprises are Attacking the Cybersecurity Problem
Concerns over supply chain vulnerabilities and attack visibility drove some significant changes in enterprise cybersecurity strategies over the past year. Dark Reading's 2021 Strategic Security Survey showed that many organizations are staying the course regarding the use of a mix of attack prevention and threat detection technologies and practices for dealing with cyber threats.
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: 2021-10-27
vim is vulnerable to Heap-based Buffer Overflow
PUBLISHED: 2021-10-27
Roblox-Purchasing-Hub is an open source Roblox product purchasing hub. A security risk in versions 1.0.1 and prior allowed people who have someone's API URL to get product files without an API key. This issue is fixed in version 1.0.2. As a workaround, add `@require_apikey` in `BOT/lib/cogs/website....
PUBLISHED: 2021-10-27
NVIDIA GPU Display Driver for Windows contains a vulnerability in the kernel mode layer (nvlddmkm.sys) handler for private IOCTLs, where an attacker with local unprivileged system access may cause a NULL pointer dereference, which may lead to denial of service in a component beyond the vulnerable co...
PUBLISHED: 2021-10-27
NVIDIA GPU Display Driver for Windows contains a vulnerability in the kernel mode layer (nvlddmkm.sys), where a NULL pointer dereference in the kernel, created within user mode code, may lead to a denial of service in the form of a system crash.
PUBLISHED: 2021-10-27
Windows contains a vulnerability in the kernel mode layer (nvlddmkm.sys) handler for DxgkDdiEscape, where an attacker through specific configuration and with local unprivileged system access may cause improper input validation, which may lead to denial of service.