cbcvebase.
CVE-2024-8927
published 2024-10-08

CVE-2024-8927: In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, HTTP_REDIRECT_STATUS variable is used to check whether or not CGI binary is…

PriorityP346high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EPSS
1.05%
62.2th percentile
In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, HTTP_REDIRECT_STATUS variable is used to check whether or not CGI binary is being run by the HTTP server. However, in certain scenarios, the content of this variable can be controlled by the request submitter via HTTP headers, which can lead to cgi.force_redirect option not being correctly applied. In certain configurations this may lead to arbitrary file inclusion in PHP.

Affected

17 ranges
VendorProductVersion rangeFixed in
debianphp7.4< php7.4 7.4.33-1+deb11u6 (bullseye)php7.4 7.4.33-1+deb11u6 (bullseye)
debianphp8.2< php7.4 7.4.33-1+deb11u6 (bullseye)php7.4 7.4.33-1+deb11u6 (bullseye)
msrcazl3_php_8.3.12-1_on_azure_linux_3.0
msrcazl3_php_8.3.8-1_on_azure_linux_3.0
msrcazure_linux_3.0_arm
msrcazure_linux_3.0_x64
msrccbl2_php_8.1.29-1_on_cbl_mariner_2.0
msrccbl2_php_8.1.30-1_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64
phpphp>= 8.1.0 < 8.1.308.1.30
phpphp>= 8.2.0 < 8.2.248.2.24
phpphp>= 8.3.0 < 8.3.128.3.12
php5php5>= 0 < 5.5.9+dfsg-1ubuntu4.29+esm165.5.9+dfsg-1ubuntu4.29+esm16
php_groupphp>= 8.1.* < 8.1.308.1.30
php_groupphp>= 8.2.* < 8.2.248.2.24
php_groupphp>= 8.3.* < 8.3.128.3.12

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
osv7.5HIGH
vendor_debian7.5HIGH
vendor_msrc7.5HIGH
vendor_oracle7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu3.1LOW
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.