CVE-2022-46170
HIGH8.6EPSS 0.31%CodeIgniter4 Potential Session Handlers Vulnerability
發布日:2022/12/22修改日:2024/3/6
描述
CodeIgniter is a PHP full-stack web framework. When an application uses (1) multiple session cookies (e.g., one for user pages and one for admin pages) and (2) a session handler is set to `DatabaseHandler`, `MemcachedHandler`, or `RedisHandler`, then if an attacker gets one session cookie (e.g., one for user pages), they may be able to access pages that require another session cookie (e.g., for admin pages). This issue has been patched, please upgrade to version 4.2.11 or later. As a workaround, use only one session cookie.
受影響套件(2)
- Bitnami/codeigniter>= 4.0.0, < 4.2.11
- Packagist/codeigniter4/frameworkfrom 0, < 4.2.11
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-46170
- PATCHhttps://github.com/codeigniter4/CodeIgniter4
- WEBhttps://codeigniter4.github.io/userguide/libraries/sessions.html#session-drivers
- WEBhttps://github.com/codeigniter4/CodeIgniter4/commit/f9fb6574fbeb5a4aa63f7ea87296523e10db9328
- WEBhttps://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-6cq5-8cj7-g558
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/codeigniter4/framework/CVE-2022-46170.yaml