Session Termination

V7.4.1

Verify that when session termination is triggered (such as logout or expiration), the application disallows any further use of the session. For reference tokens or stateful sessions, this means invalidating the session data at the application backend. Applications using self-contained tokens will need a solution such as maintaining a list of terminated tokens, disallowing tokens produced before a per-user date and time or rotating a per-user signing key.

Required for Level 1, 2 and 3

CAPEC™ (3.9): 195, 21, 31, 464, 465, 510, 543, 593, 98

V7.4.2

Verify that the application terminates all active sessions when a user account is disabled or deleted (such as an employee leaving the company).

Required for Level 1, 2 and 3

CAPEC™ (3.9): 21, 593

V7.4.3

Verify that the application gives the option to terminate all other active sessions after a successful change or removal of any authentication factor (including password change via reset or recovery and, if present, an MFA settings update).

Required for Level 2 and 3

CAPEC™ (3.9): 21, 593

V7.4.4

Verify that all pages that require authentication have easy and visible access to logout functionality.

Required for Level 2 and 3

CAPEC™ (3.9): 21, 31, 464, 593

V7.4.5

Verify that application administrators are able to terminate active sessions for an individual user or for all users.

Required for Level 2 and 3

CAPEC™ (3.9): 195, 21, 31, 464, 465, 510, 543, 593, 98

Disclaimer

Credit via OWASP ASVS.For more information visit: The OWASP ASVS Project or Github respository.. OWASP ASVS is under the Creative Commons Attribution-Share Alike v4.0 license.

Github logo View source on GitHub

OWASP Cornucopia

OWASP Cornucopia is a mechanism in the form of a card game to assist software development teams identify security requirements in Agile, conventional and formal development processes. It is language, platform and technology-agnostic, and is free to use. OWASP Cornucopia is licensed under the Creative Commons Attribution-ShareAlike 4.0 license, so you can copy, distribute and transmit the work, and you can adapt it, and use it commercially, but all provided that you attribute the work and if you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar licence to this one.

© 2012-2025 OWASP Foundation. The Open Worldwide Application Security Project (OWASP) is a nonprofit foundation that works to improve the security of software.