Skip to content
IDOR Disclosed report Beginner

India - An Insecure Direct Object Reference (IDOR) allowed unauthorized access to view card index number and monetary balance

An insecure direct object reference in a card data endpoint let an authenticated user change a card identifier to view other cards' index numbers and monetary balances. The reporter could iterate identifiers and read balances belonging to other cards.

mr_intrusionist Follow

Originally disclosed on HackerOne

Medium 5.0 View original
  • Triaged in 7 days
  • Fixed in 55 days
  • Paid in 7 days
  • Disclosed after 3 months

Summary by the program

mr_intrusionist discovered an Insecure Direct Object Reference (IDOR) which affects the https://card.starbucks.in/StarbucksMSRModule/starbucksGetCardData.do endpoint through the cardId parameter. This allowed an authenticated, but unauthorized user to iterate cards and view the balance.

@mr_intrusionist — thank you for reporting this vulnerability and confirming the resolution.

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

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the endpoint trusted the card identifier supplied by the client and did not verify that the authenticated user owned that card before returning its data.

What the attacker needed

An authenticated account; ability to change the cardId parameter

The fix

The report says the issue was resolved but does not describe how it was fixed.

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 report has not been written yet. The Original tab links to the source.

A web page asked the server for card details using a number that the user could change. The server did not check that the card belonged to the person asking, so changing the number showed other people's card balances. This kind of mistake is called an insecure direct object reference, or IDOR.

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.