CI4MS Improper Session Invalidation Vulnerability Allowing Persistent Unauthorized Access

Vulnerability

A logic flaw in CI4MS, a CodeIgniter 4-based CMS skeleton, allows deactivated user accounts to retain active sessions indefinitely. Prior to version 0.31.0.0, the application did not immediately revoke sessions when an account was deactivated, instead enforcing account state changes only during login. This flaw breaks the access control policy, allowing users to continue accessing all functionalities, including administrative interfaces, as if their accounts were still active. The vulnerability arises from the assumption that authenticated users remain trustworthy for the duration of their sessions, without any mechanism for session or account expiration.

Impact

Exploitation of this vulnerability allows deactivated users to maintain full access to the application, including privileged actions, until they manually log out. This behavior bypasses administrative controls and can lead to unauthorized modifications, disruption of services, and a false sense of security for administrators.

Reproduction

To reproduce this vulnerability, log into the application with a user account. Then, from an administrative account, deactivate the user account that is currently logged in. The deactivated user will remain authenticated and can continue to access protected functionalities and invoke actions as before, only losing access after manually logging out.

Remediation

Users are advised to update to version 0.31.0.0, where this vulnerability has been patched. After updating, it is recommended to back up the database and run 'composer update' before upgrading.

Added: Apr 1, 2026, 10:22 PM
Updated: Apr 1, 2026, 10:22 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.3
exploitability
6.2
remediation
0.0
relevance
5.1
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.