Logical issues with account settings
The account settings page allowed an email address to be changed without any verification of the current password or confirmation sent to the old address. An attacker with access to an unattended logged-in session could change the email, verify it, then use the password reset flow to take over the account.
Originally disclosed on HackerOne
- Triaged in 35 hours
- Fixed in 7 days
- Paid in 7 days
- Disclosed after 17 months
earlier email was not allowed to change ,but now there is no verification on changing email. when user try to change the password , they were asked to verify the request by entering old password. For the same reason a verification should be there on changing email.The worst part is hackone send verification mail on new mail id , and change the "join " date even on email change request. scenario: if some one left his account open on public computer(say office or cafe), then attacker can change the email ,verify it himself. Then abuse forgot password field to take over whole account.
Suggested mitigation: a password field can be applied(just like facebook do) or verification mail should be send on old email id registered.
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 flow lacked any re-authentication or notification to the previously registered address, so a change could be completed by whoever held the active session.
Impact
An attacker with brief access to an open session could take over the whole account, and the report also notes the join date is altered on an email change request.
What the attacker needed
Victim leaves session open on shared computer; attacker has physical access to that session
The fix
The email change should require the current password and send a verification message to the old registered address, as the reporter suggests.
How it was found
- Attacker finds a logged-in account left open on a shared or public computer.
- Attacker changes the account email address to one they control.
- Attacker verifies the new email address themselves.
- Attacker uses the forgot password feature to reset the password and take over the account.
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 something important on an account, like the email address used for password resets, the site should first check that it is really you. Here it did not ask for the current password and did not warn the old email address, so anyone sitting at a logged-in computer could quietly swap the email to their own and then reset the password. That gives them full control of 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.