alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS GL.iNet Authentication Bypass/SQL Injection attempt (CVE-2023-50919)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/rpc";
http.request_body;
content:"|7b 22|jsonrpc|22 3a|"; startswith;
content:"|22|2.0|22 2c|"; distance:0; within:10;
content:"|22|id|22 3a|"; distance:0; within:10;
content:"|22|method|22 3a|"; distance:0; within:30;
content:"|22|login|22 2c|"; distance:0; within:20;
content:"|22|params|22 3a|"; distance:0; within:20;
content:"|7b 22|username|22 3a|"; distance:0; within:30;
content:"|22|roo|5b 5e 27|union selecT char|28|114|2c|111|2c|111|2c|116|29 2d 2d 5d 3a|"; fast_pattern; distance:0; within:100;
reference:url,attackerkb.com/topics/LdqSuqHKOj/cve-2023-50919;
reference:cve,2023-50919;
classtype:attempted-admin;
sid:2049926; rev:2;
metadata:affected_product GL_iNet, created_at 2024_01_05, cve CVE_2023_50919, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_11_26, reviewed_at 2024_10_03, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)