V
Scaner-VS
HomeCatalogSourcesCWECAPECATT&CKMitigationsDocs
CVE-2024-4577
ANC
Critical KEVConfirmedExploit available

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 se…

CVSS
9.8
Critical
EPSS
0.94
p99
Published
2024-01-01
Updated
2024-06-12
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.

Tags · CWE
KEVPre-auth
CWE-78
CAPEC-6
CAPEC-15
CAPEC-43
CAPEC-88
CAPEC-108
Affected products
Fedora
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Timeline
2024-01-01
Published
2024-06-12
Added to KEV
2024-06-12
Updated
CVSS 3.1 breakdown
Attack Vector
AV: N
Network (N)
Attack Complexity
AC: L
Low (L)
Privileges Required
PR: N
None (N)
User Interaction
UI: N
None (N)
Scope
S: U
Unchanged (U)
Confidentiality Impact
C: H
High (H)
Integrity Impact
I: H
High (H)
Availability Impact
A: H
High (H)
Exploit indicators
EPSS
0.944 · p99
Known exploited (KEV)
Yes
Known exploits — Сканер-ВС
CVE-2024-4577
cisa · https://www.cisa.gov/known-exploited-vulnerabilities-catalog
Enterprise
52331
exploitdb · https://www.exploit-db.com/exploits/52331
Enterprise
Affected software
ProductVendorStatus
Exploited
php7.3Exploited
php7.4Exploited
php7.4Exploited
php8.1Exploited
php8.2Exploited
php8.2Exploited
php8.2Exploited
php8.2-develExploited
php8.2-libsExploited
php8.2-mysqlndExploited
php8.3Exploited
rpm-build-php8.2-versionExploited
fedora*Exploited
php*Exploited
Source databases
ANC
DEB
CVE
RED
UBU
Related vulnerabilities