Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 569 Bytes

oauth-authorization-code-injection.md

File metadata and controls

8 lines (7 loc) · 569 Bytes
tags
oauth
security

Authorization code injection is type of attack where an attacker can steal [[oauth-authorization-code|authorization code]] sent by [[oauth-roles#Authorization Server|OAuth Server]] to the [[oauth-roles#Application|client]] or send attacker's legit authorization code to the user's browser.

The problem is that client can't identify which [[oauth-roles#User Agent|browser]] session initialised this login request. Therefore redirect URL with authorization code will be valid for any user agent. This resolved by [[oauth-pkce|PKCE]]