Vulnerability Details : 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.
Vulnerability category: Cross-site request forgery (CSRF)
Products affected by CVE-2022-24712
- cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-24712
0.13%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 49 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-24712
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST | |
6.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L |
2.1
|
4.2
|
GitHub, Inc. |
CWE ids for CVE-2022-24712
-
The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request.Assigned by: security-advisories@github.com (Primary)
References for CVE-2022-24712
-
https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-4v37-24gm-h554
Cross-Site Request Forgery (CSRF) Protection Bypass Vulnerability in CodeIgniter4 · Advisory · codeigniter4/CodeIgniter4 · GitHubMitigation;Third Party Advisory
-
https://github.com/codeigniter4/CodeIgniter4/blob/7dc2ece32401ebde67122f7d2460efcaee7c352e/user_guide_src/source/changelogs/v4.1.9.rst
CodeIgniter4/v4.1.9.rst at 7dc2ece32401ebde67122f7d2460efcaee7c352e · codeigniter4/CodeIgniter4 · GitHubRelease Notes;Third Party Advisory
Jump to