alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS XWiki Groovy Script Command Injection Attempt (CVE-2024-31982)";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"/xwiki/bin/get/Main/DatabaseSearch?outputSyntax=plain&text="; startswith; fast_pattern;
content:"async async|3d|false"; within:80;
content:"|7b 7b|groovy|7d 7d|"; within:36;
reference:cve,2024-31982;
reference:url,www.vicarius.io/vsociety/posts/xwiki-rce-cve-2024-31982;
classtype:attempted-admin;
sid:2061104; rev:1;
metadata:affected_product Web_Server_Applications, attack_target Web_Server, tls_state plaintext, created_at 2025_03_26, cve CVE_2024_31982, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2025_03_26, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)