1000$ Bounty: OAuth Bypass
The application exposed an OAuth access token in the URL after login, and that URL could be pasted into a different browser to log in as the victim without credentials. The author calls this an OAuth bypass via session fixation.
medium.com
Published on medium.com
🔥Free Article Link: Click Here
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application placed the OAuth access token in the URL and then accepted that token from the URL to start a session, instead of keeping it in a secure cookie.
Impact
Anyone who obtained the URL, through browser history, phishing or a man-in-the-middle attack, could hijack the session and log in as the other user without credentials.
What the attacker needed
A Google account; victim's URL containing the token
The fix
The company confirmed the vulnerability and patched it.
How it was found
- Register and log in using Google OAuth.
- Copy the URL that contains the access token.
- Open a different browser or incognito window and paste the URL.
- Press Enter and observe that you are logged in without authentication.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
When you log in with Google, the site gets a temporary pass called an access token. Here the site put that pass in the web address, so anyone who saw the address could use it to become you. The author opened the same address in another browser and was logged in as the original user.
What is OAuth / SSO?
Mistakes in OAuth, OpenID Connect, SAML or token handling that leak codes and tokens or link an attacker's identity to a victim's account.