CVE-2022-46170 HIGH

CVE-2022-46170: CodeIgniter is vulnerable to improper authentication via Session Handlers

Vendor Codeigniter4
Product CodeIgniter4
Weakness CWE-287 · Improper authentication
Published December 22, 2022
Last update April 15, 2025

CVSS base score

8.6/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

What the vulnerability does

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.

Key dates

Disclosure timeline

December 22, 2022 CVE published
April 15, 2025 Record updated