7.5high
CodeIgniter4 vulnerable to information disclosure when detailed error report is displayed in production environment
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.88% (higher than 57% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-hwxf-qxj7-7rfjBIT-CODEIGNITER-2023-46240
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`.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| codeigniter4 CodeIgniter4 | < 4.4.3 | CVE List |
| codeigniter4/framework (Packagist) | before 4.4.3 | GitHub Advisory Database |
| codeigniter codeigniter | before 4.4.3 | NVD |
| codeigniter (Bitnami) | before 4.4.3 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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`.
GitHub Advisory Database
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') with ini_set('display_errors', 'Off') in app/Config/Boot/production.php.
For more information
If you have any questions or comments about this advisory:
- Open an issue in codeigniter4/CodeIgniter4
- Email us at SECURITY.md
NVD (es)
CodeIgniter es un framework web PHP de pila completa. Antes de CodeIgniter4 versión 4.4.3, si se producía un error o una excepción, se mostraba un informe de error detallado incluso en el entorno de producción. Como resultado, se puede filtrar información confidencial. La versión 4.4.3 contiene un parche. Como workaround, reemplace `ini_set('display_errors', '0')` con `ini_set('display_errors', 'Off')` en `app/Config/Boot/production.php`.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-46240 changed 2024-09-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hwxf-qxj7-7rfj changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2023-46240 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-CODEIGNITER-2023-46240 changed 2024-03-06 | Apache-2.0 |