Skip to content
IDOR Disclosed report Beginner

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.

seven6 Follow

Originally disclosed on HackerOne

Medium 6.1 View original
  • 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.

The original report as published on HackerOne, by seven6. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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.

More from Starbucks

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

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.