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.

Vulnerabilities / Threats

8/6/2020
02:40 PM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

New Windows Print Spooler Zero-Day Flaws Harken Back to Stuxnet

Researchers find new flaws in the ubiquitous decades-old printer software in Windows, including one that bypasses a recent Microsoft patch.

Ten years after the game-changing Stuxnet attack was first discovered, a Windows printer program it exploited has been found to contain additional dangerous zero-day flaws that could allow an attacker to gain a foothold in the network as a privileged user.

The researchers who discovered the new flaws in Microsoft's ubiquitous Windows Print Spooler service say they wanted to see if there still was a way to game Print Spooler for a Stuxnet 2.0-style attack 10 years after the first known cyberweapon attack was unearthed. "We started digging in, looking at the original Stuxnet propagation, and then we found out there were problems. ... We decided to take the Spooler service to the next level, and eventually we found it was not fully patched," explains Tomer Bar, research team leader at Safe Breach, who along with his colleague Peleg Hadar found the flaws that they plan to detail today at Black Hat USA

Bar and Hadar found three zero-day vulnerabilities in the 20-year-old Windows Print Spooler program, which serves as the interface between a printer and the Windows operating system, loading the print driver, setting up print jobs, and printing. The new, post-Stuxnet vulns include a memory corruption bug that could be used to wage a denial-of-service (DoS) attack and two local privilege escalation bugs. One of the local privilege escalation flaws was patched by Microsoft in May (CVE-2020-1048), but Bar and Hadar found another similar flaw that bypasses that patch. All three vulnerabilities affect all versions of the Windows operating system.

"They're using the same function [as Stuxnet did] but with a little twist," Bar says of the two local privilege-escalation zero-days.

While Stuxnet used a Print Spooler exploit to gain remote access, the local vulnerability found by Bar and Hadar could allow any user to gain the highest privileges on the machine — either as a malicious insider who has physical access to the machine or via an existing remote-access foothold previously obtained by an attacker.

Hadar says while Microsoft's patch for the Stuxnet vulnerability (MS10-061) fixed the remote-attack hole, it didn't address the local privilege-escalation holes. "That's what we focused on and were able to exploit," he says. They found the flaws using good old-fashioned reverse engineering and fuzzing techniques.

Exploiting the flaws is fairly simple, too, the researchers say. They were able to employ PowerShell commands to exploit the vulns.

Along with their findings, the pair are releasing a proof-of-concept that demonstrates how these vulnerabilities that arbitrarily write to a file to escalate user privileges can be thwarted. The purpose is to show how to mitigate such attacks, Hadar says. Organizations can compile and load the proof-of-concept to help them understand how to block these Print Spooler attacks.

Meanwhile, Microsoft informed the researchers that it has no plans to patch the DoS vulnerability, Bar and Hadar say, but sometime after their presentation today, they expect Microsoft to issue a new patch for the local escalation flaw that bypasses the CVE-2020-1048 patch.

Microsoft did not directly respond to questions from Dark Reading about its patching plans or the nature of the flaws. "Coordinated Vulnerability Disclosure (CVD) is the industry best practice to help keep customers safe. We are committed to working with researchers to investigate reports and mitigate impacted devices as soon as possible," according to a statement provided to Dark Reading from a Microsoft spokesperson.

The Zero-Days
An attacker could use the memory corruption vulnerability to impose a DoS attack, merely by crafting a malicious printing file. When Print Spooler processes that file, the exploit causes the print service to crash. "So the most limited [privilege] user in a system can crash the service so that all users cannot print," Bar says.

It can also delete all print jobs that were queued up. "And if you try to restart it, we can crash it all over again," Bar says of the exploit.

While a printer DoS attack may seem less worrisome than other types of attacks, Ron Brash, director of cybersecurity insights at Verve Industrial Protection, says a DoS attack on Print Spooler could affect other operations if they run on the same Windows server, such as Active Directory or file shares.

