CWE-1464 Detail

CWE-1464

Improper Session Invalidation
2026-10-28
00h00 +00:00
Incomplete
Notifiche per un CWE specifico
Rimani informato su qualsiasi modifica relativa a un CWE specifico.
Gestione notifiche

Nome: Improper Session Invalidation

The product establishes a session for an authenticated user, but it does not properly invalidate or terminate the session when it is required.

General Informations

Modes Of Introduction

Architecture and Design
Implementation

Piattaforme applicabili

Linguaggio

Class: Not Language-Specific (Undetermined)

Sistemi operativi

Class: Not OS-Specific (Undetermined)

Architetture

Class: Not Architecture-Specific (Undetermined)

Tecnologie

Class: Client Server (Undetermined)
Class: Web Based (Undetermined)

Esempi osservati

Riferimenti Descrizione

CVE-2021-38869

Session was not invalidated after inactivity

CVE-2019-5638

Session not invalidated after security relevant account change

Potential Mitigations

Phases : 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 Methods

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.

Note sulla mappatura delle vulnerabilità

Giustificazione : This CWE entry is at the Base level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.
Commento : Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.

Note

This entry was created in CWE 5.0 to address known gaps in CWE coverage. It is not as complete as other new entries that were published in recent years. The CWE Team plans to work with the CWE community to make this entry more complete in later 5.x releases.

Riferimenti

REF-1520

Insufficient Session Expiration
WASC.
http://projects.webappsec.org/w/page/13246944/Insufficient%20Session%20Expiration

REF-1565

Session invalidation
Non-Human Identity Management Group.
https://nhimg.org/glossary/session-invalidation/

Invio

Nome Organizzazione Data Data di rilascio Version
CWE Content Team MITRE 2026-10-23 +00:00 2026-10-28 +00:00 5.0