alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS RaspAP Command Injection Attempt (CVE 2022-39986) M1";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/ajax/openvpn/";
content:"_ovpncfg.php"; endswith;
http.request_body;
content:"cfg_id|25|3d|25|3b"; nocase; startswith; fast_pattern;
content:"|25|3b|25|23"; nocase; endswith;
reference:cve,2022-39986;
reference:url,attackerkb.com/topics/rSD5BAQ0qO/cve-2022-39986;
classtype:attempted-admin;
sid:2047674; rev:1;
metadata:affected_product Web_Server_Applications, attack_target Web_Server, created_at 2023_08_18, deployment Perimeter, deployment Internal, deployment SSLDecrypt, performance_impact Low, confidence High, signature_severity Major, updated_at 2023_08_18, mitre_tactic_id TA0008, mitre_tactic_name Lateral_Movement, mitre_technique_id T1210, mitre_technique_name Exploitation_Of_Remote_Services;
target:dest_ip;
)