Insecure Account Removal
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 delete the account. An attacker using a shared or unattended computer could permanently remove the victim's account without knowing their password.
- Triaged in 4 hours
- Fixed in 10 days
- Disclosed after 23 days
Hi Team,
The removal of account is one of the sensitive part of a web application that needs to protect, therefor removing an account should validate the authenticity of the legitimate user, however i have found that when removing an account, the system did not require the user to input the account password.
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 legitimate user.
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.
Regards Japz
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 relied only on the existing session cookie and did not require a fresh password confirmation.
Impact
An attacker with access to an authenticated session could permanently delete the victim's account without knowing the password.
What the attacker needed
Access to a logged-in session; shared or unattended computer
The fix
The account deletion flow should require the user to re-enter their password before completing the deletion.
How it was found
- Log in to the application on a shared computer.
- Leave the account open and unattended.
- An intruder accesses the open session and attempts to delete the account.
- The account is deleted without any 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 site 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. This is dangerous on shared computers because the real owner may not be present.
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.