alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Geoserver Unsafe jxpath Evaluation RCE Attempt M5 (CVE-2024-36401)";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"/geoserver/w"; fast_pattern; startswith;
content:"s?"; distance:1; within:2;
content:"valuereference"; nocase; distance:0;
content:"exec|28|java.lang.Runtime.getRuntime|28 29 2c|"; nocase; within:40;
reference:cve,2024-36401;
reference:url,github.com/Mr-xn/CVE-2024-36401?tab=readme-ov-file;
classtype:attempted-admin;
sid:2055811; rev:1;
metadata:affected_product Geoserver, attack_target Server, tls_state plaintext, created_at 2024_09_09, cve CVE_2024_36401, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag CISA_KEV, updated_at 2024_09_09, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)