CVE-2024-40766
CONFIRMED EXPLOITEDKNOWN RANSOMWARE CAMPAIGN USESonicWall SonicOS Improper Access Control Vulnerability
Is SonicWall SonicOS affected by CVE-2024-40766?
SonicWall SonicOS is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2024-40766, added on 2024-09-09. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (4 vulnerable CPE entries): sonicwall sonicos.
Published CPE version bounds mark releases below 6.5.4.15.116n as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2024-09-30, and CISA records known ransomware campaign use against it.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2024-53704Same productSonicWall SonicOS
SonicWall SonicOS SSLVPN Improper Authentication Vulnerability
- CVE-2020-5135Same productSonicWall SonicOS
SonicWall SonicOS Buffer Overflow Vulnerability
- CVE-2026-19868Same vendorSonicWall SonicOS SSLVPN
SonicWall SonicOS SSLVPN Use of Single-factor Authentication Vulnerability
- CVE-2026-83549Same vendorSonicWall SMA1000 Appliances
SonicWall SMA1000 Appliances OS Command Injection Vulnerability
- CVE-2017-1000253Neighboring entryLinux Kernel
Linux Kernel PIE Stack Buffer Corruption Vulnerability
- CVE-2024-38014Neighboring entryMicrosoft Windows
Microsoft Windows Installer Improper Privilege Management Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
SonicWall SonicOS contains an improper access control vulnerability that could lead to unauthorized resource access and, under certain conditions, may cause the firewall to crash.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
An improper access control vulnerability has been identified in the SonicWall SonicOS management access, potentially leading to unauthorized resource access and in specific conditions, causing the firewall to crash. This issue affects SonicWall Firewall Gen 5 and Gen 6 devices, as well as Gen 7 devices running SonicOS 7.0.1-5035 and older versions.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2024-09-09. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Known".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of SonicOS has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- Perimeter appliance / gateway surface (SonicWall SonicOS): stream syslog, NetFlow, and authentication telemetry off-box to an independent collector (`Zeek`, `Suricata`, `Wazuh`) so logs survive appliance tampering. Inspect `conn.log` / `ssl.log` for unauthenticated probes against exposed VPN or management interfaces.
- Inventory all hosts running SonicWall SonicOS and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0015Vendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-40766US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
Modern, cryptographically opinionated kernel-space VPN tunnel
Endpoint visibility, digital forensics, and incident response (DFIR) platform