Test OAuth with HEAD requests
When testing OAuth authorization flows on target.com, try sending a HEAD request to the authorization URL instead of GET or POST. This can help reveal if the server is vulnerable to method confusion, where the HEAD request is treated as a POST and grants access without user consent. Look for a response that indicates the OAuth app has been approved without a click. You can also test with other safe methods like OPTIONS to see if they are handled correctly. If the server grants access or returns a success response, it may indicate a vulnerability.
Follow #csrf, #http-methods 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.