OAuth Attacks
What OAuth 2.0 Actually Is


The 4 Roles
Key Terms
The Standard Flow (Authorization Code Grant)
Other Grant Types (for context)
OAuth Grant TypesGrant Type
Use Case
OAuth vs OIDC
Quick Mental Model
Vulnerabilities in the OAuth client application
Improper implementation of the implicit grant type
Key Insight
The Flaw: Improper Implicit Grant Implementation
One-Line Takeaway
Lab 1 Authentication bypass via OAuth implicit flow
Flawed CSRF protection
Lab 2 Forced OAuth profile linkingLeaking authorization codes and access tokens
Lab 3 OAuth account hijacking via redirect_uriStealing codes and access tokens via a proxy page
Lab 4 Stealing OAuth access tokens via an open redirectOpenID ConnectLab 6 SSRF via OpenID dynamic client registration
Last updated