Your Order Number Was the Only Thing Between Your Data and Anyone
Order confirmation pages for a US fashion retailer were publicly accessible without authentication, and the only variable in the URL was a sequential order number. Anyone who knew one valid order ID could increment the number to view other customers' names, contact details, shipping addresses, order contents, and partial card data.
Published on medium.com
Sequential order IDs are not a security control. Express appears to have treated them as one.
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 application used sequential order numbers as the only reference to confirmation pages and did not verify that the requesting user was authorised to view that order.
Impact
Anyone could access other customers' names, contact details, shipping addresses, order contents, and partial card data, which could be used to profile a customer, validate a stolen identity, or construct a convincing phishing message.
What the attacker needed
Knowledge of one valid order ID; no authentication required
The fix
The pages were patched after notification.
How it was found
- Find a valid order confirmation page URL containing an order number.
- Change the order number to another value.
- View another customer's order details without authentication.
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 buy something online, the website often gives you a link to a page showing your order details. That link should only work for you. Here, the link contained a simple number, and anyone could change that number to see other people's orders. This is called an insecure direct object reference (IDOR): the site fails to check that the person asking for a page is allowed to see it.
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.