CVE-2022-24712
Assigner: GitHub_M
Published: 2022-02-28T16:00:12
State: PUBLISHED
affected: product: CodeIgniter4
vendor: codeigniter4
versions: status: affected
version: < 4.1.9
descriptions: value: 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.
metrics: cvssV3_1: attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: LOW
baseScore: 6.3
baseSeverity: MEDIUM
confidentialityImpact: NONE
integrityImpact: HIGH
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L
version: 3.1
problemTypes: descriptions: cweId: CWE-352
description: CWE-352: Cross-Site Request Forgery (CSRF)
type: CWE
source: advisory: GHSA-4v37-24gm-h554
discovery: UNKNOWN
title: Cross-Site Request Forgery (CSRF) Protection Bypass Vulnerability in CodeIgniter4