alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS better-auth Unauthenticated API Key Creation (CVE-2025-61928)";
flow:established,to_server;
http.uri;
content:"/api/auth/api-key/create"; fast_pattern; startswith;
http.request_body;
content:"|22|userId|22|";
content:"|22|name|22|";
http.method;
content:"POST";
reference:url,zeropath.com/blog/breaking-authentication-unauthenticated-api-key-creation-in-better-auth-cve-2025-61928;
reference:cve,2025-61928;
classtype:web-application-attack;
sid:2065283; rev:1;
metadata:attack_target Server, tls_state TLSDecrypt, created_at 2025_10_21, cve CVE_2025_61928, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2025_10_21, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)