Skip to main content
← All vulnerabilities
CVE-2022-46170GHSA-6CQ5-8CJ7-G558BIT-CODEIGNITER-2022-46170

CodeIgniter is vulnerable to improper authentication via Session Handlers

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.2.11
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • codeigniter4 CodeIgniter4

    fixed in 4.2.11

  • codeigniter4/frameworkPackagist

    fixed in 4.2.11

References 2

GitHub · codeigniter4/CodeIgniter4