CVE-2024-8927
HIGH7.5EPSS 0.34%cgi.force_redirect configuration is bypassable due to the environment variable collision
發布日:2024/10/8修改日:2026/4/28
描述
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.
受影響套件(5)
- Bitnami/libphpfrom 0, < 8.1.30, >= 8.2.0, < 8.2.24, >= 8.3.0, < 8.3.12
- Bitnami/phpfrom 0, < 8.1.30, >= 8.2.0, < 8.2.24, >= 8.3.0, < 8.3.12
- Bitnami/php-minfrom 0, < 8.1.30, >= 8.2.0, < 8.2.24, >= 8.3.0, < 8.3.12
- Debian/php7.4from 0, < 7.4.33-1+deb11u6
- Debian/php8.2from 0, < 8.2.24-1~deb12u1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
參考連結(5)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-8927
- WEBhttps://github.com/php/php-src/security/advisories/GHSA-94p6-54jq-9mwp
- WEBhttps://lists.debian.org/debian-lts-announce/2024/10/msg00011.html
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2024-8927
- WEBhttps://security.netapp.com/advisory/ntap-20241101-0003/