Skip to content
IDOR Disclosed report Intermediate

I.D.O.R To Order,Book,Buy,reserve On YELP FOR FREE (UNAUTHORIZED USE OF OTHER USER'S CREDIT CARD)

An IDOR in Yelp's checkout endpoint let an attacker use another user's saved credit card to pay for their own food order. This could affect all saved cards on the site, though no card details were disclosed.

hk755a Follow with xniper

Originally disclosed on HackerOne

Critical View original
  • Triaged in under an hour
  • Fixed in 20 hours
  • Paid in 7 days
  • Disclosed after 2.0 years

Summary by the program

@hk755a found an Insecure Direct Object Reference (IDOR) Vulnerability that allowed an attacker to pay with someone else's registered credit card, while ordering food with Grubhub through the /checkout/transaction_platform endpoint. No credit card information was disclosed as a result of this vulnerability.

This is yet another vulnerability in @hk755a's collection of IDOR reports, and we appreciate their diligent effort in working with the Yelp Security team to prevent others from obtaining free food through our system!

Summary by the researcher

There was an Insecure Direct Object Reference Vulnerability that allowed the attacker to pay from someone else's credit card while purchasing orders (or to be precise, Ordering Food) on yelp through the "/checkout/transaction_platform" endpoint, thus making the order's free for himself. The vulnerability had the potential to affect all the credit cards saved on yelp.com (1,500,000+).

Yelp validated and fixed the vulnerability within a few hours, thus showing their concern for user's security! Special thanks to @Calvinli for sharing credit_card_id which allowed the validation of the 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 checkout endpoint trusted a client-supplied credit card identifier without checking that the card belonged to the requesting user.

Impact

An attacker could place food orders paid for with any saved card on Yelp, potentially affecting over 1.5 million cards, but no card information was disclosed.

What the attacker needed

Access to the checkout endpoint; knowledge of another user's credit card identifier

The fix

Yelp validated and fixed the vulnerability within a few hours.

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 IDOR (Insecure Direct Object Reference) happens when a website lets you change an identifier in a request to access someone else's data. Here, the checkout request accepted a card identifier that belonged to another user, so the attacker could charge that card for their own order.

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.