Skip to content
CVE-2024-4577: Escalating Exploitation of PHP-CGI Windows Flaw

CVE-2024-4577: Escalating Exploitation of PHP-CGI Windows Flaw

First seen 24 Nov 2026, 22:49 UTC •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 24, 2026 at 22:50 UTC
  • •CVE-2024-4577 (CVSS 9.8) affects PHP-CGI on Windows for PHP 8.1 before 8.1.29, 8.2 before 8.2.20, and 8.3 before 8.3.8.
  • •CISA lists CVE-2024-4577 in the KEV catalogue and states it is known to be used in ransomware campaigns.
  • •Public proof-of-concept code and a Metasploit module exist for the flaw.
  • •Greenbone reports attacks distributing TellYouThePass ransomware were observed shortly after disclosure.
  • •Cybergen states the flaw is a patch bypass for CVE-2012-1823 and that unpatched systems are likely to have been scanned.

Greenbone reports that exploitation of CVE-2024-4577, a PHP-CGI OS command injection flaw (CWE-78) affecting PHP for Windows, continues to escalate, with the CVE rated CVSS 9.8. The flaw was disclosed in early June 2024 by Devcore researchers, and Greenbone states weaponization began within 48 hours. Attacks distributing TellYouThePass ransomware were reportedly observed immediately after disclosure. Public proof-of-concept code was published by watchTowr Labs, and a Metasploit module was released in mid-2024. CISA added the CVE to its Known Exploited Vulnerabilities catalogue, and its catalogue entry states it is known to be used in ransomware campaigns. The flaw lets a remote attacker misinterpret characters as PHP options via Windows Best-Fit character replacement when using Apache and PHP-CGI with certain code pages, which may allow revealing script source code or running arbitrary PHP code. Affected versions are PHP 8.1.* before 8.1.29, 8.2.* before 8.2.20, and 8.3.* before 8.3.8. Cybergen states it is a patch bypass for CVE-2012-1823 and that unpatched systems have almost certainly been scanned for it. National CERT advisories were recently issued by CERT NZ and the Canadian Centre for Cyber Security, following earlier alerts from CERT-EU and CERT-FR in June 2024. Greenbone notes it provides vulnerability tests to detect affected systems.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Updated 16h ago How this analysis works

Timeline

2012-05-11
CVE-2012-1823 published
Original PHP-CGI vulnerability record that CVE-2024-4577 is described as bypassing.
Greenbone
2024-06-07
First public PoC for CVE-2024-4577
First public proof-of-concept exploit for the flaw appeared.
Greenbone
2024-06-09
CVE-2024-4577 published
Flaw disclosed by Devcore security researchers, affecting PHP for Windows.
Greenbone
2024-06-12
Added to CISA KEV catalogue
CISA confirmed exploitation in the wild and added the CVE to its Known Exploited Vulnerabilities catalogue.
Cybergen Security
Recent
National CERT advisories issued
CERT NZ and the Canadian Centre for Cyber Security recently issued advisories on the flaw.
Greenbone

More articles in this cluster (2)

Following this threat?

Track TellYouThePass, Cobalt Strike and CVE-2012-1823 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed

Common questions

Which PHP versions are affected?
PHP 8.1.* before 8.1.29, 8.2.* before 8.2.20, and 8.3.* before 8.3.8 when running PHP-CGI on Windows with Apache. Systems on fixed versions are not affected.
Is this being exploited?
Yes. CISA confirmed exploitation in the wild and added the CVE to KEV on 2024-06-12, and Greenbone reports TellYouThePass ransomware attacks were observed shortly after disclosure.
What should we do first?
Upgrade PHP to the fixed versions listed for your branch, and use the Greenbone vulnerability tests or similar tooling to identify affected systems.