alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Grafana Account Takeover via Path Traversal & Open Redirect (CVE-2025-4123)";
flow:established,to_server;
http.uri;
content:"/public/"; fast_pattern;
pcre:"/^(?:\x2e|\x2f|\x25(?:25)?2[eEfF])+(?:\x5c|\x25(?:25)?5[cC])/R";
reference:url,www.ox.security/confirmed-critical-the-grafana-ghost-exposes-36-of-public-facing-instances-to-malicious-account-takeover/;
reference:cve,2025-4123;
classtype:web-application-attack;
sid:2063023; rev:1;
metadata:affected_product Grafana, attack_target Server, created_at 2025_06_17, cve CVE_2025_4123, deployment Perimeter, deployment Internal, performance_impact Moderate, confidence Medium, signature_severity Major, tag Exploit, updated_at 2025_06_17, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)