Skip to content
Access control Disclosed report Beginner

Two email addresses can access the same account

After changing an account's email address and then changing it back, the old email address still grants access to the same account. This means two different email addresses can both log in to one account, which the reporter says violates secure design principles.

streaak Follow

Originally disclosed on HackerOne

  • Fixed in 11 hours
  • Disclosed after 20 hours

Hello Team,

When I was testing your web application I found that we can change the email address to a new email address. I tested that feature and noticed that after changing the email to a new email and then back to the old email, I can still access the account using both the email addresses.
Doing so doesn't allow the email holder of the second email address to create an account on Wakatime using the same email address, as the error shows that the email address has already been taken. I presume that this can be done for a number of emails as I haven't tested that yet. One account clearly shouldn't be accessible by 2 email address and is a violation of secure design principles.

Let me know if you need anything else.

Best Regards, Streaak2

The original report as published on HackerOne, by streaak. 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

Root cause

Likely the email-change process adds the new address without removing or invalidating the old one, so both remain linked to the account.

Impact

Two email addresses could access the same account, and the second address cannot be used to register a new account because it is already taken.

What the attacker needed

An account with an email address; ability to change the account email

How it was found

  1. Change the account's email address to a new one.
  2. Change the email address back to the original one.
  3. Access the account using either the old or the new email address.

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.

The site kept the old email address working after it was replaced, so two email addresses could both access the same account.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by streaak

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.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.