Skip to content
Account takeover Disclosed report Intermediate

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.

Brandon Roldan Follow

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

  1. Open a browser in which a user has previously logged into an account, but hasn't logged out.
  2. Open another browser and login using your account
  3. Try to link gmail using your account, it will prompt for a password confirmation, enter your password
  4. Intercept the response and copy it
  5. Go to the victims account and link to gmail again
  6. This time enter any password and intercept response
  7. 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.

The original report as published on HackerOne, by tomorrowisnew_. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Open a browser where a user is already logged in and has not logged out.
  2. Open another browser and log in with your own account.
  3. Try to link Gmail from your account; a password confirmation prompt appears, so enter your password.
  4. Intercept the response and copy it.
  5. Go to the victim's account and try to link Gmail again.
  6. 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.

More by Brandon Roldan

View all

2 more disclosed reports, best first.

More from Khan Academy

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.