alert http any any -> [$HOME_NET,$HTTP_SERVERS] any (
msg:"ET EXPLOIT GL iNet MTN300n Command Injection Attempt Inbound (CVE-2022-31898)";
flow:to_server,established;
http.method;
content:"POST";
http.uri;
content:"/cgi-bin/api/internet/ping"; fast_pattern;
http.request_body;
content:"ping_addr";
pcre:"/^[\x22\x27]\s*\x3a\s*[\x22\x27]\x3b/R";
reference:cve,2022-31898;
classtype:attempted-admin;
sid:2039794; rev:1;
metadata:attack_target Networking_Equipment, created_at 2022_11_16, cve CVE_2022_31898, deployment Perimeter, deployment Internal, confidence High, signature_severity Major, updated_at 2022_11_16, mitre_tactic_id TA0008, mitre_tactic_name Lateral_Movement, mitre_technique_id T1210, mitre_technique_name Exploitation_Of_Remote_Services;
)