Mass Exploitation of Windows PHP-CGI Flaw Delivers Ransomware, Backdoors and Cobalt Strike
Active Exploitation · 5 sources · Updated 2mo ago · First seen Jun 12, 2024

Attackers have widely exploited CVE-2024-4577, an argument-injection vulnerability in PHP running in CGI mode on Windows, to execute code remotely and deploy ransomware, backdoors and cryptocurrency miners. The flaw abuses Windows best-fit character mapping to turn a soft hyphen into a command-line option delimiter, bypassing protections associated with CVE-2012-1823. SANS honeypots detected early vulnerability probes shortly after PHP released patches on June 6, 2024. Censys identified approximately 458,800 potentially vulnerable PHP instances on June 9, while FortiGuard recorded attempts targeting more than 40,000 unique IPS devices by June 12; these figures indicate exposure and attack activity, not confirmed compromises. Reported payloads include TellYouThePass ransomware, Gh0st RAT, RedTail and XMRig.
Subsequent campaigns demonstrate sustained abuse across Asia. Bitdefender reported increasing exploitation, concentrated in Taiwan and Hong Kong, involving reconnaissance, Quasar RAT, malicious installers and cryptomining; some attempts altered firewall rules to block competing malicious infrastructure. Symantec linked a Taiwanese university intrusion to likely exploitation of the flaw, deploying the previously unseen Msupedge backdoor with DNS-tunneled command-and-control based on dnscat2, but did not establish attribution or motive. A separate campaign targeting Japanese organizations since January 2025 used PowerShell to deploy Cobalt Strike reverse-HTTP shellcode, followed by TaoWu plugins for system control and lateral movement. Organizations should upgrade affected PHP installations to current supported releases, evaluate alternatives to CGI, restrict unnecessary administrative-tool access and apply available IPS protections. Defenders should also investigate unexpected PowerShell activity, DNS tunneling, firewall changes and remote-access payloads on exposed Windows PHP servers.
Why it matters
Summary
CVE-2024-4577 has been exploited against Windows servers running PHP in CGI mode to deploy ransomware, remote-access backdoors, cryptocurrency miners and Cobalt Strike. Successful exploitation threatens application availability, server integrity and sensitive data, with compromised web servers also providing a foothold for lateral movement.
- Affected population: Organizations operating exposed Windows PHP-CGI applications, including applicable XAMPP deployments. Reported victims include a Taiwanese university and organizations in Japan; exposure is not restricted to Asia or a specific industry.
- Severity: TellYouThePass ransomware creates direct operational disruption; RATs and backdoors enable remote control and potential data theft; miners consume server resources.
- Scope: Censys identified approximately 458,800 potentially vulnerable instances on June 9, 2024. FortiGuard recorded attempts against more than 40,000 unique IPS devices by June 12, 2024. Neither figure represents confirmed compromises or current exposure.
- Geographic concentration: Bitdefender's March 2025 report placed 54.65% of its detections in Taiwan, 27.06% in Hong Kong and 16.39% in Brazil. These percentages describe its telemetry, not global prevalence.
- Exploitation status: Exploitation is established across multiple campaigns. The supplied reporting spans 2024 through January 2026; it does not establish attack volume as of October 9, 2026.


