Uber Eats BOLA (IDOR) Vulnerability | $2,000 Bounty | Technical Write-up
An analytics endpoint for restaurant sales data accepted a restaurant identifier from the request without checking that the logged-in user owned that restaurant. An attacker with any restaurant account could swap in another restaurant's identifier and read its financial and sales analytics.
Published on nullsecurityx.medium.com
In this technical write-up, I’ll explain a BOLA (Broken Object Level Authorization) vulnerability originally discovered by 0xPrial on the Uber Eats Manager platform. I created this content to demonstrate and explain how the vulnerability worked, which allowed unauthorized access to sensitive analytics, revenue data…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The endpoint authenticated the session but did not verify that the requested restaurant identifier belonged to the requesting user.
Impact
An attacker could read the financial performance, daily and monthly sales, and order volumes of any restaurant, and could script the process to scrape data at scale.
What the attacker needed
A restaurant account on Uber Eats Manager; knowledge of a target restaurant identifier
The fix
The endpoint should verify on the server that the requesting user is linked to the target restaurant before returning data, ideally through a central authorization check.
How it was found
- Log in with your own restaurant account.
- Obtain the identifier of a target restaurant.
- Use Burp Suite Match and Replace to swap your identifier for the target's.
- Navigate the analytics dashboard so the request is sent with the swapped identifier.
- Observe the response containing the target restaurant's analytics.
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 write-up has not been written yet. The Original tab links to the source.
When you log in to a website, the server checks who you are. But it should also check that you are allowed to see each specific item you ask for. Here, the server skipped that second check, so anyone with a normal account could ask for another restaurant's private sales numbers just by changing an ID in the request.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.