RCE in Php Group

CVE-2024-4577

In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, when using Apache and PHP-CGI on Windows, if the system is set up to use certain code pages, Windows may use "Best-Fit" behavior to replace characters in command…

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.944 (100.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

CISA KEV (Known Exploited Vulnerabilities)

This CVE is on the CISA KEV catalog, added on . CISA KEV inclusion means CISA has confirmed in-the-wild exploitation; US federal agencies are required to remediate within a published due date.

BOD 22-01 due date: .

Required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Known ransomware campaign use: yes.

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-4577?
CVE-2024-4577 is a critical-severity vulnerability in Php Group, classified under OS Command Injection. CVSS score: 9.8/10. Published 2024-06-09.
How severe is CVE-2024-4577?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2024-4577 known to be exploited?
Yes. CVE-2024-4577 is listed in the CISA Known Exploited Vulnerabilities catalog (added 2024-06-12), indicating it is being actively exploited. 182 public proof-of-concept repositories are indexed.