Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
HighPublic exploit

SSRF in SonicWall SonicOS SSH Management Interface

IdentifiersCVE-2024-53705CWE-918· Server-Side Request Forgery (SSRF)

CVE-2024-53705 is a server-side request forgery (SSRF) vulnerability in the SonicWall SonicOS SSH management interface. According to the provided content, exploitation allows a remote attacker to cause the firewall to establish a TCP connection to an arbitrary IP address on any port. The issue is specifically described as occurring when a user is logged in to the firewall, indicating the vulnerable request path is reachable in the context of an authenticated management session. The affected product family is described broadly as SonicWall SonicOS across Gen 6, Gen 6.5, Gen 7, and TZ80 firewall products in the associated disclosure context.

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 allows an attacker to use the affected firewall as a network pivot to initiate outbound TCP connections to attacker-selected hosts and ports. This can enable internal network probing, access to otherwise unreachable services, and circumvention of network segmentation or source-based access controls by leveraging the firewall's network position. Based on the provided content, the vulnerability does not itself establish code execution, but it can materially expand an attacker’s reach and facilitate follow-on exploitation or reconnaissance.

Mitigation

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

If immediate patching is not possible, reduce exposure of management interfaces and restrict access to trusted sources only. Because the issue is in the SSH management interface and requires a logged-in user context, limit administrative interface exposure, avoid unnecessary Internet exposure of management services, and monitor access logs for suspicious activity. The broader vendor guidance in the provided content also recommends disabling Internet-facing SSLVPN access or restricting it to trusted sources where immediate patching is not feasible, and reviewing exposed devices for anomalous login attempts or other abnormal access log entries.

Remediation

Patch, then assume compromise.

Apply the vendor-provided SonicWall software updates released to address CVE-2024-53705. The provided content states that SonicWall disclosed the issue on 7 January 2025 and released software updates for affected products. Updating affected SonicOS Gen 6, Gen 6.5, Gen 7, and TZ80 devices to the latest fixed version is the primary remediation.
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)
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 malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

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 activity

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