"They could all get slowed by a resource consumption of a denial-of-service" attack, Brash explains. However, if the systems are configured for redundancy, a DoS would not be as painful. "It might prevent access to reports," for example, and mostly be an inconvenience, he says.

Exploiting the local privilege escalation flaws, meanwhile, only takes about dozen or so commands in Windows, according to the researchers. "The attacker doesn't need to have any special tools. ... He can use only native tools that are installed in Windows," Hadar explains. "Even a limited [privilege] user can come, run a few commands" and become a privileged user, he says.

The vulns, if exploited, could give an attacker a foothold to install malware, access data, or create new privileged user accounts.

Alex Ionescu, chief architect at CrowdStrike, says he's seen some online activity with the Print Spooler flaw CVE-2020-1048, but he thinks it could be from penetration testers or red-team exercises using it rather than in-the-wild attacks. "With the telemetry I've seen, it's out there," he says. "But no, I don't think we've seen any breaches of adversaries actually using this maliciously."

If an attacker already has local access on a machine, this is a simple way to escalate privileges on a server, he says, such as a nation-state establishing a beachhead in a target's network.

But patching this flaw doesn't guarantee a system is safe from attack, he warns. "One of the scary things about this is while the patch removes the ability to exercise the vulnerability," if an attacker has already gained a foothold via the vuln, they can keep attacking the system, he says.

Fixing an older legacy platform like Windows Print Spooler is fraught with tradeoffs, experts say. "It automatically causes compatibility issues: HP and Lexmark, for example, actually have components they produce that live inside Print Spooler," Ionescu says.

"It's the perfect storm of a very old [program] not being designed with security in mind, combined with compatibility issues with millions of printers," he says.

One way to mitigate these types of attacks, Ionescu notes, is to establish a Group Policy setting that prohibits non-privileged users from accessing Windows Print Spooler from their machines — only allowing them to print, for instance.

Related Content:

Kelly Jackson Higgins is the Executive Editor of Dark Reading. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... View Full Bio
 

Recommended Reading:

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 9/25/2020
Hacking Yourself: Marie Moe and Pacemaker Security
Gary McGraw Ph.D., Co-founder Berryville Institute of Machine Learning,  9/21/2020
Startup Aims to Map and Track All the IT and Security Things
Kelly Jackson Higgins, Executive Editor at Dark Reading,  9/22/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
Special Report: Computing's New Normal
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
How IT Security Organizations are Attacking the Cybersecurity Problem
How IT Security Organizations are Attacking the Cybersecurity Problem
The COVID-19 pandemic turned the world -- and enterprise computing -- on end. Here's a look at how cybersecurity teams are retrenching their defense strategies, rebuilding their teams, and selecting new technologies to stop the oncoming rise of online attacks.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-15208
PUBLISHED: 2020-09-25
In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, when determining the common dimension size of two tensors, TFLite uses a `DCHECK` which is no-op outside of debug compilation modes. Since the function always returns the dimension of the first tensor, malicious attackers can ...
CVE-2020-15209
PUBLISHED: 2020-09-25
In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, a crafted TFLite model can force a node to have as input a tensor backed by a `nullptr` buffer. This can be achieved by changing a buffer index in the flatbuffer serialization to convert a read-only tensor to a read-write one....
CVE-2020-15210
PUBLISHED: 2020-09-25
In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, if a TFLite saved model uses the same tensor as both input and output of an operator, then, depending on the operator, we can observe a segmentation fault or just memory corruption. We have patched the issue in d58c96946b and ...
CVE-2020-15211
PUBLISHED: 2020-09-25
In TensorFlow Lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, saved models in the flatbuffer format use a double indexing scheme: a model has a set of subgraphs, each subgraph has a set of operators and each operator has a set of input/output tensors. The flatbuffer format uses indices f...
CVE-2020-15212
PUBLISHED: 2020-09-25
In TensorFlow Lite before versions 2.2.1 and 2.3.1, models using segment sum can trigger writes outside of bounds of heap allocated buffers by inserting negative elements in the segment ids tensor. Users having access to `segment_ids_data` can alter `output_index` and then write to outside of `outpu...