Skip to content
IDOR Disclosed report Intermediate

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.

hk755a Follow

Originally disclosed on HackerOne

High 7.2 View original
  • 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!

The original report as published on HackerOne, by hk755a. 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 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.

More by hk755a

View all

11 more disclosed reports, best first.

More from Yelp

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.