alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Fortinet FortiWeb Fabric Connector Unauthenticated SQL Injection (CVE-2025-25257) M1";
flow:established,to_server;
http.uri;
content:"/api/fabric/device/status"; fast_pattern; startswith;
http.header;
content:"Authorization|3a 20|Bearer|20|";
pcre:"/^.*?[\x27\x22\x3b\x2d\x5c\x2a\x2f]/R";
reference:url,labs.watchtowr.com/pre-auth-sql-injection-to-rce-fortinet-fortiweb-fabric-connector-cve-2025-25257/;
reference:cve,2025-25257;
classtype:web-application-attack;
sid:2063426; rev:1;
metadata:attack_target Server, created_at 2025_07_14, cve CVE_2025_25257, deployment Perimeter, deployment Internal, confidence High, signature_severity Major, tag Exploit, tag CISA_KEV, updated_at 2025_07_14, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)