CVE-2022-24712
MEDIUMCodeIgniter 4.0.0-4.1.8 - Cross-Site Request Forgery Protection Bypass
Title source: llmDescription
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.
References (2)
Core 2
Core References
Mitigation, Third Party Advisory x_refsource_confirm
https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-4v37-24gm-h554
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/codeigniter4/CodeIgniter4/blob/7dc2ece32401ebde67122f7d2460efcaee7c352e/user_guide_src/source/changelogs/v4.1.9.rst
Scores
CVSS v3
6.3
EPSS
0.0056
EPSS Percentile
42.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-352
Status
published
Products (2)
codeigniter/codeigniter
4.0.0 - 4.1.9
codeigniter4/framework
0 - 4.1.9Packagist
Published
Feb 28, 2022
Tracked Since
Feb 18, 2026