Lucene search

K
cvelistGitHub_MCVELIST:CVE-2022-24712
HistoryFeb 28, 2022 - 4:00 p.m.

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

2022-02-2816:00:12
CWE-352
GitHub_M
www.cve.org
4
codeigniter4
csrf
protection bypass
vulnerability
remote attackers
upgrade
auto-routing
controller method

CVSS3

6.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L

AI Score

9.3

Confidence

High

EPSS

0.001

Percentile

49.2%

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.

CNA Affected

[
  {
    "product": "CodeIgniter4",
    "vendor": "codeigniter4",
    "versions": [
      {
        "status": "affected",
        "version": "< 4.1.9"
      }
    ]
  }
]

CVSS3

6.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L

AI Score

9.3

Confidence

High

EPSS

0.001

Percentile

49.2%

Related for CVELIST:CVE-2022-24712