alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS PHP-CGI OS Command Injection (soft hyphen) (CVE-2024-4577)";
flow:established,to_server;
http.method;
content:"POST";
http.uri.raw;
content:"|3f 25|AD"; fast_pattern; nocase;
http.request_body;
content:"|3c 3f|php"; startswith;
reference:url,www.akamai.com/blog/security-research/2024-php-exploit-cve-one-day-after-disclosure;
reference:cve,2024-4577;
classtype:web-application-attack;
sid:2060800; rev:1;
metadata:affected_product PHP, attack_target Server, created_at 2025_03_12, cve CVE_2024_4577, deployment Perimeter, deployment Internal, confidence High, signature_severity Major, tag Exploit, tag CISA_KEV, updated_at 2025_03_12, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)