alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS GLiNet GL-AX1800 s2s API Command Injection Attempt (CVE-2024-39226)";
flow:established,to_server;
http.method;
content:"POST";
http.uri; bsize:12;
content:"/cgi-bin/glc";
http.request_body;
content:"|22|object|22 3a 20 22|s2s|22|"; fast_pattern;
content:"|22|method|22 3a 20 22|enable_echo_server|22|";
content:"|22|args|22 3a|";
content:"|22|port|22 3a|";
pcre:"/^(?:\x22|\x20\x22)[^\x26\x22\x2c\x7d]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R";
reference:url,yhuanhuan01.github.io;
reference:cve,2024-39226;
classtype:attempted-admin;
sid:2062265; rev:1;
metadata:affected_product GL_iNet, attack_target Networking_Equipment, tls_state TLSDecrypt, created_at 2025_05_12, cve CVE_2024_39226, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2025_05_12, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)