alert http any any -> $HOME_NET 2031 (
msg:"ET EXPLOIT CentOS Control Web Panel Pre-Auth Remote Code Execution (CVE-2022-44877)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/login/index.php?login|3d 24|"; startswith; fast_pattern;
http.cookie;
content:"cwpsrv-";
http.request_body;
content:"username="; startswith;
content:"&password="; distance:0;
content:"&commit=Login"; distance:0; endswith;
reference:url,github.com/numanturle/CVE-2022-44877;
reference:cve,2022-44877;
classtype:attempted-admin;
sid:2043302; rev:1;
metadata:attack_target Server, created_at 2023_01_13, cve CVE_2022_44877, deployment Perimeter, deployment Datacenter, deployment SSLDecrypt, performance_impact Low, confidence High, signature_severity Major, tag CISA_KEV, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2023_01_13, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
)