Innovate faster and cut risk with PHP experts from Zend Services.
Explore Services
See How Zend Helps Leading Hosting Providers Keep Their Managed Sites on Secure PHP
Read More
Learn PHP from PHP experts with free, on-demand, and instructor led courses.
Explore Training
Submit support requests and browse self-service resources.
Explore Support
php: cgi.force_redirect configuration is bypassable due to the environment variable collision
The HTTP_REDIRECT_STATUS variable is used to check whether or not CGI binary is being run by the HTTP server. 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. This may lead to arbitrary file inclusion in PHP.
cgi.force_redirect
We recommend upgrading to a patched version of PHP.
Direct link to CVE-2024-8927 >
< View all CVEs