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.
Originally disclosed on HackerOne
- 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.
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.