Skip to content
Account takeover Disclosed report Intermediate

The Uber Promo Customer Endpoint Does Not Implement Multifactor Authentication, Blacklisting or Rate Limiting

The Uber promotions endpoint accepted bearer tokens without multifactor authentication, blacklisting, or rate limiting, allowing an attacker to brute-force valid tokens. An attacker with sufficient bandwidth could enumerate tokens at high speed, leading to account compromise and session hijacking.

gregoryvperry Follow

Originally disclosed on HackerOne

  • Disclosed after 27 days

Summary

The https://cn-sjc1.uber.com/rt/users/apply-clients-promotions customer endpoint used to apply Uber promotions does not implement multifactor authentication, IP address blacklisting for multiple failed attempts, or IP address-based rate limiting to prevent brute force bearer token enumeration.

Security Impact

Issued x-uber-tokens are able to be enumerated at rates only limited by an attacker's available bandwidth.

Reproduction Steps

A massively parallel Golang application was configured to spawn thousands of concurrent HTTP request workers, each with a PRNG-derived token. Unlike other endpoints within the Uber architecture, https://cn-sjc1.uber.com/rt/users/apply-clients-promotions only requires an x-uber-token and promo code to assess whether the token and/or promo code is valid. By using a valid promo code in conjunction with a randomly-derived x-uber-token, more than a million brute force attempts at enumerating valid bearer tokens was able to be accomplished in a matter of minutes, without any type of IP address blacklisting or rate limiting controls preventing the attack.

Specifics

Impact

An attacker with sufficient bandwidth could enumerate valid x-uber-tokens at high rates of speed, in turn resulting in compromise of privileged account information and hijacking of user sessions associated with those x-uber-tokens.

The original report as published on HackerOne, by gregoryvperry. 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 endpoint lacked rate limiting, blacklisting, and multifactor authentication, allowing unlimited token guessing.

Impact

An attacker with sufficient bandwidth could enumerate valid tokens at high speed, potentially compromising privileged account information and hijacking user sessions.

What the attacker needed

A valid promo code; no account needed; sufficient bandwidth

How it was found

  1. Build a massively parallel Golang application with thousands of concurrent HTTP request workers.
  2. Generate random tokens using a PRNG for each request.
  3. Send requests to the promotions endpoint with a valid promo code and a random token.
  4. Observe that no IP blacklisting or rate limiting blocks the attempts.

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.

A bearer token is like a temporary password that proves who you are. This endpoint let someone try millions of random tokens very quickly because it had no limits or lockouts. If a random token happened to be valid, the attacker could take over that user's session.

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 gregoryvperry

View all

9 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.