Takeover of an account via reset password options after removing the account
After a user deletes their account, the password reset mechanism still lets that email address reset the password and log in again.
Originally disclosed on HackerOne
- Triaged in 31 hours
- Fixed in 32 hours
- Disclosed after 24 days
Hi,
The Reset password mechanism can't validate or authenticate an user properly. After removing a user account it's possible to takeover the user account by using reset password option. which is turn into takeover an account.
##Step to Reproduce:
- Go to weblate
- Remove your account from weblate
- Now go to for login
- Enter username or email and password, try to login. you are failed to login because email and password is removed
- Now click on reset it
- Enter email and captcha and hit
Reset my password

- Open mail and click on reset password link

- Now enter Password twice and login to the account
After doing all the steps you are successfully able to change the password.

Thanks
Attachments


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 reset process does not check whether the account still exists or is active before allowing a reset.
Impact
A deleted account's password can be reset via its email, allowing login to that account again.
What the attacker needed
A deleted account; access to that account's email inbox
How it was found
- Go to the Weblate demo site.
- Remove your account.
- Try to log in with the removed email and password; login fails.
- Click the password reset link.
- Enter the email and captcha, then request a password reset.
- Open the email, click the reset link, set a new password, and log in successfully.
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 password reset feature still works for that account's email, so you can set a new password and log in again.
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.