Liberapay · Report #361368
Insecure Account Deletion
Informativestatus
6upvotes
4 Jun 2018disclosed
How it was found
Hi Team,
The removal of account is one of the sensitive part of a web application that needs to protect, therefore removing an account should validate the authenticity of the user, however i have found that when removing an account, the system did not require the user to input the account password.
Steps to reproduce:
- go to https://liberapay.com/ and login to your account.
- go to profile/settings.
- you'll see the "close account" button.
- press that button and you'll be successfully deleted your account.
Mitigation: Put reauthentication when anyone/user is deleting an account, ask the user to input password before the completion of the account deletion.
Let me know if you need more information.
Thanks,
Impact
Exploit Scenario:
- The user logins to a shared computer (office, library, cafe)
- Left the account open.
- Intruder came and try to delete the users account
- Intruder can easily delete the account because the system did not protect it by asking the password to validate that the person deleting the account is the real user.