alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Next.js Forced Caching via x-now-route-matches HTTP Header (CVE-2024-46982)";
flow:established,to_server;
flowbits:set,ET.NextJS.CVE-2024-46982;
flowbits:noalert;
http.header;
content:"x-now-route-matches|3a 20|1"; fast_pattern;
reference:url,zhero-web-sec.github.io/research-and-things/nextjs-cache-and-chains-the-stale-elixir;
reference:cve,2024-46982;
classtype:web-application-attack;
sid:2059710; rev:1;
metadata:attack_target Server, tls_state TLSDecrypt, created_at 2025_01_27, cve CVE_2024_46982, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit, updated_at 2025_01_27, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)