In-depth lesson · redirect_uri manipulation
Root causes
Every point the redirect_uri manipulation reports back under this heading, best-backed first, each with the reports it is seen in.
-
The registration endpoint required no authentication and did not validate redirect URIs, client names or logos, and did not restrict the none token endpoint authentication method.
Seen in 4 reports
-
The OAuth flow used an unverified custom URI scheme without PKCE, so the code was not bound to the app that started the flow.
Seen in 3 reports
-
The callback trusted the attacker-controllable Referer header to choose the post-login destination, and OAuth initiation was a forgeable GET.
-
The server allowed arbitrary query parameters and fragments to be appended dynamically to the redirect_uri instead of pinning the whole value.
-
The callback put the access token in the query string and honoured an attacker-controlled redirect_uri, so the token leaked through the Referer header on the redirect.
-
redirect_uri was validated by path prefix instead of exact match, and the token endpoint did not validate redirect_uri.
Seen in 1 report