Summary
CVE-2024-4577 is a -CGI OS command injection vulnerability in PHP Group PHP, rated critical severity with a CVSS base score of 9.8.
CISA added it to the Known Exploited Vulnerabilities catalogue on 12 June 2024, which means there is reliable evidence that attackers have exploited it and it is known to have been used in ransomware campaigns.
It can be exploited remotely over a network without needing an account.
PHP, specifically Windows-based PHP used in CGI mode, contains an OS command injection vulnerability that allows for arbitrary code execution. This vulnerability is a patch bypass for CVE-2012-1823.
Key facts
- Affected product
- PHP Group · PHP
- CVSS severity
- Critical9.8CVSS v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS (exploitation likelihood, next 30 days)
- 99.98%Higher than 99.9% of all scored CVEs
- Weakness (CWE)
- CWE-78
- Added to CISA KEV
- CISA due date (US federal agencies)
- First published (NVD)
- NVD status
- Analyzed
CISA required action
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
What UK organisations should do
01 Patch or mitigate
- The vendor has published a fix. Apply the update to every affected instance, starting with internet-facing systems.
- CISA's required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. CISA set a remediation due date of 3 July 2024 for US federal agencies; treat it as an indication of urgency rather than a deadline you can wait for.
- If you cannot patch straight away, record the risk decision, limit access to the affected service and set a review date.
02 Check your exposure
- Confirm whether you run PHP Group PHP anywhere, including systems managed by suppliers or cloud providers.
- Check whether management interfaces or web front ends for the product are reachable from the internet, and restrict them to trusted networks or a VPN.
- Because this vulnerability is known to be exploited, check affected systems for signs of compromise before and after patching, not just for the missing update.
03 Monitor and respond
- Alert on unexpected child processes, new scheduled tasks, outbound connections and web shells on affected hosts.
- If you find signs of compromise, follow your incident response plan. UK organisations can report significant incidents to the National Cyber Security Centre (NCSC), and personal data breaches may need to be reported to the ICO within 72 hours.
Other exploited PHP Group PHP vulnerabilities
- CVE-2026-109619
PHP
Stale Internal Request-State
High8.1 - CVE-2026-109618
PHP
Memory Corruption
Critical9.8
Same weakness (CWE-78) in other products
- CVE-2026-133323
Mitel · MiCollab
OS Command Injection
Critical9.8 - CVE-2026-103406
Hewlett Packard Enterprise (HPE) · Juniper Session Smart Conductor and Session Smart Router
OS Command Injection
Critical9.8 - CVE-2026-111560
Barracuda Networks · Multiple Products
OS Command Injection
High7.2 - CVE-2026-116779
SignalWire · FreeSwitch
Code Injection
Critical9.8 - CVE-2026-110447
Collabora · Collabora Online – Built-in CODE Server
Online – Built-in CODE Server OS Command Injection
Critical9.8 - CVE-2026-106931
EG Secure Solutions · SiteGuard Server Edition
OS Command Injection
High8.5
Sources and references
- CISA Known Exploited Vulnerabilities catalogue
- NVD record for CVE-2024-4577
- FIRST EPSS score
- php.net
- openwall.comMailing List · Third Party Advisory
- arstechnica.comExploit · Press/Media Coverage · Third Party Advisory
- blog.orange.twThird Party Advisory
- cert.beThird Party Advisory
- devco.reExploit · Third Party Advisory
- github.comExploit
- github.comExploit · Third Party Advisory
- github.comExploit · Issue Tracking · Patch
- github.comExploit · Third Party Advisory
- github.comExploit · Third Party Advisory
- isc.sans.eduExploit · Third Party Advisory
- labs.watchtowr.comExploit · Third Party Advisory
- lists.fedoraproject.orgMailing List
- lists.fedoraproject.orgMailing List
- security.netapp.comThird Party Advisory
- imperva.comThird Party Advisory
- php.netRelease Notes
- php.netRelease Notes
- php.netRelease Notes
- blog.talosintelligence.comExploit · Third Party Advisory
- vicarius.ioExploit · Third Party Advisory
- vicarius.ioExploit · Third Party Advisory
- cisa.govUS Government Resource
Last updated . Summary and guidance are generated from CISA, NVD and FIRST data; always confirm details in the vendor advisory.