~/talk

Federated Login CSRF

Talkat AppSec USA 2017 · 2017-09-19..09-22· [security, web-platform]
links:none on file
slides:none on file

A multi-tenant cloud app allows an attacker to sign up a tenant, federate a malicious IdP, obtain an ID token for the attacker, and force a victim’s browser to accept the attacker’s session cookie via the OpenID Connect redirect flow; once that attacker session exists the app can auto-link the victim’s social OAuth account and leak or misuse the victim’s data. An AD FS auto-signin demo shows this works by injecting onload JavaScript that posts credentials. Defenses: require and validate state, add a second consent step, or use always_prompt.

AI-written summary · about

  1. 0:00Intro
  2. 1:34Quick Recap - Federated Login
  3. 5:52Additional CSRF Scenarios
  4. 6:25OAuth Code Grant Flow
  5. 10:17Recommended State parameter
  6. 11:10OpenID connect login flow
  7. 15:07Risk in the current scenario
  8. 18:09Recommended Parameter from OpenID Connect Spec
  9. 18:52Federated Login CSRF (Pre-Conditions)
  10. 19:49Attacker configuration
  11. 20:42Attack data flow sequence
  12. 23:47Risks
  13. 24:15Demo
  14. 27:48Mitigation 1: Show a 2nd Consent dialog before linking identities
  15. 29:12Conclusions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.