Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-8927— cgi.force_redirect configuration is bypassable due to the environment variable collision

Quick assessment

Affected
PHP Group PHP
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

PHP是PHP的一种在服务器端执行的脚本语言。 PHP 8.1.30之前版本、8.2.24之前版本和8.3.12之前版本存在安全漏洞,该漏洞源于配置指令cgi.force_redirect的缺陷,在某些不常见的配置中,攻击者可能绕过此限制直接访问php-cgi。

CVSS 7.5 · High EPSS 1.05% · P63

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-8927

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
cgi.force_redirect configuration is bypassable due to the environment variable collision
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
PHP 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PHP是PHP的一种在服务器端执行的脚本语言。 PHP 8.1.30之前版本、8.2.24之前版本和8.3.12之前版本存在安全漏洞,该漏洞源于配置指令cgi.force_redirect的缺陷,在某些不常见的配置中,攻击者可能绕过此限制直接访问php-cgi。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
PHP Group PHP 8.1.* ~ 8.1.30 -

II. Public POCs for CVE-2024-8927

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-8927

请登录查看更多情报信息。

Vendor Advisories for CVE-2024-8927 (1)

Same Patch Batch · PHP Group · 2024-10-08 · 4 CVEs total

CVE-2024-8926 8.1 HIGH PHP CGI Parameter Injection Vulnerability (CVE-2024-4577 bypass)
CVE-2024-9026 3.3 LOW PHP-FPM logs from children may be altered
CVE-2024-8925 3.1 LOW Erroneous parsing of multipart form data

IV. Related Vulnerabilities

V. Comments for CVE-2024-8927

No comments yet


Leave a comment