alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Grafana Server-Side Open Redirect (CVE-2025-6023)";
flow:established,to_server;
http.uri;
content:"/user/auth-tokens/rotate|3f|"; fast_pattern;
http.uri.raw;
content:"redirectTo";
pcre:"/^(?:\x3d|\x25(?:25)?3[dD])[^\x26]*?(?:\x23|\x25(?:25)?23)/R";
reference:url,blog.ethiack.com/blog/grafana-cve-2025-6023-bypass-a-technical-deep-dive;
reference:cve,2025-6023;
classtype:web-application-attack;
sid:2066502; rev:1;
metadata:affected_product Grafana, attack_target Server, tls_state TLSDecrypt, created_at 2025_12_30, cve CVE_2025_6023, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit, updated_at 2025_12_30, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)