alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Apache OFBiz Pre-Auth Remote Code Execution Attempt (CVE-2024-38856)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/webtools/control/"; fast_pattern; startswith;
pcre:"/^(?:TestService|view|showDateTime|main|forgotPassword)/R";
content:"ProgramExport"; endswith;
http.request_body;
content:"groovyProgram"; startswith;
reference:url,blog.sonicwall.com/en-us/2024/08/sonicwall-discovers-second-critical-apache-ofbiz-zero-day-vulnerability/;
reference:cve,2024-38856;
classtype:attempted-admin;
sid:2054947; rev:1;
metadata:affected_product Apache_OFBiz, attack_target Server, tls_state TLSDecrypt, created_at 2024_08_06, cve CVE_2024_38856, deployment Perimeter, deployment Internal, deployment SSLDecrypt, performance_impact Low, confidence High, signature_severity Major, tag CISA_KEV, updated_at 2024_08_06, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)