alert http any any -> [$HOME_NET,$HTTP_SERVERS] any (
msg:"ET WEB_SPECIFIC_APPS Apache Struts2 Path Traversal Attempt Inbound M1 (CVE-2024-53677)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
pcre:"/(?:\x2factionFileUpload|\.action)$/i";
http.request_body;
content:"--WebKitFormBoundary"; fast_pattern;
content:"|0d 0a|";
pcre:"/^.*?(?:(?:\x2e|%2[Ee]){1,2}(?:\x2f|\x5c|%5[Cc]|%2[Ff]){1,}){1,}/Rmi";
reference:cve,2024-53677;
classtype:web-application-attack;
sid:2058337; rev:2;
metadata:affected_product Apache_Struts2, attack_target Server, created_at 2024_12_16, cve CVE_2024_53677, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, updated_at 2024_12_16, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)