Skip to main content
Mallory
CriticalCISA KEVExploited in the wildPublic exploit

SonicWall SMA 1000 Pre-Authentication Deserialization RCE

IdentifiersCVE-2025-23006CWE-502· Deserialization of Untrusted Data

CVE-2025-23006 is a critical pre-authentication deserialization of untrusted data vulnerability in SonicWall Secure Mobile Access (SMA) 1000 Series appliances, specifically the Appliance Management Console (AMC) and Central Management Console (CMC). Under specific conditions, a remote unauthenticated attacker can supply crafted serialized data that is deserialized by the target, potentially resulting in arbitrary operating system command execution. The issue is described by SonicWall as affecting SMA1000 AMC/CMC and multiple sources in the provided content map it to CWE-502. The content also indicates the flaw was exploited in the wild as a zero-day prior to patching. Affected versions are reported as up to and including 12.4.3-02804, and remediation for this issue is reported in build 12.4.3-02854 and later platform-hotfix releases.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

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

Successful exploitation can allow unauthenticated remote code execution on affected SonicWall SMA 1000 appliances. The provided content states attackers can execute arbitrary OS commands, and multiple sources note that in observed attack chains this vulnerability was combined with CVE-2025-40602 to obtain root-privileged code execution. Given the role of SMA appliances as edge access infrastructure, compromise can enable full device takeover, persistence, access to sensitive configuration and credentials present on the appliance, and use of the appliance as a foothold for further intrusion into internal environments.

Mitigation

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

If immediate patching is not possible, reduce exposure of the AMC/CMC management interfaces. The provided content around SonicWall SMA exploitation recommends restricting management access to trusted administrative networks or VPN-only paths and removing public internet exposure of management services. Limiting access to AMC/CMC endpoints, disabling unnecessary public-facing management access, and closely monitoring for suspicious activity on management interfaces can reduce risk, but these are compensating controls only and not substitutes for patching.

Remediation

Patch, then assume compromise.

Upgrade affected SonicWall SMA 1000 appliances to a fixed platform-hotfix release. The provided content states CVE-2025-23006 was remediated in build version 12.4.3-02854 and higher. Systems on affected builds at or below 12.4.3-02804 should be updated to a vendor-fixed release as soon as possible. Because the vulnerability has been reported as exploited in the wild, post-upgrade review for signs of compromise is also warranted.
PUBLIC EXPLOITS

Exploits

1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.

VALID 1 / 1 TOTALView more in app
sonicwall-audit-toolkitMaturityPoCVerified exploit

Repository 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.

anir0yDisclosed Feb 23, 2026pythoncnetworklocal (docker lab)
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

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

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, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware3

Malware families riding this exploit, with evidence and IOCs.

Detection signatures1

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity13

Community discussion across Reddit, Mastodon, and other social sources.