CVE & CISA-KEV Catalog

CVE-2022-35943

MEDIUM
5.9
CVSS v3
NVD

Description

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)

How to fix

Remediation Available
codeigniterNVD
Affected:< 4.2.3Fixed in:4.2.3CVE-2022-35943derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityLow

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

Exploit Intelligence

0.47%probability of exploitation in 30 days
38thpercentile

Low risk: more likely to be exploited than 38% of all known CVEs.

References

Exploit1
Third-Party Advisory2
Other references1

Related Vulnerabilities

Other CWE-352 (Cross-Site Request Forgery) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2016-6277High8.8100%KEV-
CVE-2014-0054Medium6.891%-Fix
CVE-2013-6429Medium6.890%-Fix
CVE-2022-41622High8.888%--
CVE-2018-7700High8.875%--
CVE-2015-2295Medium6.866%--
Embed a live status badge for CVE-2022-35943
CVE-2022-35943 severity badge

Markdown

[![CVE-2022-35943](https://tridentstack.com/cve/badge/CVE-2022-35943.svg)](https://tridentstack.com/cve/CVE-2022-35943)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-35943"><img src="https://tridentstack.com/cve/badge/CVE-2022-35943.svg" alt="CVE-2022-35943"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.