Takeover seller accounts worth billions & millions
The seller account switching endpoint did not verify that the chosen seller account belonged to the logged-in user, so changing the display name in the request gave full admin access to any other seller's account. An attacker could view revenue and listings, change bank details, and read customer order and delivery information.
Published on web.archive.org
Hi there , today I’m gonna share one of my finding over authorization bug .
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
Likely the seller-switching endpoint used the client-supplied display name to select the account context without verifying ownership against the authenticated user.
Impact
An attacker could take over other sellers' accounts, view their ad revenue and active listings, change their bank details, and see customer order and delivery address details.
What the attacker needed
A seller account on the portal; ability to intercept HTTP requests; knowledge of a target seller display name
How it was found
- Create a seller profile and at least one seller account.
- Log in and reach the step where you choose which seller account to open.
- Intercept the request that switches seller context.
- Replace the display name with another seller's account name and send it.
- Observe that the other seller's dashboard opens with admin privilege.
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 site, the server should check that you are allowed to see or change each piece of data. Here, the seller portal trusted a name sent by the browser to decide which seller account to open, without checking that the account belonged to you. By swapping that name for someone else's, a logged-in seller could open another seller's dashboard as if they were that person.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.