Gmail OAuth Enforcement Bypass 100$ deal.
The platform required Gmail addresses to sign up only through Google OAuth, but the signup request accepted a swapped email address, letting an attacker create a password-based account for any Gmail address. An attacker could reserve a victim's Gmail address before the real owner registered, blocking them from signing up.
medium.com
Published on medium.com
So, I was casually testing one of the platforms and stumbled upon something that looked small at first — but turned out to be an authentication bypass.
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 Gmail OAuth-only rule was enforced only in the frontend, and the backend accepted any email with a password without re-checking the domain.
Impact
An attacker could reserve a victim's Gmail address with a password, potentially taking over the account or preventing the real user from registering; the report rates this as medium severity.
What the attacker needed
Ability to intercept and modify requests; knowledge of a target Gmail address
The fix
The backend should enforce the OAuth-only rule for Gmail addresses rather than relying on the frontend.
How it was found
- Start a normal signup with a non-Gmail address and a password.
- Intercept the signup request in a proxy tool.
- Change the email in the request to a Gmail address.
- Forward the request, which creates the account without OAuth.
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.
Some sites say that if you use a Gmail address you must sign in through Google instead of setting a password. This report shows that rule was only checked in the browser, so changing the email in the request let someone set a password for any Gmail address. That could stop the real owner from registering later.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.