CodeIgniter4 vulnerable to information disclosure when detailed error report is displayed in production environment
High severity
GitHub Reviewed
Published
Oct 26, 2023
in
codeigniter4/CodeIgniter4
•
Updated Nov 9, 2023
Description
Published to the GitHub Advisory Database
Oct 30, 2023
Reviewed
Oct 30, 2023
Published by the National Vulnerability Database
Oct 31, 2023
Last updated
Nov 9, 2023
Impact
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. As a result, confidential information may be leaked.
Patches
Upgrade to v4.4.3 or later. See upgrading guide.
Workarounds
Replace
ini_set('display_errors', '0')
withini_set('display_errors', 'Off')
inapp/Config/Boot/production.php
.For more information
If you have any questions or comments about this advisory:
References