- "기밀 VM의 빈틈을 메운다" 마이크로소프트의 오픈소스 파라바이저 '오픈HCL'란?
- The best early Black Friday AirPods deals: Shop early deals
- The 19 best Black Friday headphone deals 2024: Early sales live now
- I tested the iPad Mini 7 for a week, and its the ultraportable tablet to beat at $100 off
- The best Black Friday deals 2024: Early sales live now
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.
Per the @SonicWall advisory – https://t.co/teeOvpwFMD – we’ve identified and demonstrated exploitability of a possible candidate for the vulnerability described and sent details to SonicWall – we’ve also seen indication of indiscriminate use of an exploit in the wild – check logs
— NCC Group Research & Technology (@NCCGroupInfosec) January 31, 2021
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.
We can confirm there is a zero-day identified on the SMA 100 series remote access appliance. We expect to have a patch out on Feb. 2. Full details here: https://t.co/fXyUkzn5Lb
— SonicWall (@SonicWall) February 2, 2021
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.
Some more advice is to ensure that you are capturing proper centralised logging right now.
Look for anomalous requests to:
/cgi-bin/management
That do not also have a preliminary request to:
/__api__/v1/logon (200)
/__api__/v1/logon/<id>/authenticateIndicating auth bypass
— Rich Warren (@buffaloverflow) January 31, 2021
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:
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.