alert http any any -> $HOME_NET any (
msg:"ET WEB_SERVER SonicWall SRA Post-Auth viewcert CGI Command Injection (CVE-2016-9684)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/cgi-bin/viewcert"; fast_pattern;
http.request_body;
content:"CERT|3d|";
pcre:"/^[^\x26\x0d\x0a]*?[\x3b\x60\x7c]/R";
reference:url,www.exploit-db.com/exploits/42343;
reference:cve,2016-9684;
classtype:web-application-attack;
sid:2061547; rev:1;
metadata:affected_product SonicWall, attack_target Server, tls_state TLSDecrypt, created_at 2025_04_14, cve CVE_2016_9684, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit, updated_at 2025_04_14, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)