CVE-2025-40598
published 2025-07-23CVE-2025-40598: A Reflected cross-site scripting (XSS) vulnerability exists in the SMA100 series web interface, allowing a remote unauthenticated attacker to potentially…
PriorityP341medium6.1CVSS 3.1
AVNACLPRNUIRSCCLILAN
EPSS
53.21%
98.8th percentile
A Reflected cross-site scripting (XSS) vulnerability exists in the SMA100 series web interface, allowing a remote unauthenticated attacker to potentially execute arbitrary JavaScript code.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| sonicwall | sma_100_series | — | — |
| sonicwall | sma_210_firmware | < 10.2.2.1-90sv | 10.2.2.1-90sv |
| sonicwall | sma_410_firmware | < 10.2.2.1-90sv | 10.2.2.1-90sv |
| sonicwall | sma_500v_firmware | < 10.2.2.1-90sv | 10.2.2.1-90sv |
Detection & IOCsextracted from sources · hover to see the quote
snort
alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS SonicWall CGI Reflected Cross-Site Scripting (CVE-2025-40598)"; flow:established,to_server; http.uri; content:"/cgi-bin/radiusChallengeLogin|3f|"; fast_pattern; content:"state|3d|"; pcre:"/^[^\x26]*?(?:\x22|\x27|\x3c|\x60|\x25(?:22|27|3[cC]|60)|\x26(?:lt|apos|quot)\x3b)/R"; reference:url,labs.watchtowr.com/stack-overflows-heap-overflows-and-existential-dread-sonicwall-sma100-cve-2025-40596-cve-2025-40597-and-cve-2025-40598/; reference:cve,2025-40598; classtype:web-application-attack; sid:2063850; rev:1; metadata:affected_product SonicWall, attack_target Server, tls_state TLSDecrypt, created_at 2025_07_31, cve CVE_2025_40598, deployment Perimeter, deployment Internal, confidence High, signature_severity Major, tag Exploit, updated_at 2025_07_31, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application; target:dest_ip;)
- →CVE-2025-40598 is triggered via an unauthenticated HTTP GET/POST request to the CGI endpoint /cgi-bin/radiusChallengeLogin with a malicious `state` query parameter containing XSS payload characters (quotes, angle brackets, backticks, or their URL/HTML-encoded equivalents).
- →The Snort/Suricata rule (ET sid:2063850) fires on established HTTP flows to the server matching the URI pattern above; TLS inspection (tls_state TLSDecrypt) is required to detect this over HTTPS.
- →CVE-2025-40598 is part of a trio of SonicWall SMA100 vulnerabilities (CVE-2025-40596 stack buffer overflow, CVE-2025-40597 heap overflow, CVE-2025-40598 reflected XSS) all triggerable via unauthenticated HTTP POST requests to a CGI endpoint; correlate alerts across all three CVEs for a fuller picture of exploitation attempts. ↗
- ·TLS decryption must be enabled on the monitoring sensor for the Snort/Suricata rule (sid:2063850) to fire, as SMA100 web interfaces typically operate over HTTPS.
- ·The NVD description characterises CVE-2025-40598 as a Reflected XSS (arbitrary JavaScript execution), but the Check Point summary describes it as 'arbitrary memory write'; ensure detection logic targets the CGI XSS vector specifically and does not conflate it with the memory-corruption siblings CVE-2025-40596/40597. ↗
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Suricata
ET WEB_SPECIFIC_APPS SonicWall Pre-Auth Heap-Based Buffer Overflow (CVE-2025-40597)
suricata·2025-07-31·CVSS 7.5
CVE-2025-40597 [HIGH] ET WEB_SPECIFIC_APPS SonicWall Pre-Auth Heap-Based Buffer Overflow (CVE-2025-40597)
ET WEB_SPECIFIC_APPS SonicWall Pre-Auth Heap-Based Buffer Overflow (CVE-2025-40597)
Rule: alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS SonicWall Pre-Auth Heap-Based Buffer Overflow (CVE-2025-40597)"; flow:established,to_server; http.uri; content:"/__api__/"; fast_pattern; http.host; bsize:>128; reference:url,labs.watchtowr.com/stack-overflows-heap-overflows-and-existential-dread-sonicwall-sma100-cve-2025-40596-cve-2025-40597-and-cve-2025-40598/; reference:cve,2025-40597; classtype:web-application-attack; sid:2063848; rev:1; metadata:affected_product SonicWall, attack_target Server, tls_state TLSDecrypt, created_at 2025_07_31, cve CVE_2025_40597, deployment Perimeter, deployment Internal, confidence High, signature_severity Major, tag Exploit, updated_at 2025_07_31, mitre
Suricata
ET WEB_SPECIFIC_APPS SonicWall CGI Reflected Cross-Site Scripting (CVE-2025-40598)
suricata·2025-07-31·CVSS 6.1
CVE-2025-40598 [MEDIUM] ET WEB_SPECIFIC_APPS SonicWall CGI Reflected Cross-Site Scripting (CVE-2025-40598)
ET WEB_SPECIFIC_APPS SonicWall CGI Reflected Cross-Site Scripting (CVE-2025-40598)
Rule: alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS SonicWall CGI Reflected Cross-Site Scripting (CVE-2025-40598)"; flow:established,to_server; http.uri; content:"/cgi-bin/radiusChallengeLogin|3f|"; fast_pattern; content:"state|3d|"; pcre:"/^[^\x26]*?(?:\x22|\x27|\x3c|\x60|\x25(?:22|27|3[cC]|60)|\x26(?:lt|apos|quot)\x3b)/R"; reference:url,labs.watchtowr.com/stack-overflows-heap-overflows-and-existential-dread-sonicwall-sma100-cve-2025-40596-cve-2025-40597-and-cve-2025-40598/; reference:cve,2025-40598; classtype:web-application-attack; sid:2063850; rev:1; metadata:affected_product SonicWall, attack_target Server, tls_state TLSDecrypt, created_at 2025_07_31, cve CVE_2025_40598, deployment Per
Suricata
ET WEB_SPECIFIC_APPS SonicWall Pre-Auth Stack-Based Buffer Overflow (CVE-2025-40596)
suricata·2025-07-31·CVSS 7.3
CVE-2025-40596 [HIGH] ET WEB_SPECIFIC_APPS SonicWall Pre-Auth Stack-Based Buffer Overflow (CVE-2025-40596)
ET WEB_SPECIFIC_APPS SonicWall Pre-Auth Stack-Based Buffer Overflow (CVE-2025-40596)
Rule: alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS SonicWall Pre-Auth Stack-Based Buffer Overflow (CVE-2025-40596)"; flow:established,to_server; http.uri; bsize:>2059; content:"/__api__/"; startswith; reference:url,labs.watchtowr.com/stack-overflows-heap-overflows-and-existential-dread-sonicwall-sma100-cve-2025-40596-cve-2025-40597-and-cve-2025-40598/; reference:cve,2025-40596; classtype:web-application-attack; sid:2063847; rev:1; metadata:affected_product SonicWall, attack_target Server, tls_state TLSDecrypt, created_at 2025_07_31, cve CVE_2025_40596, deployment Perimeter, deployment Internal, confidence High, signature_severity Major, tag Exploit, updated_at 2025_07_31, mitre_tactic_id
No public exploits indexed.
2025-07-23
Published