Skip to content
Account takeover Disclosed report Beginner

Email Address Enumeration

The sign-up endpoint returns different HTTP status codes and messages depending on whether an email address is already registered. An attacker could send many requests to determine which email addresses have accounts, enabling email enumeration.

mefkan Follow

Originally disclosed on HackerOne

  • Disclosed after 23 days

Hi.

I'm going to talk about brute-force for finding emails in the sign-up page.

Reproduction Steps

1-Send a request like this

POST https://get.uber.com/signup_submit/ HTTP/1.1

email=efkan162%40gmail.com&password=11111111xxxx&first_name=Trial&last_name=Trial&mobile_country=TR&mobile=533+633+4000&language=tr_TR&card_number=%

NOTE:The request body goes like this I deleted de other parts because it's too long but I have to say other parts like card_number or card_bin have to be valid for brute-force.

2-When you did this request response header will be like this "HTTP/1.1 406 NOT ACCEPTABLE" and this is the text view of the response.

{"username":"Kullan\u0131c\u0131 ad\u0131 zaten kaydedilmi\u015f","reason":"username_already_registered","email":"Bu e-posta daha \u00f6nce kaydedilmi\u015f. Mevcut hesab\u0131n\u0131zda oturum a\u00e7\u0131n veya farkl\u0131 bir e-posta ile kay\u0131t olun."}

[email protected] THİS EMAİL İS REGİSTERED FOR MY ANOTHER ACCOUNT.This is why response says"username_already_registered" so we can understand an account with [email protected] registered to uber.

4-When you send a request with a not-using email you'll see the respone header "HTTP/1.1 200 OK" that means this e-mail can usable and nobody has an registered account with this e-mail.

5-We can brute force with post method because there is no errors or request time protection like "Too Many Requests".

Finally,an attacker or a hacker could find the registered e-mails to Uber service with brute-force method.Like using mail lists word lists or creating random mails with some words and some number.

How To Fix:

You need to add request time protection to there "POST https://get.uber.com/signup_submit/"

About the attachments:

I sent more than 100 requests in 3 seconds as you can see in the requests.png.There was no error. And I used an non-registered mail to Uber in the 200.png In 406.png I used my other account's email and it said "406 Not Acceptable"

I hope you'll fix it as soon as possible you can for security of your members

Attachments

requests.png
requests.png From the original on HackerOne
200.png
200.png
406.png
406.png

The original report as published on HackerOne, by mefkan. 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 sign-up endpoint reveals whether an email is already registered through distinct response status codes and messages, and lacks rate limiting.

Impact

An attacker could brute-force email addresses to discover which ones are registered with the service.

What the attacker needed

Valid sign-up form fields; no rate limiting on endpoint

The fix

The endpoint should be fixed by adding rate limiting or request throttling to prevent rapid enumeration.

How it was found

  1. Send a POST request to the sign-up endpoint with an email address and other required fields.
  2. Observe the response status code and message for a registered email (406 with 'username_already_registered').
  3. Send a similar request with an unregistered email and observe a 200 OK response.
  4. Repeat many requests quickly to enumerate addresses, as no rate limiting was encountered.

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 website checks if your email is already used. Here, the site replies with a different status code (406) and a message saying the email is already registered, versus 200 OK for a new email. Because there is no limit on how many times you can try, someone can test lots of email addresses quickly to learn which ones have accounts.

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 mefkan

View all

6 more disclosed reports, best first.

More from Uber

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.