RCE in Php Group
CVE-2024-4577
In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, when using Apache and PHP-CGI on Windows, if the system is set up to use certain code pages, Windows may use "Best-Fit" behavior to replace characters in command…
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.944 (100.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Php Group — versions 8.1.*, 8.2.*, 8.3.*
Weakness classification (CWE)
CISA KEV (Known Exploited Vulnerabilities)
This CVE is on the CISA KEV catalog, added on . CISA KEV inclusion means CISA has confirmed in-the-wild exploitation; US federal agencies are required to remediate within a published due date.
BOD 22-01 due date: .
Required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Known ransomware campaign use: yes.
Public proof-of-concept exploits
References
- github.com/php/php-src/security/advisories/GHSA-3qgc-jrrr-25jv
- blog.orange.tw/2024/06/cve-2024-4577-yet-another-php-rce.html
- devco.re/blog/2024/06/06/security-alert-cve-2024-4577-php-cgi-argument-injectio…
- arstechnica.com/security/2024/06/php-vulnerability-allows-attackers-to-run-mali…
- www.imperva.com/blog/imperva-protects-against-critical-php-vulnerability-cve-20…
- github.com/11whoami99/CVE-2024-4577
- github.com/xcanwin/CVE-2024-4577-PHP-RCE
- github.com/rapid7/metasploit-framework/pull/19247
- labs.watchtowr.com/no-way-php-strikes-again-cve-2024-4577/
- github.com/watchtowrlabs/CVE-2024-4577
Frequently asked questions
- What is CVE-2024-4577?
- CVE-2024-4577 is a critical-severity vulnerability in Php Group, classified under OS Command Injection. CVSS score: 9.8/10. Published 2024-06-09.
- How severe is CVE-2024-4577?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2024-4577 known to be exploited?
- Yes. CVE-2024-4577 is listed in the CISA Known Exploited Vulnerabilities catalog (added 2024-06-12), indicating it is being actively exploited. 182 public proof-of-concept repositories are indexed.