Information Disclosure — Exposed Order Details via Shipping Status API
A shipping status API endpoint returned full customer order details when given an email address and an order ID, without requiring any authentication or authorisation. An attacker who knew or guessed a customer email and order ID could read names, addresses, tracking numbers and payment transaction details.
Hello friend, I’m Mina, a back-end developer and a part-time bug hunter. In this article, I will talk about a somewhat easy vulnerability. but has a high or medium impact because it allows viewing clients’ orders without authentication or authorization.
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 endpoint lacked any authentication or authorisation check and relied only on knowing an email address and an order ID to return order data.
Impact
Anyone able to supply a matching email and order ID could read a customer's personal, shipping and payment details; the report was accepted but marked as a duplicate.
What the attacker needed
Knowledge of a customer email; a valid order ID; no login needed
How it was found
- Find the shipping status API endpoint that asks for an order ID and email
- Discover the parameter names through fuzzing
- Obtain a customer email address from archived pages
- Fuzz the order ID value until a valid one is found
- Receive a successful response containing the order details
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.
An API is a way for programs to talk to each other, and this one answered questions about orders. Normally a site should check who is asking before handing over someone's order, but here it did not check at all. Anyone who supplied an email address and an order number got back the customer's name, home address and payment details.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.