CWE-1464
Improper Session Invalidation
Description
The product establishes a session for an authenticated user, but it does not properly invalidate or terminate the session when it is required.
Mitigations
Phase: Implementation
Ensure that user sessions are invalidated on the server-side for all possible security related events relevant to the application. It is important that the server-side handles all session invalidation and does not rely on the client to remove or delete a session, due to the possibility of adversaries capturing session identifiers or cookies for later reuse.
Detection
Dynamic Analysis with Manual Results Interpretation
Ensure that application testing includes scenarios that are intended to lead to session invalidation and verify that the session can no longer be used.