China - IDOR on Reservation Staging/Non Production Site - https://reservation.stg.starbucks.com.cn
The staging reservation API allowed access to reservation history for any user by supplying a fixed OTP value. An attacker could retrieve fabricated test user reservation data without proper authentication.
- Triaged in 13 days
- Fixed in 24 days
- Disclosed after 11 months
Summary by the program
xmfc discovered that the staging/non production site at https://reservation.stg.starbucks.com.cn/api/customer/reservation/history allowed anyone to retrieve fabricated test user reservation data by providing a OTP of 111111. @xmfc — thank you for reporting this vulnerability and for confirming the resolution.
This report is short, so there is no separate rewrite of it: the Original tab has it in full. Read the original.
How it worked
Root cause
Likely the staging API used a hardcoded or predictable OTP and did not verify that the requester owned the reservation history being requested.
Impact
An attacker could retrieve fabricated test user reservation data from the staging environment; the text does not claim access to real production data.
What the attacker needed
Access to the staging site; know or guess the fixed OTP
The fix
The report was confirmed resolved; the text does not describe the fix.
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.
This report is short, so there is no separate rewrite of it: the Original tab has it in full. Read the original.
This is a staging (test) version of a website, not the live one. The API that shows a user's reservation history accepted a simple, fixed code (111111) instead of checking who was asking, so anyone could see other users' test reservations. This is called an IDOR: a system uses a value you supply to decide which record to show, without checking you are 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.