Actively exploited Used in ransomware EPSS 100% PHP Group PHP CWE-78

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

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.