CVE-2024-4577 PHP Group PHP: command or code injection
In plain words: The program treats text it receives as instructions instead of plain data. The attacker can run commands on the machine — often the whole device is taken over.
Confirmed exploited by CISA on · US federal patch deadline Jul 3, 2024
What to do
- Install PHP Group's security update for PHP. If no update exists, follow the vendor's workaround or stop using the product until one ships.
- Keep a list of every internet-facing server you run so nothing is forgotten.
- Patch anything in this catalog first, ahead of normal patch cycles.
- Put admin and file-transfer apps behind a VPN or single sign-on instead of the open internet.
Who is affected
Work IT. Aimed mostly at company systems — you are affected through the companies you use, not your own phone.
What's at risk: Mass data theft and ransomware: a single flaw in a file-transfer or email server has exposed thousands of organisations at once.
The details
- Official name
- PHP-CGI OS Command Injection Vulnerability
- Product
- PHP Group PHP
- CISA 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.
- Type of flaw
- Command or code injection (CWE-78)
- Confirmed exploited
- Jun 12, 2024 — known to be used in ransomware attacks
- US federal patch deadline
- Jul 3, 2024
Ask Cleus about it
Ask about a vulnerability, an update, a weird message, or the news. Plain-word answers, free, no account.
Answering about CVE-2024-4577 ·
Questions about CVE-2024-4577
Is CVE-2024-4577 being exploited?
Yes. CISA added CVE-2024-4577 to its Known Exploited Vulnerabilities catalog on Jun 12, 2024, which means there is reliable evidence of real-world attacks, including by ransomware groups.
How do I fix CVE-2024-4577?
Install PHP Group's security update for PHP. If no update exists, follow the vendor's workaround or stop using the product until one ships. Keep a list of every internet-facing server you run so nothing is forgotten.
Am I affected by CVE-2024-4577?
Only if you use PHP Group PHP. Aimed mostly at company systems — you are affected through the companies you use, not your own phone.