Skip to content

Potential Session Handlers Vulnerability

High
MGatner published GHSA-6cq5-8cj7-g558 Dec 22, 2022

Package

composer codeigniter4/framework (Composer)

Affected versions

< 4.2.11

Patched versions

4.2.11

Description

Impact

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).

Patches

Upgrade to v4.2.11 or later.

Workarounds

  • Use only one session cookie.

References

For more information

If you have any questions or comments about this advisory:

Severity

High
8.6
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

CVE ID

CVE-2022-46170

Weaknesses

Credits