COMMON WEAKNESS ENUMERATIONIncomplete

CWE-1464

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.

Soyutlama

Base

Yapı

Simple

Sömürü İhtimali

Medium

Problemi anla

Problem nedir?

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

Kök neden

Problem nasıl ve ne zaman oluşur?

Yaşam döngüsü evresi

Architecture and Design

Yaşam döngüsü evresi

Implementation

Savunma

Nasıl önlenir ve çözülür?

Implementation

Uygulama aşaması savunması

Detay
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.

Doğrulama

Nasıl tespit edilir?

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.