alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS SAP Netweaver Unauthenticated File Upload Attempt (JSP Webshell) (CVE-2025-31324)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/developmentserver/metadatauploader"; fast_pattern; startswith;
http.request_body;
content:"Content-Disposition|3a 20|form-data|3b 20|name|3d 22|file|22 3b 20|filename|3d 22|";
content:".jsp|22|"; within:100;
content:"Content-Type|3a 20|application/octet-stream"; within:50;
pcre:"/^[^\x3c]*?(?:\x3c\x25\x40|\x3c\x25\x2d\x2d|\x3c\x25)/R";
reference:cve,2025-31324;
reference:url,redrays.io/blog/critical-sap-netweaver-vulnerability-cve-2025-31324-fixed-actively-exploited-in-the-wild/;
classtype:attempted-admin;
sid:2061924; rev:1;
metadata:affected_product SAP, attack_target Server, tls_state plaintext, created_at 2025_04_28, cve CVE_2025_31324, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2025_04_28, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)