CVE-2022-46170:
CodeIgniter4 Potential Session Handlers Vulnerability
8.6
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.68799%
CWE
Published
12/22/2022
Updated
1/29/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
codeigniter4/framework | composer | < 4.2.11 | 4.2.11 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from session handlers not including the session cookie name in storage keys. The commit adds sessionCookieName
as a prefix to session IDs in database queries (DatabaseHandler
) and key prefixes (Memcached/Redis
). The original vulnerable functions
handled session data without this namespacing, allowing session ID collisions between different cookies. The high confidence comes from direct correlation between the patch changes and the vulnerability description, with explicit modifications to these functions
in the provided diffs.