What is SonicWall SonicOS?
SonicWall produces network security appliances (firewalls, VPN concentrators, and UTM devices) running SonicOS, deployed extensively in enterprise, SMB, and government networks. SonicOS powers the NGFW management interface and the SSLVPN remote access service, making it a high-value target: thousands of SonicWall appliances expose their SSLVPN interface directly to the internet to support remote workers. Ransomware groups have consistently prioritized SonicWall vulnerabilities because a compromised VPN gateway provides immediate internal network access without further lateral movement needed.
Overview
CVE-2024-40766 is an improper access control vulnerability (CWE-284) in SonicWall SonicOS affecting both the management interface and SSLVPN access. An unauthenticated remote attacker can exploit the access control weakness to gain unauthorized access to resources and, under certain conditions, crash the firewall. SonicWall confirmed active exploitation in the wild by September 6, 2024 — just two weeks after the patch was released — and CISA added it to the KEV catalog on September 9, 2024. Arctic Wolf subsequently documented exploitation by Fog and Akira ransomware groups using the vulnerability to gain initial VPN access and deploy ransomware on enterprise networks.
Affected Versions
| Product / SonicOS Version | Vulnerable | Fixed |
|---|---|---|
| Gen 5 (SonicOS 5.9.x) | 5.9.x | 5.9.0.0-35HD or higher |
| Gen 6 (SonicOS 6.5.x) | 6.5.x | 6.5.0.0-22s or higher |
| Gen 7 (SonicOS 7.0.x) | 7.0.1-5035 and earlier | 7.0.1-5035 or newer |
| NSv (virtual) | Various | Refer to SonicWall advisory |
Technical Details
The improper access control (CWE-284) affects the HTTP/HTTPS listener for both the SonicOS management interface (port 8443 by default) and the SSLVPN service (port 443). The vulnerability allows an unauthenticated attacker to access management functionality or VPN sessions that should require authentication.
Impact modes:
- Unauthorized resource access: An attacker can access configuration endpoints, read sensitive device information, or potentially obtain credentials/session tokens that allow further access
- Device crash: Under certain exploitation conditions the firewall process crashes, causing a denial of service that drops all network traffic — potentially used to disable security controls
Ransomware kill chain observed by Arctic Wolf:
- Attacker exploits CVE-2024-40766 to obtain VPN access without valid credentials
- Attacker establishes an SSLVPN session to the target's internal network
- From the internal foothold, deploys Fog or Akira ransomware to endpoints and servers
- Ransom demanded for decryption keys
Exploitation Context
SonicWall explicitly confirmed exploitation in wild in their updated September 6, 2024 advisory — rare for a vendor to do so this quickly. Arctic Wolf tracked multiple ransomware intrusions using CVE-2024-40766 as the initial access vector:
- Fog ransomware: A ransomware group specializing in education and recreation sector targets
- Akira ransomware: A prolific ransomware-as-a-service operation responsible for hundreds of enterprise compromises in 2023–2024
Both groups used the vulnerability to gain VPN access without needing stolen credentials, bypassing all credential-based defenses. SonicWall appliances that were not patched within the short window between disclosure (August 22) and confirmation of exploitation (September 6) were actively compromised.
Remediation
- Apply SonicOS firmware updates immediately per the SonicWall PSIRT advisory SNWLID-2024-0015. The CISA deadline was September 30, 2024.
- Disable SSLVPN management access from the internet if the device has management interface access enabled on the WAN interface — only allow management from trusted IP ranges.
- Enable multi-factor authentication for SSLVPN as a defense-in-depth measure against credential-based attacks.
- Review SSLVPN session logs for connections from unexpected source IP addresses or geographic locations during the August–September 2024 exposure window.
- Implement network segmentation so that VPN-connected hosts cannot freely reach critical internal servers — limit blast radius if VPN access is obtained by an attacker.
- Rotate VPN user credentials if exploitation is suspected.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2024-40766 |
| Vendor / Product | SonicWall — SonicOS |
| NVD Published | 2024-08-23 |
| NVD Last Modified | 2025-10-31 |
| CVSS 3.1 Score | 9.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Severity | CRITICAL |
| CWE | CWE-284 find similar ↗ |
| CISA KEV Added | 2024-09-09 |
| CISA KEV Deadline | 2024-09-30 |
| Known Ransomware Use | ⚠️ Yes |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2024-08-22 | SonicWall publishes SNWLID-2024-0015 and releases patched SonicOS firmware |
| 2024-08-23 | CVE published |
| 2024-09-06 | SonicWall updates advisory confirming active exploitation in the wild |
| 2024-09-09 | CISA adds to KEV catalog |
| 2024-09-30 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| SonicWall PSIRT — SNWLID-2024-0015 | Vendor Advisory |
| NVD — CVE-2024-40766 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |
| Arctic Wolf — Akira and Fog Ransomware Exploiting SonicWall CVE-2024-40766 | Security Research |