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
50%
50%

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
 

Recommended Reading:

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
News
FluBot Malware's Rapid Spread May Soon Hit US Phones
Kelly Sheridan, Staff Editor, Dark Reading,  4/28/2021
Slideshows
7 Modern-Day Cybersecurity Realities
Steve Zurier, Contributing Writer,  4/30/2021
Commentary
How to Secure Employees' Home Wi-Fi Networks
Bert Kashyap, CEO and Co-Founder at SecureW2,  4/28/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
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-2021-31755
PUBLISHED: 2021-05-07
An issue was discovered on Tenda AC11 devices with firmware through 02.03.01.104_CN. A stack buffer overflow vulnerability in /goform/setmac allows attackers to execute arbitrary code on the system via a crafted post request.
CVE-2021-31756
PUBLISHED: 2021-05-07
An issue was discovered on Tenda AC11 devices with firmware through 02.03.01.104_CN. A stack buffer overflow vulnerability in /gofrom/setwanType allows attackers to execute arbitrary code on the system via a crafted post request. This occurs when input vector controlled by malicious attack get copie...
CVE-2021-31757
PUBLISHED: 2021-05-07
An issue was discovered on Tenda AC11 devices with firmware through 02.03.01.104_CN. A stack buffer overflow vulnerability in /goform/setVLAN allows attackers to execute arbitrary code on the system via a crafted post request.
CVE-2021-31758
PUBLISHED: 2021-05-07
An issue was discovered on Tenda AC11 devices with firmware through 02.03.01.104_CN. A stack buffer overflow vulnerability in /goform/setportList allows attackers to execute arbitrary code on the system via a crafted post request.
CVE-2021-31458
PUBLISHED: 2021-05-07
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader 10.1.1.37576. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the handlin...