Infoblox Threat Intel
  • infoblox:blogs/category
2021-07-20T14:31:51
3 minutes

Cyber Threat Advisory: SonicWall Vulnerability

Cyber Threat Advisory: SonicWall Vulnerability. On 15 July, the Cybersecurity and Infrastructure Security Agency (CISA) issued an alert about threat actors actively targeting a known and previously patched vulnerability in SonicWall’s Secure Mobile Access (SMA) 100 series and Secure Remote Access (SRA) products that run on unpatched and end-of-life (EOL) 8.x firmware.

On this page

Author: Yadu Nadh

TLP: WHITE

Executive Summary

On 15 July, the Cybersecurity and Infrastructure Security Agency (CISA) issued an alert about threat actors actively targeting a known and previously patched vulnerability in SonicWall’s Secure Mobile Access (SMA) 100 series and Secure Remote Access (SRA) products that run on unpatched and end-of-life (EOL) 8.x firmware.1

On 15 July, SonicWall confirmed CISA’s alert about the vulnerability being actively exploited in the wild and urged its customers to take steps to reduce the risk of getting attacked.2 SonicWall has already identified three vulnerabilities that affect SRA 4600 and SMA 100 devices: CVE-2019-7481, CVE-2019-7482, and CVE-2021-20016.3,4

Analysis

Big game hunting (BGH) ransomware actors5 as well as ransomware gangs6 have exploited CVE-2021-20016 to then be able to log in to the VPN simply by using the victim’s credentials (without brute-forcing). The threat actor can then deploy the ransomware of choice, encrypt the compromised system, and demand a ransom.7 Using this approach, an unknown threat actor exploited CVE-2021-20016 in SMA 100 Series VPN appliances, deployed FiveHands ransomware, and then pressured the victim to pay a ransom by threatening to 1) expose the victim’s data to the media and 2) sell the data in underground forums.8

CVE-2019-7481 is a critical SQL injection vulnerability. To exploit it, a remote, unauthenticated attacker could submit a specially crafted query. The attacker could then exploit another vulnerability to gain various levels of access to the SSL-VPN, because the data stored in the Sessions table in the SQLite database seems to consist of the session identifiers for authenticated users.

Exploiting CVE-2019-7482 allows the attackers to arbitrarily execute code. This vulnerability lies in a buffer overflow that takes place during the parsing of the browser’s user agent. The overflow can occur if the attacker has set the user agent to mimic Safari, because the getSafariVersion function in the libSys.so library is vulnerable and can lead to a crash. This has not yet been found to be exploited in the wild.

CVE-2021-20016 is a critical SQL injection vulnerability that exploits unpatched SMA 100 series devices used for remote access. A remote, unauthenticated attacker could submit a specially crafted query to exploit the vulnerability. Successful exploitation would enable the attacker to access login credentials and session information and then use this information to log in to a vulnerable, unpatched SMA 100 device.

Prevention and Mitigation

CISA urges owners and operators of critical infrastructures to apply the following measures that can mitigate the risk of compromise by such ransomware attacks:

Endnotes

  1. https://us-cert.cisa.gov/ncas/current-activity/2021/07/15/ransomware-risk-unpatched-eol-sonicwall-sra-and-sma-8x-products
  2. https://www.sonicwall.com/support/product-notification/urgent-security-notice-critical-risk-to-unpatched-end-of-life-sra-sma-8-x-remote-access-devices/210713105333210/
  3. https://blog.scrt.ch/2020/02/11/sonicwall-sra-and-sma-vulnerabilties/
  4. https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0001
  5. https://www.crowdstrike.com/blog/how-ecrime-groups-leverage-sonicwall-vulnerability-cve-2019-7481/
  6. https://www.fireeye.com/blog/threat-research/2021/04/unc2447-sombrat-and-fivehands-ransomware-sophisticated-financial-threat.html
  7. https://www.fireeye.com/blog/threat-research/2021/04/unc2447-sombrat-and-fivehands-ransomware-sophisticated-financial-threat.html
  8. https://www.bleepingcomputer.com/news/security/new-ransomware-group-uses-sonicwall-zero-day-to-breach-networks/
Article Tags
  • infoblox:blogs/tags/brand-spoofing-and-typosquatting
  • infoblox:blogs/category/threat-intelligence
You might also be interested in