alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Apache OFBiz Server-Side Request Forgery (CVE-2024-45195)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/webtools/control/forgotPassword/viewdatafile"; fast_pattern;
http.request_body;
content:"DATAFILE_LOCATION|3d|";
pcre:"/^(?:ht|f)tps?\x3a\x2f{2}/Ri";
content:"DATAFILE_IS_URL|3d|true";
content:"DEFINITION_LOCATION|3d|";
pcre:"/^(?:ht|f)tps?\x3a\x2f{2}/Ri";
content:"DEFINITION_IS_URL|3d|true";
reference:url,www.rapid7.com/blog/post/2024/09/05/cve-2024-45195-apache-ofbiz-unauthenticated-remote-code-execution-fixed/;
reference:cve,2024-45195;
classtype:web-application-attack;
sid:2056365; rev:1;
metadata:affected_product Apache_OFBiz, attack_target Server, tls_state TLSDecrypt, created_at 2024_10_01, cve CVE_2024_45195, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit, updated_at 2024_10_01, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)