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.

Perimeter

4/21/2021
04:20 PM
Connect Directly
Twitter
LinkedIn
RSS
E-Mail

Zero-Day Flaws in SonicWall Email Security Tool Under Attack

Three zero-day vulnerabilities helped an attacker install a backdoor, access files and emails, and move laterally into a target network.

SonicWall has deployed patches for three zero-day vulnerabilities in its email security tools and reports at least one known instance in which these flaws were exploited in an active attack.

The vulnerabilities exist in SonicWall Email Security (ES), an email security tool built to protect inbound and outbound messages and defend against advanced threats like ransomware, spear-phishing, and business email compromise. In a disclosure, SonicWall says the bugs affect both its hosted and on-premises email security products. 

Related Content:

7 Old IT Things Every New InfoSec Pro Should Know

Special Report: How Data Breaches Affect the Enterprise

New From The Edge: How to Create an Incident Response Plan From the Ground Up

Researchers at Mandiant, where a team found the vulnerabilities, say the vulns were executed in conjunction to achieve administrative access and code execution on a SonicWall ES device.

"The adversary leveraged these vulnerabilities, with intimate knowledge of the SonicWall application, to install a backdoor, access files and emails, and move laterally into the victim organization's network," said Josh Fleischer, Chris DiGiamo, and Alex Pennino in a report. 

Of the three vulnerabilities, CVE-2021-20021 has the highest CVSS score, 9.4, and enables unauthorized administrative account creation. An attacker could potentially create an admin account by sending a crafted HTTP request to the remote host, SonicWall says. CVE-2021-20022 has a CVSS score of 6.7 and enables post-authentication arbitrary file upload. CVE-2021-20023 also has a CVSS score of 6.7 and enables post-authentication arbitrary file read, the researchers report in a writeup of their findings.

Last month Mandiant detected post-exploitation Web shell activity on an Internet-accessible system in a customer environment. The system was a SonicWall ES application running on a Windows 2012 installation, and a Web shell was being served via the HTTPS-enabled Apache Tomcat Web server bundled with SonicWall ES. Because the Web shell was served in the application's bundled Web server, they suspected the compromise was linked to SonicWall ES.

The response team learned the SonicWall ES installation was 10.0.9, the latest version available, and there were no known vulnerabilities or active attacks. They found post-exploitation activity intended to delete evidence on the system; however, additional log files and a server snapshot gave them the evidence they needed to find the vulnerabilities.

Both the attackers and the target organization are unidentified, though Mandiant notes whoever is responsible is deeply familiar with SonicWall ES, as indicated by the fact they cleared the latest application-level log entries recorded by the SonicWall ES Web application.

Combined, all three exploits enabled the attacker to create a new admin account on the SonicWall ES device, expose hashed passwords for existing local admin accounts, create a Web shell in an arbitrary directory, and debug the exploitation's success and failure.

Mandiant disclosed CVE-2021-20021 and CVE-2021-20022 to the SonicWall Product Security Incident Response Team (PSIRT) on March 26, 2021. Both a hotfix and a patch were made available on April 9. CVE-2021-20023 was disclosed on April 6, and a patch was released on April 19.

All CVEs affect SonicWall ES and Hosted Email Security versions 10.0.1 and higher. The company advises customers and partners to upgrade to the 10.0.9.6173 Hotfix for Windows users, and the 10.0.9.6177 Hotfix for hardware and ESXi virtual appliance users. The SonicWall Hosted Email Security tool was automatically updated for all users, so no additional action is required.

The company notes SonicWall ES versions 7.0.0-9.2.2 are also affected; however, these are legacy versions and no longer supported.

"SonicWall routinely collaborates with third-party researchers and forensic analysis firms to ensure that our products meet or exceed security best practices," the company writes in a statement responding to today's news. It "strongly encourages" its customers and global organizations to "maintain diligence in patch management to strengthen the community's collective security posture." 

Today's news arrives a day after IT software firm Ivanti confirmed attackers are exploiting high-severity vulnerabilities, including one zero-day, in the Pulse Connect Secure VPN appliance. Like SonicWall, Ivanti had also been working with Mandiant, along with the Department of Homeland Security's Cybersecurity and Infrastructure Security Agency (CISA) and other organizations to respond to the exploits. Mandiant data points to ties between the Pulse Secure activity and China-linked attackers.

CISA has also issued an alert to inform organizations of the recently released SonicWall fixes.

Kelly Sheridan is the Staff Editor at Dark Reading, where she focuses on cybersecurity news and analysis. She is a business technology journalist who previously reported for InformationWeek, where she covered Microsoft, and Insurance & Technology, where she covered financial ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Threaded  |  Newest First  |  Oldest First
Edge-DRsplash-10-edge-articles
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
News
Attacks on Kaseya Servers Led to Ransomware in Less Than 2 Hours
Robert Lemos, Contributing Writer,  7/7/2021
Commentary
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
Video
Cartoon
Current Issue
Improving Enterprise Cybersecurity With XDR
Enterprises are looking at eXtended Detection and Response technologies to improve their abilities to detect, and respond to, threats. While endpoint detection and response is not new to enterprise security, organizations have to improve network visibility, expand data collection and expand threat hunting capabilites if they want their XDR deployments to succeed. This issue of Tech Insights also includes: a market overview for XDR from Omdia, questions to ask before deploying XDR, and an XDR primer.
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
CVE-2022-2286
PUBLISHED: 2022-07-02
Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.
CVE-2022-2285
PUBLISHED: 2022-07-02
Integer Overflow or Wraparound in GitHub repository vim/vim prior to 9.0.
CVE-2022-2284
PUBLISHED: 2022-07-02
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.
CVE-2022-33014
PUBLISHED: 2022-07-02
** REJECT ** DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: none. Reason: This candidate was withdrawn by its CNA. Further investigation showed that it was not a security issue. Notes: none.
CVE-2022-33015
PUBLISHED: 2022-07-02
** REJECT ** DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: none. Reason: This candidate was withdrawn by its CNA. Further investigation showed that it was not a security issue. Notes: none.