Skip to content
Account takeover Disclosed report Beginner

registering with the same email address multiple times leads to account takeover

The application allowed multiple accounts to be registered with the same email address. An attacker could register an account with a victim's email, then use the username recovery and password reset features to obtain the victim's username and reset their password, leading to account takeover.

whitehacker18 Follow

Originally disclosed on HackerOne

  • Disclosed after 2.1 years

##i'm not sure if this issue is in scope or not or if it's intended , kindly if you don't accept this issue please close it as informative , thanks in advance

Summary:

the ability of the user to register many times using the same mail address can lead to account take over

Steps To Reproduce:

  1. attacker goes to https://www.reddit.com/register/?dest=https%3A%2F%2Fwww.reddit.com%2F and signup by email for ex [email protected] and username attacker1
  2. attacker goes to his email and verify it
  3. attacker logs out
  4. user goes to https://www.reddit.com/register/?dest=https%3A%2F%2Fwww.reddit.com%2F and signup by email for ex [email protected] and username user1
  5. attacker goes to his email and verify it
  6. user logs out now since registering an account via the same email multiple times , the attacker can do the following
  7. go to https://www.reddit.com/username and type your email then click submit
  8. all list of usernames registered on the attacker email will be sent to his mail
  9. attacker gets the username of the victim user <user1>
  10. attacker request password reset on the victim by entering his name <user1> and the attacker email [email protected] by going to https://www.reddit.com/password
  11. the password of the victim is sent to the attacker email
  12. the attacker takeovers the victim account by changing his password via reset link

Supporting Material/References:

https://hackerone.com/reports/767829

##if you need any help please tell me , if you need any extra info or a video as a poc please tell me and i'll provide it

##fix: allow the user to register using the email only once.

Impact

acoount takeover , disclosing of private info and chats

if a user registers with an attacker email without knowing (as the application allows multiple registration email) then the attacker can takeover any account

The original report as published on HackerOne, by whitehacker18. 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 registration process did not enforce uniqueness of email addresses, allowing multiple accounts to be associated with the same email.

Impact

An attacker could take over a victim's account, disclose private information and chats, and if a user registers with an attacker-controlled email without knowing, the attacker can take over any account.

What the attacker needed

Attacker has an email address; victim registers an account using the same email address

The fix

The application should allow a user to register using an email address only once.

How it was found

  1. Attacker registers an account using the victim's email address and a chosen username.
  2. Attacker verifies the email address.
  3. Attacker logs out.
  4. Victim registers an account using the same email address and their own username.
  5. Victim verifies the email address and logs out.
  6. Attacker uses the username recovery feature with the victim's email to obtain the victim's username.

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 sign up, the site usually checks that an email is used only once. Here it did not, so an attacker could create an account with someone else's email. Then, by using the 'forgot username' and 'forgot password' features, the attacker could get the victim's username and a password reset link sent to that email, taking 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.

More by whitehacker18

View all

1 more disclosed report, best first.

More from Reddit

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.