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 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.
References
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:php-fpm:php-fpm:*:*:*:*:*:*:*:*
cpe:2.3:a:php-fpm:php-fpm:*:*:*:*:*:*:*:*
cpe:2.3:a:php-fpm:php-fpm:*:*:*:*:*:*:*:*

History

16 Oct 2024, 18:28

Type Values Removed Values Added
References () https://github.com/php/php-src/security/advisories/GHSA-94p6-54jq-9mwp - () https://github.com/php/php-src/security/advisories/GHSA-94p6-54jq-9mwp - Exploit, Third Party Advisory
CPE cpe:2.3:a:php-fpm:php-fpm:*:*:*:*:*:*:*:*
CWE NVD-CWE-noinfo
First Time Php-fpm php-fpm
Php-fpm

10 Oct 2024, 12:57

Type Values Removed Values Added
Summary
  • (es) En las versiones de PHP 8.1.* anteriores a 8.1.30, 8.2.* anteriores a 8.2.24, 8.3.* anteriores a 8.3.12, la variable HTTP_REDIRECT_STATUS se utiliza para comprobar si el servidor HTTP está ejecutando o no el binario CGI. Sin embargo, en determinados escenarios, el remitente de la solicitud puede controlar el contenido de esta variable a través de los encabezados HTTP, lo que puede provocar que la opción cgi.force_redirect no se aplique correctamente. En determinadas configuraciones, esto puede provocar la inclusión arbitraria de archivos en PHP.

08 Oct 2024, 04:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-10-08 04:15

Updated : 2024-10-16 18:28


NVD link : CVE-2024-8927

Mitre link : CVE-2024-8927

CVE.ORG link : CVE-2024-8927


JSON object : View

Products Affected

php-fpm

  • php-fpm