Full account takeover via Add a New Email to account without email verified and without password confirmation.
The application allowed adding a new email address to an account without verifying the email or confirming the password. An attacker with access to a logged-in session could add their own email and then reset the password to take over the account.
Originally disclosed on HackerOne
- Disclosed after 40 days
#Description : This is especially important if the application is commonly used in shared computers such as cyber cafes or airport terminals ##Bug : Add a New Email to account without email verified and without password confirmation when the leaves open email ,Leading to the theft of account In less than a minute by reset password . ##PoC: http://goo.gl/tsqR60
#Suggestion for fix a bug : Request Confirm password to add this email. ##Example : http://goo.gl/y3mK0C
Regards, Ahmed El-Mahalawy
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 endpoint lacked re-authentication (password confirmation) and did not verify ownership of the new email address before allowing it to be used for password reset.
Impact
An attacker with access to a logged-in session could take over the account in under a minute by resetting the password via the newly added email.
What the attacker needed
Access to a logged-in session; shared or unattended computer
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 are logged in, you can add another email address to your account. The site did not ask for your password or check that the new email belongs to you. Someone using the same computer could add their own email, then use the password reset feature to take over the account.
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.