NVD Vulnerability Detail
Search Exploit, PoC
CVE-2022-35943
Summary

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)

Publication Date Aug. 13, 2022, 6:15 a.m.
Registration Date Aug. 13, 2022, 10 a.m.
Last Update Nov. 21, 2024, 4:12 p.m.
CVSS3.1 : HIGH
スコア 8.8
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI)
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:* 4.2.3
cpe:2.3:a:codeigniter:shield:1.0.0:beta:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
British Columbia Institute of Technology の CodeIgniter および shield におけるクロスサイトリクエストフォージェリの脆弱性
Title British Columbia Institute of Technology の CodeIgniter および shield におけるクロスサイトリクエストフォージェリの脆弱性
Summary

British Columbia Institute of Technology の CodeIgniter および shield には、クロスサイトリクエストフォージェリの脆弱性が存在します。

Possible impacts 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
Solution

参考情報を参照して適切な対策を実施してください。

Publication Date Aug. 12, 2022, midnight
Registration Date Sept. 21, 2023, 5:08 p.m.
Last Update Sept. 21, 2023, 5:08 p.m.
Affected System
British Columbia Institute of Technology
CodeIgniter 4.2.3 未満
shield 1.0.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2023年09月21日]
  掲載
Sept. 21, 2023, 5:08 p.m.