01
Safety and setup
0 / 202
Map the flow
0 / 3- Identify the flow first (code, code+PKCE, implicit, hybrid, device), then walk only the attacks that apply to that flow
registration_endpoint,request_uri_parameter_supported,response_modes_supported,grant_types_supported,jwks_uritell you which sinks exist before you probe
03
Non-happy paths
0 / 5- The security checks are written for the flow that succeeds, the cancel and error branches get the handler nobody reviewed
- Compare the error redirect with the success redirect: same host, same checks on
redirect_uriandstate; note what the error page echoes back
- Compare the error redirect with the success redirect: same host, same checks on
- A session that already counts as logged in before the callback completes is the lead
04
redirect_uri validation
0 / 9- Exact match of the full URL is the only sound design; every accepted variant is a lead, and the error body tells you which validator answered; also try
cb?x=,cb%23,cb%3F,cb#,cb;
- Exact match of the full URL is the only sound design; every accepted variant is a lead, and the error body tells you which validator answered; also try
https://legit.example.attacker.example/cb,https://[email protected]/cb,https://attacker.example#@legit.example/cb,https://attacker.example/.legit.example/cb
urlparse().hostnameand Javajava.net.URLread the allowed host while the browser navigates to the attacker; Gonet/urlParsefails closed on these, so it is not a bypass there
- Scheme and origin are checked but the path is not; the traversal reaches the app's own open redirect or a user-content page and the code leaves in the next hop or in
Referer
- Scheme and origin are checked but the path is not; the traversal reaches the app's own open redirect or a user-content page and the code leaves in the next hop or in
- A bounce on the auth domain with no consent screen is an open redirect on a trusted origin; treat it as a chain link unless
response_type=tokenreturns a token to it
- A bounce on the auth domain with no consent screen is an open redirect on a trusted origin; treat it as a chain link unless
- If only one order passes you know which copy is validated and which is used; a
duplicated parametererror means it fails closed
- If only one order passes you know which copy is validated and which is used; a
- A subdomain with a dangling record or takeover turns a wildcard registration into token theft
- Prove impact on the resource server (read, write, delete with the delivered bearer), not at the authorization server
- If the browser sends the parameter you can set it; a wildcard such as
agent.example/*is the usual validator
- If the browser sends the parameter you can set it; a wildcard such as
05
response_type, response_mode and delivery
0 / 3code id_tokenputs both in the fragment where a client guarding only the query never looks; servers that removed implicit still carry compatibility shims, that is where the bugs are
fragmentsurvives redirects so any open redirect exfiltrates it
06
state, nonce and login CSRF
0 / 4- Missing or null
statemeans the victim redeems the attacker's code and is logged into the attacker's context
- Missing or null
stateis meant to be opaque so nobody signs it; base64 JSON with anAppURLfield once sent the access token to an attacker host
- Read the mismatch error body: some servers return the expected value in the error JSON, which makes login CSRF trivial
07
Scope and grant confusion
0 / 4- Read what comes back each time: the scopes the token actually carries, whether the IdP falls back to a default set, and what the app does when a claim it expects (email, profile) is missing
- An app that still logs you in, links an account or skips a check without the data it normally relies on is the lead, compare every variant against the normal flow
- The RFC does not define
scopethere; verify both a JWT access token and the introspection result carry the upgrade
- The RFC does not define
- Lead with the zero-click cross-client variant, a consent-screen version reads as social engineering
08
Identity binding, email trust and account linking
0 / 1- Includes tokens minted for another client,
aud,issand tenant binding
- Includes tokens minted for another client,
09
id_token and token validation
0 / 4nOnE,NoNEagainst libraries that case-fold, a flipped signature bit, an unknowncritheader
10
Discovery, DCR and server-side fetches
0 / 3- Pre-auth, no credentials needed; then retry with an internal canary to prove an internal fetch
logo_uri(fetched when the consent page renders, XSS if no content-type check),jwks_uri(fetched on a JWT client assertion),sector_identifier_uri(fetched at registration or authorize),request_uris(fetched during authorize)
11
Client-side leaks and native flows
0 / 2host.endsWith(allowed)with no protocol check lets anhttp://page receive the token;endsWith(".example.com")acceptsevil-example.com; a handler without origin check is only a finding if thestatecan be forged
- A custom scheme can be claimed by a second installed app; with
prompt=noneit collects codes with no interaction
- A custom scheme can be claimed by a second installed app; with
12
Desktop and web token handoff
0 / 5- Common shapes: a custom scheme or deep link back to the app, a localhost loopback port, the app polling a server store, a device code, and a one-time token in the URL the app opens
- If the client picks the id, poll it from your first account for your second account's result; for device code, finish the sign-in in another profile and see which account the device receives
- An unpinned port lets any local process listening on another port receive the code
- Replay it from a second browser profile, tokens in a URL also land in browser history, proxy logs and
Referer
- Replay it from a second browser profile, tokens in a URL also land in browser history, proxy logs and
- Use a token from your second test account, an app that accepts it silently can be signed into the wrong account
13
IdP trust, logout and lifecycle
0 / 3- Revoking an app on web may not touch the mobile refresh path