Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-35943— SameSite may allow cross-site request forgery (CSRF) protection to be bypassed

Quick assessment

Affected
codeigniter4 shield
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

CodeIgniter Shield是CodeIgniter公司的CodeIgniter 4的身份验证和授权模块。 CodeIgniter Shield 存在跨站请求伪造漏洞。攻击者利用该漏洞绕过带有CodeIgniter护罩的机构。

CVSS 5.9 · Medium EPSS 0.59% · P47
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-35943

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SameSite may allow cross-site request forgery (CSRF) protection to be bypassed
Source: CVE Program / CVE List V5
Vulnerability Description
Shield is an authentication and authorization framework for CodeIgniter 4. This vulnerability may allow [SameSite Attackers](https://canitakeyoursubdomain.name/) to bypass the [CodeIgniter4 CSRF protection](https://codeigniter4.github.io/userguide/libraries/security.html) 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)
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
跨站请求伪造(CSRF)
Source: CVE Program / CVE List V5
Vulnerability Title
CodeIgniter Shield 跨站请求伪造漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
CodeIgniter Shield是CodeIgniter公司的CodeIgniter 4的身份验证和授权模块。 CodeIgniter Shield 存在跨站请求伪造漏洞。攻击者利用该漏洞绕过带有CodeIgniter护罩的机构。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
codeigniter4 shield > 4.3.2, > v1.0.0-beta.2 -

II. Public POCs for CVE-2022-35943

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-35943

请登录查看更多情报信息。

Vendor Advisories for CVE-2022-35943 (1)

Security Blog Posts for CVE-2022-35943 (2)

Other References for CVE-2022-35943 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-35943

No comments yet


Leave a comment