Skip to content
Account takeover Disclosed report Beginner

Lack of Password Confirmation When Changing Email

The email change feature did not require the current password, unlike the password change feature. An attacker with temporary access to a logged-in session could change the account email to their own, verify it, and then use password reset to take over the account.

pratyushjanghel Follow

Originally disclosed on HackerOne

  • Fixed in 15 hours
  • Disclosed after 18 hours

When any user wants to change the password, current password is asked for proceeding the request. This should also be implemented on changing the email.

Attack Scenerio : When some forget to logout from the account in a publc computer, anyone can change the email to its own and verify it. And after that using the forget password feature, it can change the password too.

Reference From : #546

Best Regards, Pratyush Janghel

The original report as published on HackerOne, by pratyushjanghel. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Impact

An attacker with access to a logged-in session could take over the account by changing its email and then resetting the password.

What the attacker needed

Victim leaves account logged in; attacker has access to that session

The fix

The email change flow should require the current password, as the password change flow does.

How it was found

  1. Find an account left logged in on a public computer.
  2. Change the account email to the attacker's own address.
  3. Verify the new email address.
  4. Use the forgot password feature to reset the password.

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 password on a website, it usually asks for your old password first. This report says changing your email address did not ask for that confirmation. If someone left their account logged in on a shared computer, another person could switch the email to their own and then reset the 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.

More by pratyushjanghel

View all

1 more disclosed report, best first.

More from WakaTime

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.