Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

Tenable Blog

Subscribe

CVE-2021-20016: Zero-Day Vulnerability in SonicWall Secure Mobile Access (SMA) Exploited in the Wild

SonicWall releases a patch after researchers confirm exploitation of a zero-day vulnerability in SonicWall Secure Mobile Access

Background

On January 22, SonicWall published a product notification regarding a “coordinated attack on its internal systems” conducted by “highly sophisticated threat actors.” SonicWall believed the attackers had exploited “probable zero-day vulnerabilities” in specific SonicWall products used for remote access. As they continued with their investigation, they provided additional updates into the root cause of the attack, primarily to eliminate certain products that were originally believed to be affected.

On January 31, researchers at NCC Group tweeted that they had identified a “possible candidate for the vulnerability” that SonicWall was investigating, adding they observed “indiscriminate” exploitation for this flaw in the wild.

SonicWall in response confirmed the findings from NCC Group regarding the presence of a zero-day in its products and tracked this under the security advisory SNWLID-2021-0001.

Analysis

CVE-2021-20016 is a critical SQL injection vulnerability in SonicWall’s Secure Mobile Access 100 (SMA 100), a line of remote access products. A remote, unauthenticated attacker could submit a specially crafted query in order to exploit the vulnerability. Successful exploitation would grant an attacker the ability to access login credentials (username, password) as well as session information that could then be used to log into the vulnerable SMA appliance.

Rich Warren, principal security consultant at NCC Group, posted a Twitter thread with some indicators that he and his team observed as part of in-the-wild exploitation of this flaw. Warren specifically suggested reviewing log files to identify “anomalous requests” to the vulnerable device.

While examining the log files, Warren specifies that requests made to the management interface as well as through the SSL VPN client and web portal of the device should be preceded by a specific type of authentication request. If the requests are not preceded by these authentication requests, it means that the vulnerability was exploited and an authentication bypass attempt was successful.

Based on the limited information that has been shared thus far, it appears that this vulnerability is likely easy to exploit, which explains why such limited information has been made public.

Ease of exploitation akin to vulnerabilities in F5 and Citrix

When asked why additional details weren’t being shared publicly, Ollie Whitehouse, chief technical officer for NCC Group, tweeted that his team did not want to make it “too easy” as had been previously observed in the case of vulnerabilities in F5 and Citrix. Whitehouse was referencing CVE-2020-5902, a remote code execution vulnerability in the Traffic Management User Interface in F5’s BIG-IP, and CVE-2019-19781, a directory traversal vulnerability in the Citrix Application Delivery Controller, Gateway and SD-WAN WANOP products. Both of these vulnerabilities were exploited en masse soon after their disclosure and the availability of proof-of-concept exploit scripts became readily accessible.

Both CVE-2020-5902 and CVE-2019-19781 are two of the Top 5 Vulnerabilities we highlighted in our 2020 Threat Landscape Retrospective report. Flaws in SSL VPNs and other remote access tools are extremely valuable for cybercriminals, as they provide an ideal initial access vector into an organization’s network. While widespread exploitation of this SonicWall vulnerability has not yet been seen, once more details become available, we fully expect cybercriminals to take advantage of this flaw, underscoring the importance of applying the available patches as soon as possible.

Proof of concept

At the time this blog post was published, there was no public proof-of-concept available for CVE-2021-20016.

Solution

On February 3, SonicWall released firmware version 10.2.0.5-29sv to address this vulnerability in its SMA 100 line of products.

The following versions of SMA are affected by CVE-2021-20016:

Affected Devices Appliance Type
SMA 200 Physical
SMA 210 Physical
SMA 400 Physical
SMA 410 Physical
SMA 500v Virtual (Azure, AWS, ESXi, HyperV)

Customers that deploy any of the affected SMA devices are strongly encouraged to upgrade as soon as possible. In addition to upgrading, SonicWall recommends customers reset passwords for those users who have logged into the device through the web interface as well as enabling multi-factor authentication as an additional safeguard.

If upgrading to the latest firmware is not feasible at this time, customers can apply a temporary mitigation by enabling the SMA’s built-in Web Application Firewall (WAF) on the device. However, SonicWall does stress that while this mitigation does successfully thwart attempts to exploit CVE-2021-20016, it is not a replacement for upgrading to the latest patched firmware version.

Identifying affected systems

A list of Tenable plugins to identify this vulnerability can be found here.

Get more information

Join Tenable's Security Response Team on the Tenable Community.

Learn more about Tenable, the first Cyber Exposure platform for holistic management of your modern attack surface.

Get a free 30-day trial of Tenable.io Vulnerability Management.

Related Articles

Cybersecurity News You Can Use

Enter your email and never miss timely alerts and security guidance from the experts at Tenable.

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy.

Your Tenable Vulnerability Management trial also includes Tenable Lumin and Tenable Web App Scanning.

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

100 assets

Choose Your Subscription Option:

Buy Now

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy.

Your Tenable Vulnerability Management trial also includes Tenable Lumin and Tenable Web App Scanning.

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

100 assets

Choose Your Subscription Option:

Buy Now

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy.

Your Tenable Vulnerability Management trial also includes Tenable Lumin and Tenable Web App Scanning.

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

100 assets

Choose Your Subscription Option:

Buy Now

Try Tenable Web App Scanning

Enjoy full access to our latest web application scanning offering designed for modern applications as part of the Tenable One Exposure Management platform. Safely scan your entire online portfolio for vulnerabilities with a high degree of accuracy without heavy manual effort or disruption to critical web applications. Sign up now.

Your Tenable Web App Scanning trial also includes Tenable Vulnerability Management and Tenable Lumin.

Buy Tenable Web App Scanning

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

5 FQDNs

$3,578

Buy Now

Try Tenable Lumin

Visualize and explore your exposure management, track risk reduction over time and benchmark against your peers with Tenable Lumin.

Your Tenable Lumin trial also includes Tenable Vulnerability Management and Tenable Web App Scanning.

Buy Tenable Lumin

Contact a Sales Representative to see how Tenable Lumin can help you gain insight across your entire organization and manage cyber risk.

Try Tenable Nessus Professional Free

FREE FOR 7 DAYS

Tenable Nessus is the most comprehensive vulnerability scanner on the market today.

NEW - Tenable Nessus Expert
Now Available

Nessus Expert adds even more features, including external attack surface scanning, and the ability to add domains and scan cloud infrastructure. Click here to Try Nessus Expert.

Fill out the form below to continue with a Nessus Pro Trial.

Buy Tenable Nessus Professional

Tenable Nessus is the most comprehensive vulnerability scanner on the market today. Tenable Nessus Professional will help automate the vulnerability scanning process, save time in your compliance cycles and allow you to engage your IT team.

Buy a multi-year license and save. Add Advanced Support for access to phone, community and chat support 24 hours a day, 365 days a year.

Select Your License

Buy a multi-year license and save.

Add Support and Training

Try Tenable Nessus Expert Free

FREE FOR 7 DAYS

Built for the modern attack surface, Nessus Expert enables you to see more and protect your organization from vulnerabilities from IT to the cloud.

Already have Tenable Nessus Professional?
Upgrade to Nessus Expert free for 7 days.

Buy Tenable Nessus Expert

Built for the modern attack surface, Nessus Expert enables you to see more and protect your organization from vulnerabilities from IT to the cloud.

Select Your License

Buy a multi-year license and save more.

Add Support and Training