alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Fortinet FortiWeb OS Command Injection (CVE-2025-58034)";
flow:established,to_server;
http.uri;
content:"/api/v2.0/cmdb/user/saml-user"; fast_pattern;
pcre:"/^.{1,10}(?:(?:\x2e|%(?:25)?2[Ee]){1,2}(?:\x2f|\x5c|%(?:25)?5[Cc]|%(?:25)?2[Ff]){1,}){2,}/R";
reference:url,www.pwndefend.com/2025/11/21/fortiweb-cve-2025-58034/;
reference:cve,2025-58034;
classtype:web-application-attack;
sid:2066512; rev:1;
metadata:affected_product FortiWeb, attack_target Server, tls_state TLSDecrypt, created_at 2025_12_31, cve CVE_2025_58034, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit, updated_at 2025_12_31, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)