Test OAuth 2.0 redirect_uri validation
When testing an OAuth 2.0 implementation, try manipulating the redirect_uri parameter to see if the server properly validates it. Test variations like https://attacker.example, https://target.com.attacker.example, https://target.com@attacker.example, and http://target.com/callback/. Also, fuzz for wildcard subdomains, URL encoding, and path normalization tricks. A weak redirect_uri validation can lead to code or token leakage, or even full account takeover. Look for responses that indicate the server is redirecting to an attacker-controlled endpoint or leaking sensitive information.
Follow #authentication, #authorization or #oauth for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.