OAuth 2.0 Auth Code Injection Attack in Action
Video Statistics and Information
Channel: OktaDev
Views: 5,274
Rating: undefined out of 5
Keywords: oauth2, security, authorization code flow, exploit, oidc, openid connect, pkce, proof key for code exchange
Id: 1ot45WwQWJE
Channel Id: undefined
Length: 14min 9sec (849 seconds)
Published: Tue May 26 2020
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
I must have missed how this affects anyone that doesn't have a malicious browser extension to exfiltrate a fresh valid auth code in the first place.
I'm one of the researchers that came up with the auth code injection attack. If you want to learn more on the details of the attack, I recommend reading my recent blog post which explains code injection attacks and how/when PKCE protects against them: https://danielfett.de/2020/05/16/pkce-vs-nonce-equivalent-or-not/
I could be misunderstanding, but this just seems like a XSS/CSRF attack but in a browser extension?
Microsoft OAuth i believe mitigates this by allowing you to optionally pass a state={some special state} along with requests to verify the flow as an additional step.