7.5
CWE
209
Advisory Published
CVE Published
Updated

CVE-2023-46240: CodeIgniter4 vulnerable to information disclosure when detailed error report is displayed in production environment

First published: Mon Oct 30 2023(Updated: )

CodeIgniter is a PHP full-stack web framework. Prior to CodeIgniter4 version 4.4.3, if an error or exception occurs, a detailed error report is displayed even if in the production environment. As a result, confidential information may be leaked. Version 4.4.3 contains a patch. As a workaround, replace `ini_set('display_errors', '0')` with `ini_set('display_errors', 'Off')` in `app/Config/Boot/production.php`.

Credit: security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Codeigniter Codeigniter<4.4.3
composer/codeigniter4/framework<=4.4.2
4.4.3

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 impact of CVE-2023-46240?

    If an error or exception occurs in CodeIgniter4 v4.4.2 and earlier, a detailed error report is displayed even if in the production environment, potentially leaking confidential information.

  • How can I fix CVE-2023-46240?

    Upgrade to CodeIgniter4 v4.4.3 or later.

  • Where can I find the upgrading guide for CodeIgniter4?

    You can find the upgrading guide for CodeIgniter4 on the official CodeIgniter4 documentation website.

  • Are there any references for CVE-2023-46240?

    Yes, you can find references for CVE-2023-46240 on the CodeIgniter4 GitHub page and the official CodeIgniter4 documentation website.

  • What is CWE-209?

    CWE-209 is a vulnerability related to information exposure through an error message.

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203