PHP-CGI Argument Injection (CVE-2024-4577) for 2026-07-06

Last Updated: 00:00 UTC

CVE-2024-4577 lets an attacker pass command-line options to PHP-CGI on Windows by using a soft hyphen (%AD) that Windows best-fit mapping turns into a dash. Requests set allow_url_include and auto_prepend_file=php://input so the POST body runs as PHP. The RedTail cryptomining botnet (User-Agent libredtail-http) sprays this against every host it finds.

CVE References

CVE-2024-4577

MITRE ATT&CK

Tactic: Initial Access (TA0001)
Technique: T1190 — Exploit Public-Facing Application

Observed URIs

Attackers by Country

China: 1The Netherlands: 1United Arab Emirates: 1
China133.3%
The Netherlands133.3%
United Arab Emirates133.3%

IP Address : ASN : City/Provider

  • 223.85.251.55 : AS9808 China Mobile Communications Group Co., Ltd. : China

  • 62.50.146.243 : AS50049 RedSwitches : The Netherlands

  • 94.183.216.26 : AS214957 Nahor Hadish Design and Architecture Co., Ltd : United Arab Emirates

Share on: