SocWatch

CVE-2024-4577

Kritisch 9,8 Aktiv ausgenutzt

PHP-CGI OS Command Injection Vulnerability

CVSS
9,8 (v3.1)
Angriffswahrscheinlichkeit (EPSS)
99,99 % (höher als 100,0 % aller Lücken)
Veröffentlicht
09.06.2024
Zuletzt geändert
17.06.2026

Wird aktiv ausgenutzt

Seit 12.06.2024 in der CISA-Liste ausgenutzter Lücken (KEV). Betroffen: PHP Group PHP.

Empfohlene Maßnahme (CISA): Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Öffentlicher Angriffscode

Fertige Exploits gefunden in: nuclei-Template, Metasploit, Exploit-DB.

Beschreibung

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.

Quellen

Weitere Kennungen

CWE-78

Sind Ihre Projekte betroffen?

Prüfen Sie ein Lockfile kostenlos oder lassen Sie Ihre Repositories laufend überwachen.