CVE-2024-4577: PHP-CGI OS Command Injection Vulnerability
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.
Why it matters
CISA added CVE-2024-4577 to its Known Exploited Vulnerabilities (KEV) catalog on 2024-06-12 — meaning it is confirmed to be exploited in the wild, not just theoretically risky. It has been used in ransomware campaigns. US federal agencies had to remediate it by 2024-07-03, and it is a high priority for everyone else too.
How to fix it
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Details
- Affected: PHP Group PHP
- Added to CISA KEV: 2024-06-12
- Federal remediation due: 2024-07-03
- Weakness: CWE-78
- EPSS: 100.0% chance of exploitation in the next 30 days, higher than 100% of all CVEs
- Reference: NVD entry for CVE-2024-4577
Is CVE-2024-4577 in your fleet?
SkyShield scans your servers, containers and cloud for vulnerable packages and images (Trivy), ranks them by whether they're on CISA KEV and their EPSS exploit probability, and shows the fix per machine. Start free.