01 Record
CVE-2024-4577
Argument Injection in PHP-CGI
CriticalKEVPUBLISHEDCNA: php
CNA base score9.8 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
02 Description
Argument Injection in PHP-CGI
03 Exploitation and scoring
- Exploitation
- Exploited in the wild. Listed in the CISA Known Exploited Vulnerabilities catalog on 2024-06-12. Federal remediation due 2024-07-03. Known ransomware campaign use: reported by CISA.
- SSVC decision
- ExploitationactiveCISA reports credible evidence of active exploitation.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 99.98% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 99.9% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Critical. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2024-06-09 19:42Z2 YR AGO
- Last updated
- 2025-10-21 23:05Z1 YR AGO
- Reserved
- 2024-05-06
- Assigning CNA
- php
- Record state
- PUBLISHED
- Severity
- Critical (CVSS 9.8)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')Base
- Data version
- 5.1
- Document digest
- 71d05fd062120d3b44b5c9d6bd2f928ec1695b3307d58128c90c9c814bb0b628
05 Affected products
06 References
- github.comhttps://github.com/php/php-src/security/advisories/GHSA-3qgc-jrrr-25jv
- blog.orange.twhttps://blog.orange.tw/2024/06/cve-2024-4577-yet-another-php-rce.html
- devco.rehttps://devco.re/blog/2024/06/06/security-alert-cve-2024-4577-php-cgi-argument-injection-vulnerability-en/
- arstechnica.comhttps://arstechnica.com/security/2024/06/php-vulnerability-allows-attackers-to-run-malicious-code-on-windows-servers/
- www.imperva.comhttps://www.imperva.com/blog/imperva-protects-against-critical-php-vulnerability-cve-2024-4577/
- github.comhttps://github.com/11whoami99/CVE-2024-4577
- github.comhttps://github.com/xcanwin/CVE-2024-4577-PHP-RCE
- github.comhttps://github.com/rapid7/metasploit-framework/pull/19247
- labs.watchtowr.comhttps://labs.watchtowr.com/no-way-php-strikes-again-cve-2024-4577/
- github.comhttps://github.com/watchtowrlabs/CVE-2024-4577
- www.php.nethttps://www.php.net/ChangeLog-8.php#8.1.29
- www.php.nethttps://www.php.net/ChangeLog-8.php#8.2.20
- www.php.nethttps://www.php.net/ChangeLog-8.php#8.3.8
- cert.behttps://cert.be/en/advisory/warning-php-remote-code-execution-patch-immediately
- isc.sans.eduhttps://isc.sans.edu/diary/30994
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/06/07/1
- lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/
- lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK/
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20240621-0008/
- www.cisa.govhttps://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-4577
- www.vicarius.iohttps://www.vicarius.io/vsociety/posts/php-cgi-os-command-injection-vulnerability-cve-2024-4577
- www.vicarius.iohttps://www.vicarius.io/vsociety/posts/php-cgi-argument-injection-to-rce-cve-2024-4577
- blog.talosintelligence.comhttps://blog.talosintelligence.com/new-persistent-attacks-japan/