Most bug bounty writeups are recycled. Real bugs are hiding in the specs.
The application used the email claim from Google's OpenID Connect login as the account identity instead of the stable issuer and subject pair. An attacker who later controls the same email address, through a recycled mailbox or an expired domain, could be logged into the original user's account.
Same recon tips. Same payload lists.
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
The application bound local accounts to the mutable email claim rather than the stable issuer and subject identifier pair from the identity provider.
Impact
A different person who later controls the same email address could be logged into the historical account, compromising the confidentiality and integrity of that user's data.
What the attacker needed
Sign in with Google via OpenID Connect; Attacker later controls the same email address; Email is recycled or domain re-registered
The fix
The application should bind accounts to the issuer and subject pair returned by the identity provider, storing email only as an attribute and never using it to decide whether two identities are the same user.
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 sign in with Google, Google sends the app a small package of information about you. One piece is your email address, and another is a permanent ID that never changes for that Google account. The app used the email address to decide who you are, so if that email address later belonged to someone else, they would get into your old account.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.