Skip to content

Access Control: Improper Session Invalidation

Identifier: improper_session_invalidation

Scanner(s) Support

GraphQL Scanner REST Scanner WebApp Scanner ASM Scanner

Description

Improper session invalidation occurs when sessions, tokens, or authentication state remain usable after logout, credential changes, privilege changes, or other events that should revoke them.

How we test: We replay previously valid session tokens after logout, password reset, privilege change, account disablement, or explicit token revocation events and verify whether protected resources still accept the old authentication state.

References:

Configuration

Example

Example configuration:

---
security_tests:
  improper_session_invalidation:
    skip: false

Reference

skip

Type : boolean

Skip the test if true.