alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS SonicWall SMA Authenticated Command Injection (CVE-2025-32821)";
flow:established,to_server;
http.uri;
content:"/cgi-bin/importlogo"; fast_pattern; startswith;
http.request_body;
content:"|0d 0a 0d 0a|";
pcre:"/^[^\x0d\]*?[\x24\x3b\x7c\x3c\x3e\x5e\x60\x0a\x23]/R";
http.method;
content:"POST";
reference:url,www.rapid7.com/blog/post/2025/05/07/multiple-vulnerabilities-in-sonicwall-sma-100-series-2025/;
reference:cve,2025-32821;
classtype:web-application-attack;
sid:2065064; rev:1;
metadata:affected_product SonicWall, attack_target Server, tls_state TLSDecrypt, created_at 2025_10_06, cve CVE_2025_32821, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2025_10_06, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)