Skip to content
Business logic Disclosed report Beginner

Insecure Account Deletion

The account deletion feature did not require the user to re-enter their password, so anyone with access to an already logged-in session could permanently delete the account. An attacker using a shared or unattended computer could close the victim's account without knowing their password.

hack2684 Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 20 hours

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:

  1. go to https://liberapay.com/ and login to your account.
  2. go to profile/settings.
  3. you'll see the "close account" button.
  4. 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:

  1. The user logins to a shared computer (office, library, cafe)
  2. Left the account open.
  3. Intruder came and try to delete the users account
  4. 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.

The original report as published on HackerOne, by hack2684. 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 account deletion endpoint lacked a re-authentication step, relying only on the existing session cookie.

Impact

An attacker with access to a logged-in session could permanently delete the victim's account without knowing the password.

What the attacker needed

Access to a logged-in session; victim leaves session open on shared computer

The fix

The account deletion flow should require the user to re-enter their password before completing the deletion.

How it was found

  1. Log in to the site.
  2. Go to profile settings.
  3. Find the close account button.
  4. Press it and the account is deleted without a password prompt.

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 delete an account, the website should ask you to type your password again to prove it is really you. Here, it did not ask, so anyone who found a logged-in browser could delete the account with one click. This is dangerous on shared computers because the next person can act as you.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by hack2684

View all

1 more disclosed report, best first.

More from Liberapay

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.