pentesting, updated
Testing session timeout
Check whether idle and absolute session timeouts exist and are enforced server-side.
Goal
Confirm a session can’t be left valid indefinitely, whether idle or continuously used.
How to test
Leave a session idle for the stated timeout window, then replay the token. Separately, keep a session continuously active well past any reasonable absolute lifetime and check it’s still eventually forced to re-authenticate.
What to look for
A token that’s still valid well past the stated idle timeout, or no absolute timeout at all.
References
- OWASP WSTG-SESS-07 — Testing Session Timeout.