Skip to content
Account takeover Disclosed report Beginner

Insecure password change mechanism may lead to full account takeover

The password change form did not require the user's current password, so anyone with access to an account could set a new password without knowing the old one. This could lead to account takeover if an unauthorised user reached the account.

shawarkhan Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in 2 days
  • Disclosed after 28 days

Summary by the researcher

There was lack of protection on the Password change mechanism of the user account which could lead to account compromise once accessed by unauthorized user.

The report

###Description: The password change mechanism which is located at https://www.fantasytote.com/users/edit is insecure as there is no old password field deployed in it. Any unauthorized user can access the account and can change the password directly without knowing the old password. The current password or old password field is necessary because it prevents any unauthorized user from changing the password.

Facebook, Google and many other companies have deployed this fix.

###Steps to Reproduce:

###Fix / Patch: Deploy a mechanism that asks the user for the old password in order to change his password. If the user knows his old password, the password should be changed otherwise not.

Waiting for positive response, Thanks.

The original report as published on HackerOne, by shawarkhan. 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 password change endpoint did not verify the user's current password before accepting a new one.

Impact

An unauthorised user who already has access to an account could change its password and take it over, though the report does not show how such access is obtained.

What the attacker needed

Access to a signed-in account

The fix

The password change form should require the user's current password before accepting a new one.

How it was found

  1. Go to the site and sign in.
  2. Open the user edit page.
  3. Find the password change area.
  4. Enter a new password and submit; it changes without asking for the old password.

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.

A safe site asks for your current password before changing it. Here that check was missing, so anyone who got into the account could change the password without knowing the old one.

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 from FantasyTote

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.