Avoiding Surge Pricing
The Uber app allowed a user to avoid surge pricing by first selecting a pickup location in a non-surge area, then changing the pickup to a surge area on the confirmation screen. The fare estimate and the final UberPool charge would be based on the non-surge price.
Originally disclosed on HackerOne
- Triaged in 2 days
- Fixed in 6 days
- Paid in 20 days
- Disclosed after 5 months
Please have a look at the video in this video link which shows the bug and helps you reproduce the same following the steps.
As you can see, there is surge of 1.3x in that area. But with this bug, one can avoid the surge.
To explain the video in brief First I selected Uber Go with the pickup location as "Prestige Shantiniketan" and destination as "Big Brewsky". Now the "Share your car" fare is 249.91 and "Get your own car" fare is 277.68. Now I go back to the map screen, and I scroll to the area which has no surge. And then I click on "set pickup location". In the confirmation screen, I change the pickup location to "Prestige Shantiniketan" (the location with surge) and use the same Destination "Big Brewsky". Ta-Da !! Now you can see the price without surge even though there is surge in that area (you can see surge symbol on "Request Pool" button). The "Share your car" fare is 191.48 and "Get your own car" fare is 212.76. Since the UberPool fare is pre-decided, if one has booked using this bug will end up paying the non-surge price for UberPool.
PS: I've personally tried this loophole once for "Share your car" in the UberGo screen and it worked for me. This bug might even work for "Get you own car" or UberX, where the bill generated is considering non-surge price, but I haven't tried it. Although in the fare estimate, it shows the non-surge price in surge areas using the above trick.
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 app recalculates the fare only when the pickup location is first set, and does not re-check for surge when the pickup is changed on the confirmation screen.
Impact
A rider could pay the non-surge price for UberPool even when surge is active, and the fare estimate for other ride types may also show the non-surge price.
What the attacker needed
Uber app; surge in the target area
How it was found
- Select Uber Go with pickup in the surge area and a destination.
- Note the fare estimate.
- Go back to the map and scroll to an area with no surge.
- Click 'set pickup location'.
- On the confirmation screen, change the pickup to the surge area and keep the same destination.
- Observe that the fare estimate no longer includes surge.
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.
Surge pricing means you pay more when many people want rides. This bug let someone trick the app into showing and charging the normal price even when surge was active, by changing the pickup location after the price was first calculated.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.