15 questions0s
See the answer and explanation right after each question
1
In MemberPortal, why is SessionID1 (
login:{id}) deleted as soon as the login callback completes, instead of changing its TTL and reusing it as SessionID2?2
A login callback verifies the id_token's signature,
iss, aud, exp but skips comparing the nonce claim with the value stored in SessionID1. What is the direct vulnerability?3
The BFF must be sure the IdP actually re-authenticated the user during step-up. Which way of sending
/authorize and checking the id_token is correct?4
Why does
POST /auth/app/login return 403 (not 401) when APP_SSO_TOKEN is invalid?5
In the three-layer account type control model, which layer is the only one that every channel (Web, App, Operator) passes through?
6
Which statement about Login History API in MemberPortal's post-login processing is correct?
7
Why is
idProvider stored in SessionID1 instead of having the callback call Auth Health API again to decide where to exchange the token?8
When Auth Health API errors or times out, MemberPortal treats the primary IdP as healthy (fail-open). Why is that acceptable while fail-open at the signature verification step is not?
9
Caching the health check result for 60 seconds has which of the following consequences?
10
An attacker has the victim's
sid + xsrf and a valid account of his own. Which check at /auth/stepup/callback prevents him from withdrawing money from the victim's account?11
Why does MemberPortal use two callbacks,
/auth/stepup/callback and /auth/stepup/mfa-callback, instead of one callback that reads context from the session and branches?12
With
context = cash-out, MemberPortal deletes stepup:{id} as soon as the withdrawal order is confirmed instead of waiting for the 600s TTL to expire. Why?13
What status does the guard of
POST /auth/mock-session return when STAGE = prod or the password is wrong, and why?14
In the session data model table, what must the "Source" column say for
operatorId (Operator channel) and for accountNo (Web channel) for a security reviewer to accept it?15
The spec says a branch returns 401, the current code returns 403. What is the correct handling according to the course's traceability rules?