Bug 2317051 (CVE-2024-8927) - CVE-2024-8927 php: cgi.force_redirect configuration is bypassable due to the environment variable collision
Summary: CVE-2024-8927 php: cgi.force_redirect configuration is bypassable due to the ...
Keywords:
Status: NEW
Alias: CVE-2024-8927
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-07 19:56 UTC by OSIDB Bzimport
Modified: 2025-05-13 10:35 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:11026 0 None None None 2024-12-12 22:36:47 UTC
Red Hat Product Errata RHSA-2024:10949 0 None None None 2024-12-11 11:45:07 UTC
Red Hat Product Errata RHSA-2024:10950 0 None None None 2024-12-11 11:44:49 UTC
Red Hat Product Errata RHSA-2024:10951 0 None None None 2024-12-11 11:45:28 UTC
Red Hat Product Errata RHSA-2024:10952 0 None None None 2024-12-11 11:44:25 UTC
Red Hat Product Errata RHSA-2025:7315 0 None None None 2025-05-13 10:35:41 UTC

Description OSIDB Bzimport 2024-10-07 19:56:22 UTC
According to https://www.php.net/manual/en/security.cgi-bin.force-redirect.php, the configuration directive cgi.force_redirect prevents anyone from calling PHP directly with a URL like http://host.example/cgi-bin/php/secretdir/script.php.
The default value of cgi.force_redirect is 1.

But there is a bug that can cause attackers to bypass restrictions and access php-cgi directly.

Comment 1 errata-xmlrpc 2024-12-11 11:44:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:10952 https://access.redhat.com/errata/RHSA-2024:10952

Comment 2 errata-xmlrpc 2024-12-11 11:44:48 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:10950 https://access.redhat.com/errata/RHSA-2024:10950

Comment 3 errata-xmlrpc 2024-12-11 11:45:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:10949 https://access.redhat.com/errata/RHSA-2024:10949

Comment 4 errata-xmlrpc 2024-12-11 11:45:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:10951 https://access.redhat.com/errata/RHSA-2024:10951

Comment 5 errata-xmlrpc 2025-05-13 10:35:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:7315 https://access.redhat.com/errata/RHSA-2025:7315


Note You need to log in before you can comment on or make changes to this bug.