CRITICAL Insecure Direct Object Reference (I.D.O.R) - Link Other User's Credit Card
An insecure direct object reference in the rewards signup endpoint let an attacker link a credit card that was not theirs to their own account. The attacker could not use the card or see its full number, but may have been able to view its transaction history and cash back amounts.
- Triaged in 29 hours
- Fixed in 19 days
- Paid in 19 days
- Disclosed after 2.2 years
Summary by the program
@hk755a discovered an Insecure Direct Object Reference Vulnerability that allowed an attacker to associate a randomly added (but subsequently deregistered) credit card with their own account, via the /rewards/signup endpoint. While the attacker would not have been able to use this credit card as their own (nor view any primary account numbers (PAN) for said cards), the attacker may have been able to glean the transaction history associated with the card, as well as cash back amounts received.
Yelp was able to quickly validate and fix the vulnerability within two days. Thanks to @hk755a for working with us to fix this bug!
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 rewards signup endpoint accepted a card identifier without verifying that the card belonged to the requesting user.
Impact
The attacker could not use the card or view its full number, but may have been able to see the card's transaction history and cash back amounts.
What the attacker needed
A deregistered credit card; a Yelp account
The fix
The vulnerability was fixed within two days.
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.
An insecure direct object reference happens when a website lets you change an identifier in a request (like a card number) and does not check that the item belongs to you. Here, someone could attach another person's card to their own rewards account. They still could not spend with it or see the full card number, but they might have seen that card's past transactions.
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.