alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS TOTOLINK setTracerouteCfg Command Injection Attempt (CVE-2023-30013)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/cgi-bin/cstecgi.cgi"; fast_pattern;
http.request_body;
content:"|7b 22|command|22 3a 22|"; startswith;
content:"|3b|"; distance:0;
content:"|3b 22 2c 22|"; distance:0;
content:"topicurl|22 3a 22|setTracerouteCfg|22 7d|"; endswith;
reference:url,attackerkb.com/topics/xnX3I3PEgM/cve-2023-30013;
reference:cve,2023-30013;
classtype:attempted-admin;
sid:2048119; rev:1;
metadata:affected_product Router, attack_target Networking_Equipment, created_at 2023_09_19, cve CVE_2023_30013, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, updated_at 2023_09_19, reviewed_at 2023_09_19, mitre_tactic_id TA0008, mitre_tactic_name Lateral_Movement, mitre_technique_id T1210, mitre_technique_name Exploitation_Of_Remote_Services;
target:dest_ip;
)