Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2025-23006: Pre-authentication deserialization RCE in SonicWall SMA1000 AMC and CMC

Published Jan 23, 2025 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS26.6%98th percentile
CISA KEVYesAdded Jan 24, 2025
In the wildActivePer CISA KEV
Vendor
Sonicwall
IdentifiersCVE-2025-23006CWE-502 · Deserialization of Untrusted Data

CVE-2025-23006 is a pre-authentication deserialization-of-untrusted-data vulnerability affecting the Appliance Management Console (AMC) and Central Management Console (CMC) of SonicWall Secure Mobile Access (SMA) 1000 appliances. Versions 12.4.3-02804 (platform-hotfix) and earlier are affected. Under unspecified conditions, a remote unauthenticated attacker can execute arbitrary operating-system commands. The vulnerability was exploited before its January 2025 patch release. A separate technical account associates the same CVE patch with an SSO token-generation authentication bypass; the relationship between that weakness and the deserialization flaw is not established.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation permits arbitrary operating-system command execution on an affected appliance and is described as potentially providing full system control. Observed exploitation chains combining CVE-2025-23006 with the local privilege escalation vulnerability CVE-2025-40602 achieve unauthenticated remote code execution with root privileges. Root-level execution in those chains should not be attributed to CVE-2025-23006 alone.

Mitigation

If you can’t patch tonight, do this now.

Restrict access to both AMC and CMC management interfaces to trusted sources and remove public management-interface exposure. These access restrictions reduce exposure but do not replace installation of the vendor fix.

Remediation

Patch, then assume compromise.

Upgrade affected SonicWall SMA1000 appliances to version 12.4.3-02854 (platform-hotfix) or later, which remediates CVE-2025-23006. Prioritize deployment because exploitation has been observed in the wild. Where applicable, also install updates addressing CVE-2025-40602 to eliminate the documented privilege-escalation chain.

Public exploits

Exploits

1 exploit validated by Mallory's analysis.

View more in app →
sonicwall-audit-toolkitRepository purpose: a Python-based SonicWall “Security Audit Toolkit” plus a Docker CTF-style lab that simulates and (in solutions) exploits two critical SonicWall CVEs. Top-level structure: - sonicwall_audit.py: main orchestrator CLI that runs modules (ssl, cve, auth, web) against a target https://<host>:<port>, writes JSON/text reports to reports/. - validate_cves.py: standalone deep validators for CVE-2021-20038 and CVE-2024-53704 using non-destructive behavioral checks. - modules/: implementation of auditors/validators and report generation. - lab/: docker-compose lab with two containers: - cve-2021-20038: Apache + deliberately vulnerable 32-bit CGI binary /usr/lib/cgi-bin/sslvpnclient (and symlinks portal/welcome/etc). Protections disabled (no canary, execstack, no PIE, ASLR disabled in entrypoint) to make stack overflow exploitation feasible. - cve-2024-53704: Flask/Gunicorn SSLVPN simulator on 4433 with vulnerable swap cookie deserialization (conditional HMAC verification). - lab/exploits/: skeleton exploit templates (incomplete). - lab/solutions/: working exploits. Exploit capabilities present: 1) CVE-2024-53704 (auth bypass via cookie forgery): Working exploit forges a base64-encoded JSON session cookie named swap with {username, authenticated:true} and omits sig_version so the server skips HMAC verification. It then accesses /virtual-office/ and /dashboard to retrieve the flag. 2) CVE-2021-20038 (stack buffer overflow -> RCE): Working exploit crafts a URL-encoded query string payload to overflow a 4096-byte stack buffer in the CGI handler (strcpy of QUERY_STRING). Payload includes a NOP sled, null-free 32-bit x86 Linux shellcode that runs /bin//sh -c "cat /root/flag.txt", padding to offset 4100, and an attacker-chosen return address into the sled. Output is returned in the HTTP response body. Important distinction: the main toolkit modules and CVE validators are primarily scanners/validators and explicitly avoid destructive exploitation; the actual exploitation code is confined to the lab solution scripts intended for the local practice environment.anir0y · Disclosed Feb 23, 2026 · python · c · network · local (docker lab)Weaponized
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
SonicwallSma6200 Firmwareoperating_system
SonicwallSma6210 Firmwareoperating_system
SonicwallSma7200 Firmwareoperating_system
SonicwallSma7210 Firmwareoperating_system
SonicwallSma8200vapplication
SonicwallSra Ex6000 Firmwareoperating_system
SonicwallSra Ex7000 Firmwareoperating_system
SonicwallSra Ex9000 Firmwareoperating_system
FAQ

Frequently asked questions

Is CVE-2025-23006 exploited in the wild?
Yes. As of Oct 10, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jan 24, 2025.
Is there a public exploit for CVE-2025-23006?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2025-23006, the earliest disclosed Feb 23, 2026.
Is there a patch for CVE-2025-23006?
Upgrade affected SonicWall SMA1000 appliances to version 12.4.3-02854 (platform-hotfix) or later, which remediates CVE-2025-23006. Prioritize deployment because exploitation has been observed in the wild.
What products are affected by CVE-2025-23006?
Sonicwall Sma6200 Firmware, Sonicwall Sma6210 Firmware, Sonicwall Sma7200 Firmware, Sonicwall Sma7210 Firmware, Sonicwall Sma8200v, and 3 more.
How severe is CVE-2025-23006?
CVE-2025-23006 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 26.6% (98th percentile) as of Oct 10, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware3Malware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity14Community discussion across Reddit, Mastodon, and other social sources.