CVE-2024-4577

critical

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.

References

https://medium.com/@chaoskist/letsdefend-write-up-php-cgi-cve-2024-4577-767fdb424765?source=rss------cybersecurity-5

https://arstechnica.com/security/2024/06/thousands-of-servers-infected-with-ransomware-via-critical-php-vulnerability/

https://securityaffairs.com/164488/hacking/cisa-adds-arm-mali-gpu-kernel-driver-php-bugs-to-its-known-exploited-vulnerabilities-catalog.html

https://www.cybersecurity-insiders.com/some-specifics-regarding-fog-ransomware-and-tellyouthepass-ransomware/?utm_source=rss&utm_medium=rss&utm_campaign=some-specifics-regarding-fog-ransomware-and-tellyouthepass-ransomware

https://www.bleepingcomputer.com/news/security/tellyouthepass-ransomware-exploits-recent-php-rce-flaw-to-breach-servers/

https://www.scmagazine.com/news/php-updates-urged-over-critical-vulnerability-that-could-lead-to-rce

https://www.imperva.com/blog/update-cve-2024-4577-quickly-weaponized-to-distribute-tellyouthepass-ransomware/

https://securityaffairs.com/164302/breaking-news/php-critical-rce.html

https://arstechnica.com/security/2024/06/php-vulnerability-allows-attackers-to-run-malicious-code-on-windows-servers/

https://www.tenable.com/blog/cve-2024-4577-proof-of-concept-available-for-php-cgi-argument-injection-vulnerability

https://www.bleepingcomputer.com/news/security/php-fixes-critical-rce-flaw-impacting-all-versions-for-windows/

https://thecyberthrone.in/2024/06/07/critical-rce-flaw-in-php-patch-it-cve-2024-4577/

https://devco.re/blog/2024/06/06/security-alert-cve-2024-4577-php-cgi-argument-injection-vulnerability-en/

https://www.php.net/ChangeLog-8.php#8.3.8

https://www.php.net/ChangeLog-8.php#8.2.20

https://www.php.net/ChangeLog-8.php#8.1.29

https://www.imperva.com/blog/imperva-protects-against-critical-php-vulnerability-cve-2024-4577/

https://security.netapp.com/advisory/ntap-20240621-0008/

https://lists.fedoraproject.org/archives/list/[email protected]/message/W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK/

https://lists.fedoraproject.org/archives/list/[email protected]/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/

https://cert.be/en/advisory/warning-php-remote-code-execution-patch-immediately

https://blog.orange.tw/2024/06/cve-2024-4577-yet-another-php-rce.html

http://www.openwall.com/lists/oss-security/2024/06/07/1

Details

Source: Mitre, NVD

Published: 2024-06-09

Updated: 2024-06-21

Risk Information

CVSS v2

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Severity: Critical

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical