CVE-2023-46240 HIGH

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

Vendor Codeigniter4
Product CodeIgniter4
Weakness CWE-209 · Error message info leak
Published October 31, 2023
Last update September 5, 2024

CVSS base score

7.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What the vulnerability does

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

Key dates

Disclosure timeline

October 31, 2023 CVE published
September 5, 2024 Record updated