Dev.To Critical RCE Vulnerability CVE-2024-4577 Affects PHP on Windows
Article Content
- •CVE-2024-4577 is a critical RCE vulnerability in PHP affecting specific versions on Windows.
- •Attackers can exploit this flaw to inject command-line options via CGI, compromising server security.
- •Default XAMPP installations are particularly at risk due to exposure of the php-cgi.exe endpoint.
CVE-2024-4577 is a critical Remote Code Execution (RCE) vulnerability affecting PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, and 8.3.* before 8.3.8 when using CGI on Windows systems. The flaw arises from a 'best-fit' character mapping issue in Windows that allows attackers to inject command-line options into the PHP CGI binary. This vulnerability can lead to unauthorized execution of PHP code, potentially revealing sensitive information or executing arbitrary commands. The default XAMPP configuration is particularly vulnerable, as it exposes the php-cgi.exe endpoint. The vulnerability was publicly disclosed on June 9, 2024, and has been since June 12, 2024. Security professionals are urged to patch affected systems immediately to mitigate risks.
Ask AI about this cluster
Answers cite the sources they use
Timeline
More articles in this cluster (4)
Following this threat?
Track CVE-2012-1823 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.
Free account · no card needed
Common questions
Which PHP versions are affected?
Is CVE-2024-4577 actively exploited?
What should I do to protect my systems?
Continue Reading
Critical BeyondTrust 9.3 Vulnerability Actively Exploited by Threat Actor A critical vulnerability (CVE-2026-102764) in BeyondTrust Remote Support has been discovered and is actively being exploited by the threat group ARMORY CASTLE, reportedly linked to China. The vulnerability, which has a CVSS score of 9.3, allows unauthenticated attackers to upload files and potentially compromise host…