Password authentication when changing information bypass. Bypass of report #721341
The password confirmation when linking an account to another service was done only in the client side, so it could be bypassed by manipulating the response. This could allow an attacker to link a victim's account to another service and take over the account.
Originally disclosed on HackerOne
- Triaged in under an hour
- Fixed in 51 days
- Disclosed after 3 months
#SUMMARY When reading the disclosed reports of your program, i see this one report #721341 . The reporter reported a lack of password confirmation when linking accounts. A fix was applied, adding password confirmation when linking account to other services. But i found a way to bypass this, The password confirmation is only done in the client side. This is bad because such methods are vulnerable to response manipulation. I will add a video poc
#STEPS TO REPRODUCE
- Open a browser in which a user has previously logged into an account, but hasn't logged out.
- Open another browser and login using your account
- Try to link gmail using your account, it will prompt for a password confirmation, enter your password
- Intercept the response and copy it
- Go to the victims account and link to gmail again
- This time enter any password and intercept response
- Paste the copied response from the attacker account
#POC ██████████
Impact
An attacker can take over an account and lock a user out by resetting the password.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the server did not verify the password confirmation itself and trusted a client-side response, allowing response manipulation.
Impact
An attacker could take over an account and lock the user out by resetting the password.
What the attacker needed
Victim has an active logged-in session; attacker has their own account; attacker can intercept and modify responses
How it was found
- Open a browser where a user is already logged in and has not logged out.
- Open another browser and log in with your own account.
- Try to link Gmail from your account; a password confirmation prompt appears, so enter your password.
- Intercept the response and copy it.
- Go to the victim's account and try to link Gmail again.
- Enter any password, intercept the response, and paste the copied response from the attacker account.
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 report has not been written yet. The Original tab links to the source.
When you link an account to another service, the site asks for your password. That check happened only in the browser, so someone could fake the 'password correct' reply. That could let an attacker link a victim's account to another service and take it over.
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.