cgi.force_redirect configuration is bypassable due to the environment variable collision
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PHP Group | PHP | unaffected |
|
Configuration 1 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | |||
| php:8.2-8100020241112130045.f7998665 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2024:10951 | 2024-12-11T00:00:00Z |
| php:7.4-8100020241113075828.f7998665 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2024:10952 | 2024-12-11T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| php:8.2-9050020241112094217.9 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2024:10949 | 2024-12-11T00:00:00Z |
| php:8.1-9050020241112144108.9 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2024:10950 | 2024-12-11T00:00:00Z |
| php-0:8.0.30-2.el9 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2025:7315 | 2025-05-13T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-3920-1 | php7.4 security update |
Debian DSA |
DSA-5780-1 | php8.2 security update |
EUVD |
EUVD-2024-49490 | 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. |
Ubuntu USN |
USN-7049-1 | PHP vulnerabilities |
Ubuntu USN |
USN-7049-2 | PHP vulnerabilities |
Ubuntu USN |
USN-7049-3 | PHP vulnerabilities |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 1.1% (1.054% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | NVD-CWE-noinfo | NVD-CWE-Other |
| CPEs | ||
| Vendors & Products |
Php-fpm
Php-fpm php-fpm |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat
Redhat enterprise Linux |
|
| CPEs | cpe:/a:redhat:enterprise_linux:8 cpe:/a:redhat:enterprise_linux:9 |
|
| Vendors & Products |
Redhat
Redhat enterprise Linux |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Php-fpm
Php-fpm php-fpm |
|
| Weaknesses | NVD-CWE-noinfo | |
| CPEs | cpe:2.3:a:php-fpm:php-fpm:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Php-fpm
Php-fpm php-fpm |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Php
Php php |
|
| CPEs | cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Php
Php php |
|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in PHP. The configuration directive `cgi.force_redirect` prevents anyone from calling PHP directly with a URL such as http://host.example/cgi-bin/php/secretdir/script.php. However, in certain uncommon configurations, an attacker may be able to bypass this restriction and access php-cgi directly. | 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. |
| Title | php: cgi.force_redirect configuration is bypassable due to the environment variable collision | cgi.force_redirect configuration is bypassable due to the environment variable collision |
| Metrics |
cvssV3_1
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in PHP. The configuration directive `cgi.force_redirect` prevents anyone from calling PHP directly with a URL such as http://host.example/cgi-bin/php/secretdir/script.php. However, in certain uncommon configurations, an attacker may be able to bypass this restriction and access php-cgi directly. | |
| Title | php: cgi.force_redirect configuration is bypassable due to the environment variable collision | |
| Weaknesses | CWE-1220 | |
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|