alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Grafana Snapshot Authentication Bypass (CVE-2021-39226)";
flow:established,to_server;
http.uri;
content:"|2f 3a|key"; fast_pattern; endswith;
pcre:"/^\x2f(?:api|dashboard)\x2fsnapshots?\x2f\x3akey$/U";
reference:url,github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9;
reference:cve,2021-39226;
classtype:web-application-attack;
sid:2061338; rev:1;
metadata:affected_product Grafana, attack_target Server, tls_state TLSDecrypt, created_at 2025_04_07, cve CVE_2021_39226, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit, updated_at 2025_04_07, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)