Detail CWE-1465

CWE-1465

Improper Session Invalidation after User Logout
2026-10-28
00h00 +00:00
Incomplete
Notifikasi untuk CWE tertentu
Tetap terinformasi tentang perubahan untuk CWE tertentu.
Kelola notifikasi

Nama: Improper Session Invalidation after User Logout

The product provides a logout functionality or otherwise attempts to end an active session for a user, but it does not properly invalidate the session upon logout.

Informasi Umum

Mode Pengenalan

Architecture and Design
Implementation

Platform yang Berlaku

Bahasa

Kelas: Not Language-Specific (Undetermined)

Sistem Operasi

Kelas: Not OS-Specific (Undetermined)

Arsitektur

Kelas: Not Architecture-Specific (Undetermined)

Teknologi

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

Konsekuensi Umum

Cakupan Dampak Kemungkinan
AuthenticationGain Privileges or Assume Identity

Catatan: Failure to invalidate a session on log out allows an adversary who has compromised the session more time to take action on the compromised session than is necessary.

Contoh yang Diamati

Referensi Deskripsi

CVE-2026-105690

Chain: auth-token was cleared on the browser after logout (CWE-602), but not revoked on the server-side (CWE-1465)

CVE-2019-12421

Chain: log out invalidated the session on the client side (CWE-602), but not the server side (CWE-1465)

Mitigasi yang Memungkinkan

Phases : Implementation
Ensure that user sessions are invalidated on the server-side after a client logs out or attempts to end their session. It is important that the server-side handles all session invalidation – including multiple tabs or windows, such as within a web browser - 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.

Catatan Pemetaan Kerentanan

Justifikasi : This CWE entry is at the Variant level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.
Komentar : 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.

Catatan

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.

Referensi

REF-1561

OWASP Web Security Testing Guide: 4.6 Session Management Testing
OWASP.
https://wstg.owasp.org/v4.2/4-Web_Application_Security_Testing/06-Session_Management_Testing/

Pengajuan

Nama Organisasi Tanggal Tanggal rilis Version
CWE Content Team MITRE 2026-10-23 +00:00 2026-10-28 +00:00 5.0