How I Landed a Critical Bug After a Couple of Months break from B
The platform treated a mutable public username as an authoritative identity key during OAuth onboarding, causing a new user to briefly inherit profile data from another account with the same handle. An attacker could preclaim generic handles to disrupt or misbind other users' onboarding.
I woke up to an email that felt surreal at first: Critical severity in one the platform i use regularly. A few minutes later, the dashboard updated and a $5,000 bounty sat beside my report.
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 used the mutable, user-facing username as a lookup key for profile data during OAuth onboarding instead of the immutable user ID.
Impact
A new user could briefly see or inherit visual elements or settings from another account's handle during onboarding, and an attacker could preclaim common handles to disrupt legitimate OAuth onboarding, though the text does not claim full account takeover.
What the attacker needed
Ability to create accounts; ability to change username; OAuth signup enabled
The fix
The fix should treat public usernames as display only, bind OAuth onboarding to immutable user IDs, validate handle availability at the start of the flow, and isolate profile reads and writes from presentation fields.
How it was found
- Create account A via email signup and accept the default username.
- Change account A's username to a generic handle such as support.
- Start OAuth onboarding for account B whose email prefix would generate the same handle.
- Step through the OAuth post-login profile completion screens.
- Observe prefilled display data or preferences belonging to account A and any conflict that appears only after those references load.
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 up, the site often creates a public username from your email. This report shows that the site sometimes used that username to decide which account's data to show, instead of using a hidden permanent ID. So if someone else had already taken that username, a new user could briefly see that other person's profile details during signup.
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.