CISSP practice question · Identity and Access Management (IAM)
A tester logs out of a web banking app, then replays a request using the session token she captured before logging out.
A tester logs out of a web banking app, then replays a request using the session token she captured before logging out. The request succeeds. What should the application do?
- AInvalidate the session on the server when the user logs out
- BDelete the session cookie from the browser when the user logs out
- CEncrypt the session token with a stronger cipher before issuing it
- DIssue a fresh session token each time the user loads another page
Show the answer and explanation
Correct answer: A) Invalidate the session on the server when the user logs out
Logout must invalidate the session on the server; clearing the cookie in the browser alone leaves a captured token usable.
Why each option is right or wrong
- A) Correct. Session state should be destroyed server-side at logout so that the token is rejected on any later use. OWASP session management guidance requires this, along with idle and absolute timeouts.
- B) Incorrect. Removing the cookie only affects that browser. Anyone who copied the token can still present it, because the server still considers the session valid, which is what the tester showed.
- C) Incorrect. The attacker replays the token as-is and does not need to read it. Encryption strength is irrelevant if the server accepts the token.
- D) Incorrect. Rotating tokens can limit some attacks, but the most recent token would still work after logout unless the server invalidates the session.
- Exam domain
- Identity and Access Management (IAM) · 13% of CISSP
- Question type
- Multiple choice (one answer)
Related CISSP questions
- A company sends one-time sign-in codes by SMS. Several executives lose control of their accounts after attackers…Identity and Access Management (IAM)
- Security cameras show employees routinely holding the data center door open for colleagues and visitors who follow them…Identity and Access Management (IAM)
- A red team clones employees' 125 kHz proximity badges from a few feet away in the lobby and uses the copies to enter…Identity and Access Management (IAM)
- After an attacker deliberately locked out hundreds of employees by entering wrong passwords for their usernames, a…Identity and Access Management (IAM)
All 110 free CISSP questions by domain · 15 sample questions on one page
Practise the full CISSP exam
This question is one of a small free sample from the CertRidge CISSP bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with ISC2; never copied from the real exam.