CVE-2023-46240

High

Description

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`.

SeverityHigh
CVSS7.5
Exploit probability—
ProductCodeigniter
PublishedOct 31, 2023
First seenOct 31, 2023
Weakness typeCWE-209CWE-209

How to fix

Update
  • codeigniter codeigniter4.4.3 or later
  • codeigniter4/framework4.4.3 or later

Affected products

ProductAffected versionsFixed in
codeigniter codeigniterv < 4.4.34.4.3
codeigniter4/frameworkPackagistv < 4.4.34.4.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.