alert http any any -> $HOME_NET any (
msg:"ET WEB_SERVER SonicWall SMA Post-Auth importlogo CGI File Upload";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/cgi-bin/importlogo|3f|"; fast_pattern;
content:"uploadId|3d|";
http.request_body;
content:"Content-Disposition|3a 20|";
content:"|0d 0a 23|"; distance:0;
reference:url,ssd-disclosure.com/ssd-advisory-sonicwall-sma100-stored-xss-to-rce/;
classtype:web-application-attack;
sid:2061632; rev:1;
metadata:affected_product SonicWall, attack_target Server, tls_state TLSDecrypt, created_at 2025_04_16, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit, updated_at 2025_04_16, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)