Test OAuth tokens for standing authentication

AuthenticationDiscovery

Written with a model's help from “External Attack Surface Management: Seeing What Attackers Already See” by Shakel Ahmed on Cyber Desserts. Read the writeup before relying on it.

Try sending an OAuth token with alg set to none to see if it is accepted. Also, test for exposed secrets in public repositories by searching for hardcoded credentials in GitHub commits. Look for standing authentication and unauthorized access to sensitive data. An attacker can use a stolen OAuth token to bypass multi-factor authentication and access sensitive data through APIs. Monitor token use and configuration changes continuously to detect potential security breaches.

Follow #easm, #oauth or #saas for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.

Comments

No comments yet.