Email changing
The email change flow does not require confirmation from the old email address. An attacker who knows the password could change the email and lock the legitimate user out of password recovery.
Originally disclosed on HackerOne
- Disclosed after 56 days
Hello When someone chnage his email he doesn't have to confirm the change of the email from both emails
I suggest you must use a confirmation from both emails (specially the old email)
Because If an attacker compromises the password of a hackone user the user will not be able to reset his password even from the old email .
Best Regards
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 email change process only verifies the new address and does not require approval from the existing address.
Impact
An attacker with the password could change the email, and the real user could not reset their password via the old email.
What the attacker needed
Attacker knows the account password
The fix
The email change should require confirmation from both the old and the new email addresses.
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 change your email address, the site should ask the old email to approve it. Here it does not require confirmation from both emails, so someone who steals your password can swap in their own email and you cannot reset your password.
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.