alert http any any -> [$HTTP_SERVERS,$HOME_NET] any (
msg:"ET WEB_SPECIFIC_APPS XWiki Groovy Script Command Injection Attempt M2 (CVE-2024-31982)";
flow:established,to_server;
http.method;
content:"GET";
http.uri.raw;
content:"/xwiki/bin/get/Main/DatabaseSearch?"; startswith; fast_pattern;
content:"async%3dfalse"; within:80;
content:"%7b%7bgroovy%7d%7d"; within:36;
reference:cve,2024-31982;
reference:url,www.vicarius.io/vsociety/posts/xwiki-rce-cve-2024-31982;
classtype:attempted-admin;
sid:2071270; rev:1;
metadata:attack_target Server, created_at 2026_07_23, cve CVE_2024_31982, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2026_07_23, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)