Skip to content
Info disclosure Disclosed report Beginner

harvesting attack on user registration

The registration page reveals whether a username or email address is already registered by returning distinct error messages. An attacker could use this to enumerate valid accounts by submitting suspected usernames and emails and observing the responses.

niks Follow

Originally disclosed on HackerOne

  • Disclosed after 3 months

url: https://hackerone.com/users/sign_up

user account registration will ask for the applicant to provide all of the information required to create an account on a registration page. When the registration page is submitted, the application validates the uniqueness of the username and email address. The application then responds with 1.Username has already been taken 2. Email has already been taken

This behavior can be leveraged to harvest valid users of the application by attempting to register accounts with suspected usernames and emails and analyzing the responses.

The original report as published on HackerOne, by niks. 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 form returns different error messages for existing usernames and emails instead of a generic response, which reveals account existence.

Impact

An attacker could harvest valid usernames and email addresses from the application.

What the attacker needed

Access to the registration page

How it was found

  1. Go to the user registration page.
  2. Submit a suspected username or email address.
  3. Observe whether the response says the username or email is already taken.

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 for a website, it sometimes tells you if a username or email is already in use. That is helpful for you, but it also lets someone test many names and emails to find out which ones have accounts. This is called user enumeration, and it can help attackers target real users.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by niks

View all

6 more disclosed reports, best first.

More from HackerOne

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.