alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS GL-iNet Authentication Bypass attempt (CVE-2024-45261)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/rpc";
http.content_type;
content:"application/json";
http.request_body;
content:"jsonrpc"; fast_pattern;
content:"|22|id|22 3a|";
content:"1"; within:10;
content:"|22|method|22 3a|";
content:"|22|login|22|"; within:15;
content:"|22|params|22 3a|";
content:"|22|username|22 3a|";
pcre:"/^.*?(?:ubus|nobody)\x22/R";
content:"|22|hash|22 3a|";
reference:cve,2024-45261;
reference:url,github.com/isstabber/GL.iNet-Exploits;
classtype:attempted-admin;
sid:2061947; rev:1;
metadata:affected_product GL_iNet, attack_target Networking_Equipment, tls_state TLSDecrypt, created_at 2025_04_28, cve CVE_2024_45261, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2025_04_28, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)