Skip to main content

Codeigniter CVE-2022-35943

HIGH
Cross-Site Request Forgery (CSRF) (CWE-352)
2022-08-12 security-advisories@github.com
8.8
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
CVE Published
Aug 12, 2022 - 21:15 nvd
HIGH 8.8

DescriptionNVD

Shield is an authentication and authorization framework for CodeIgniter 4. This vulnerability may allow SameSite Attackers to bypass the CodeIgniter4 CSRF protection mechanism with CodeIgniter Shield. For this attack to succeed, the attacker must have direct (or indirect, e.g., XSS) control over a subdomain site (e.g., https://a.example.com/) of the target site (e.g., http://example.com/). Upgrade to CodeIgniter v4.2.3 or later and Shield v1.0.0-beta.2 or later. As a workaround: set Config\Security::$csrfProtection to 'session,'remove old session data right after login (immediately after ID and password match) and regenerate CSRF token right after login (immediately after ID and password match)

AnalysisAI

Shield is an authentication and authorization framework for CodeIgniter 4. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Technical ContextAI

This vulnerability is classified as Cross-Site Request Forgery (CSRF) (CWE-352), which allows attackers to trick authenticated users into performing unintended actions. Shield is an authentication and authorization framework for CodeIgniter 4. This vulnerability may allow SameSite Attackers to bypass the CodeIgniter4 CSRF protection mechanism with CodeIgniter Shield. For this attack to succeed, the attacker must have direct (or indirect, e.g., XSS) control over a subdomain site (e.g., https://a.example.com/) of the target site (e.g., http://example.com/). Upgrade to CodeIgniter v4.2.3 or later and Shield v1.0.0-beta.2 or later. As a workaround: set Config\Security::$csrfProtection to 'session,'remove old session data right after login (immediately after ID and password match) and regenerate CSRF token right after login (immediately after ID and password match) Affected products include: Codeigniter, Codeigniter Shield.

RemediationAI

No vendor patch is available at time of analysis. Monitor vendor advisories for updates. Implement anti-CSRF tokens, validate Origin/Referer headers, use SameSite cookie attribute.

CVE-2014-8684 CRITICAL POC
9.8 Sep 19

CodeIgniter before 3.0 and Kohana 3.2.3 and earlier and 3.3.x through 3.3.2 make it easier for remote attackers to spoof

CVE-2014-8686 CRITICAL POC
9.8 Sep 19

CodeIgniter before 2.2.0 makes it easier for attackers to decode session cookies by leveraging fallback to a custom XOR-

CVE-2022-40835 CRITICAL POC
9.8 Oct 07

B.C. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low att

CVE-2022-40834 CRITICAL POC
9.8 Oct 07

B.C. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low att

CVE-2022-40833 CRITICAL POC
9.8 Oct 07

B.C. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low att

CVE-2022-40832 CRITICAL POC
9.8 Oct 07

B.C. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low att

CVE-2022-40831 CRITICAL POC
9.8 Oct 07

B.C. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low att

CVE-2022-40830 CRITICAL POC
9.8 Oct 07

B.C. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low att

CVE-2022-40829 CRITICAL POC
9.8 Oct 07

B.C. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low att

CVE-2022-40828 CRITICAL POC
9.8 Oct 07

B.C. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low att

CVE-2022-40827 CRITICAL POC
9.8 Oct 07

B.C. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low att

CVE-2022-40826 CRITICAL POC
9.8 Oct 07

B.C. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low att

Share

CVE-2022-35943 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy