Advisory Published
Updated

REDHAT-BUG-2317051

First published: Mon Oct 07 2024(Updated: )

According to <a href="https://www.php.net/manual/en/security.cgi-bin.force-redirect.php">https://www.php.net/manual/en/security.cgi-bin.force-redirect.php</a>, the configuration directive cgi.force_redirect prevents anyone from calling PHP directly with a URL like <a href="http://host.example/cgi-bin/php/secretdir/script.php">http://host.example/cgi-bin/php/secretdir/script.php</a>. 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.

Affected SoftwareAffected VersionHow to fix
PHP

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-2317051?

    The severity of REDHAT-BUG-2317051 is considered to be high due to the potential for unauthorized access to PHP scripts.

  • How do I fix REDHAT-BUG-2317051?

    To fix REDHAT-BUG-2317051, ensure that the cgi.force_redirect directive is properly configured in your PHP settings.

  • What software is affected by REDHAT-BUG-2317051?

    The vulnerability REDHAT-BUG-2317051 affects the PHP software from The PHP Group.

  • What are the potential risks of REDHAT-BUG-2317051?

    The potential risks of REDHAT-BUG-2317051 include the possibility of script execution and unauthorized access to sensitive data.

  • Is there a patch available for REDHAT-BUG-2317051?

    Yes, a patch or security update is typically provided by Red Hat for REDHAT-BUG-2317051.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203