CVE-2024-4577
Published: June 12, 2024
Official Description
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.
CISA KEV Advisory
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.
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Risk Analysis
This vulnerability in PHP, specifically when used in CGI mode on Windows, allows for operating system command injection and arbitrary code execution. It is a bypass for a previous security fix, CVE-2012-1823. This is a high-severity issue with a very high exploitation likelihood (EPSS 0.94374) and is actively exploited.
This vulnerability is actively exploited in the wild and is included in CISA's Known Exploited Vulnerabilities Catalog. It is remotely exploitable, allowing for arbitrary code execution.
Update PHP to the latest secure version, especially if running on Windows in CGI mode. Consider alternative PHP deployment modes that are not susceptible to this specific vulnerability.
Technical Analysis
CVE-2024-4577 requires local access, meaning attackers must already have a foothold on the target system.
Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
CISA has added CVE-2024-4577 to the Known Exploited Vulnerabilities (KEV) catalog, confirming active exploitation in the wild. U.S. federal agencies are required to patch this within the mandated timeframe, and all organizations should treat remediation as urgent.
Affected Vendors & Products
Exploit & PoC Resources
All References (1)
Quick Facts
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2024-4577 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts
- !CISA KEV: Federal agencies must patch per BOD 22-01 timeline
- !Active exploitation confirmed — treat as P1