CVE-2022-46170
CodeIgniter4 Potential Session Handlers Vulnerability
8.6
HIGH
CVSS 3.1
EPSS 0.84%
Description
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.
How to fix CVE-2022-46170
To remediate CVE-2022-46170, upgrade the affected package to a fixed version below.
- —upgrade to 4.2.11 or later
- —upgrade to 4.2.11 or later
Is CVE-2022-46170 being exploited?
Low — EPSS is 0.8%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- >= 4.0.0, < 4.2.11
- from 0, < 4.2.11
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| 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 |