HexBrain

FantasyTote · Report #147203

Insecure password change mechanism may lead to full account takeover

Validstatus
18upvotes
23 Jul 2016disclosed

Summary

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.

How it was found

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.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original