alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Vaultwarden Escalation of Privilege via OrgHeaders Variable Confusion (CVE-2025-24365)";
flow:established,to_server;
http.uri;
content:"/api/organizations/"; fast_pattern; startswith;
pcre:"/^(?P<orgid>[^\x2f]+).*?organizationId\x3d(?!(?P=orgid))/R";
reference:url,github.com/dani-garcia/vaultwarden/security/advisories/GHSA-j4h8-vch3-f797;
reference:cve,2025-24365;
classtype:web-application-attack;
sid:2066208; rev:1;
metadata:attack_target Server, tls_state TLSDecrypt, created_at 2025_12_09, cve CVE_2025_24365, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit, updated_at 2025_12_09, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)