CVE-2022-24712

CodeIgniter4 is the 4.x branch of CodeIgniter, a PHP full-stack web framework. A vulnerability in versions prior to 4.1.9 might allow remote attackers to bypass the CodeIgniter4 Cross-Site Request Forgery (CSRF) protection mechanism. Users should upgrade to version 4.1.9. There are workarounds for this vulnerability, but users will still need to code as these after upgrading to v4.1.9. Otherwise, the CSRF protection may be bypassed. If auto-routing is enabled, check the request method in the controller method before processing. If auto-routing is disabled, either avoid using `$routes->add()` and instead use HTTP verbs in routes; or check the request method in the controller method before processing.
Configurations

Configuration 1 (hide)

cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:*

History

08 Mar 2022, 18:08

Type Values Removed Values Added
CPE cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:*
First Time Codeigniter codeigniter
Codeigniter
References (MISC) https://github.com/codeigniter4/CodeIgniter4/blob/7dc2ece32401ebde67122f7d2460efcaee7c352e/user_guide_src/source/changelogs/v4.1.9.rst - (MISC) https://github.com/codeigniter4/CodeIgniter4/blob/7dc2ece32401ebde67122f7d2460efcaee7c352e/user_guide_src/source/changelogs/v4.1.9.rst - Release Notes, Third Party Advisory
References (CONFIRM) https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-4v37-24gm-h554 - (CONFIRM) https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-4v37-24gm-h554 - Mitigation, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 6.8
v3 : 8.8

28 Feb 2022, 16:18

Type Values Removed Values Added
New CVE

Information

Published : 2022-02-28 16:15

Updated : 2023-12-10 14:22


NVD link : CVE-2022-24712

Mitre link : CVE-2022-24712

CVE.ORG link : CVE-2022-24712


JSON object : View

Products Affected

codeigniter

  • codeigniter
CWE
CWE-352

Cross-Site Request Forgery (CSRF)