alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS GLPI < 10.0.17 Pre-Auth SQL Injection (CVE-2025-24799)";
flow:established,to_server;
http.method;
content:"POST";
http.content_type;
content:"application/xml";
http.request_body;
content:"|3c|deviceid|3e|"; fast_pattern;
pcre:"/^[^\x3c]*?(?:(?:S(?:HOW\x20(?:C(?:UR(?:DAT|TIM)E|HARACTER\x20SET)|(?:VARI|T)ABLES)|ELECT\x20(?:FROM|USER|SLEEP))|U(?:NION\x20SELEC|PDATE\x20SE)T|DELETE\x20FROM|INSERT\x20INTO)|S(?:HOW.+(?:C(?:HARACTER.+SET|UR(DATE|TIME))|(?:VARI|T)ABLES)|ELECT.+(?:FROM|USER))|U(?:NION.+SELEC|PDATE.+SE)T|DELETE.+FROM|INSERT.+INTO|\x2f\*.+\*\x2f)/R";
reference:url,blog.lexfo.fr/glpi-sql-to-rce.html;
reference:cve,2025-24799;
classtype:web-application-attack;
sid:2061770; rev:1;
metadata:affected_product GLPI, attack_target Server, tls_state TLSDecrypt, created_at 2025_04_21, cve CVE_2025_24799, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit, updated_at 2025_04_21, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)