Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2024-4577 Details

Description

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 line given to Win32 API functions. PHP CGI module may misinterpret those characters as PHP options, which may allow a malicious user to pass options to PHP binary being run, and thus reveal the source code of scripts, run arbitrary PHP code on the server, etc.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-4577 CISA-ADPUS Government Resource
https://arstechnica.com/security/2024/06/php-vulnerability-allows-attackers-to-run-malicious-code-on-windows-servers/ CVEExploitPress/Media CoverageThird Party Advisory
https://blog.orange.tw/2024/06/cve-2024-4577-yet-another-php-rce.html CVEThird Party Advisory
https://blog.talosintelligence.com/new-persistent-attacks-japan/ CVEExploitThird Party Advisory
https://cert.be/en/advisory/warning-php-remote-code-execution-patch-immediately CVEThird Party Advisory

see all 42 references

This CVE is in CISA's Known Exploited Vulnerabilities Catalog

Reference CISA's BOD 22-01 and Known Exploited Vulnerabilities Catalog for further guidance and requirements.

Vulnerability NameDate AddedDue DateRequired Action
PHP-CGI OS Command Injection VulnerabilityJun 12, 2024Jul 3, 2024Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')[email protected]
CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')[email protected]

Affected Products

ProductVersions
php php
>= 8.1.0, < 8.1.29
>= 8.2.0, < 8.2.20
>= 8.3.0, < 8.3.8

CPE

  • cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
microsoft windows
All versions

CPE

  • cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
fedoraproject fedora
39
40

CPE

  • cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

23 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2024-4577
NVD Published Date:
Jun 9, 2024
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2024-4577 Details - Not Deferred