CVE-2022-24712CWE-352

Cross-Site Request Forgery (CSRF) Protection Bypass Vulnerability in CodeIgniter4

Medium · published February 28, 2022

CVSS v3.1
6.3
EPSS
1%
Percentile
46.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.00565 · 46.2th percentile
Weakness
CWE-352 · Cross-Site Request Forgery (CSRF)
Published
2022-02-28T16:00Z
EPSS history
Timeline
  • 28 FEB 16:00Z
    Cross-Site Request Forgery (CSRF) Protection Bypass Vulnerability in CodeIgniter4
    cvelistv5