Quiz: Session Auth¶
Review first: Session Auth
#
Question 1
Your session-based API is vulnerable to CSRF. Which controls actually mitigate it? Select ALL that apply:
#
Question 2
After login, your app keeps the same session ID it issued pre-authentication. What attack does this allow?
#
Question 3
You're setting the session cookie for app.example.com. Which attributes should it have? Select ALL that apply:
#
Question 4
Your session cookie is HttpOnly, but a pentester finds a stored XSS bug. What can the attacker still do?
#
Question 5
You scale a session-based app from one server to six behind a load balancer. Users get logged out randomly. What's the most robust fix?