Skip to content
UI spoofing Disclosed report Beginner

Unauthorized Use of Victim Credit Card

The Yelp checkout page could be embedded in a hidden iframe, allowing an attacker to trick a logged-in user into clicking a disguised purchase button and unknowingly pay for a deal with their saved credit card. The report demonstrates a $450 deal being purchased without the victim's consent.

hk755a Follow

Originally disclosed on HackerOne

  • Triaged in 2 days
  • Fixed in 8 days
  • Paid in 8 days
  • Disclosed after 2.0 years

Summary by the program

@hk755a reported a clickjacking attack that allowed an attacker to overlay the checkout page (/checkout/deal), thereby potentially causing monetary loss for the victim.

Yelp was able to deploy an X-Frame-Options header in a short amount of time, and since then, Yelp has deployed a site-wide CSP policy to prevent such clickjacking attacks from occurring.

The report

#SUMMARY Yelp user's credit cards are at risk of being compromised There's a way by which a malicious attacker can make unauthorized purchases from the victim's credit card. Just by getting the victim to some external website and clicking on it, the victim would have eventually paid for some unwanted deal unknowingly from his saved credit card on yelp. (Please see the POC which shows a $450 deal)

#DESCRIPTION: The endpoint yelp.com/checkout/deal/****?biz_id={}&fsid={} is Framable, which means a sample deal page like this: https://www.yelp.com/checkout/deal/16OJ1G_Ev7STx0HELIDzyA?biz_id=Ydf5dgFsGhMSP61Ht7TekA&return_url=%2Fbiz%2Fbutcher-and-the-burger-chicago Could be embedded as an hidden iframe on some HTML page. Watch the video attached to see how the exploit really looks like.

#EXPLOIT SCENARIOS: The attacker could simply host the exploit page (attached to this report) on some webpage and use social networking sites to share it across the world. One simple way could be spreading it through Yelp's Talk section itself, so as to get valid yelp users easily.

I mainly envision the vulnerability to be exploited in the following ways: ==1.) Attacker creates a deal himself and uses this vulnerability to steal money from the victim.== ==2.) Attacker just goes on causing monetary loss for the victim, with no personal monetary gain.==

#POC You may want to watch the 1 min video attached with the report

Step 1.) Log into your yelp account on your fresh or incognito browser window.

Step 2.) Open the attached "Yelp Credit Card Misuse by framable deals page" Webpage in another window.

Step 3.) Click on the slightly visible Purchase button.

The vulnerability's exploitation impact is high as it causes unauthorized credit card use of the victim! Do let me know if there are any questions.

Impact

Yelp users credit card protection is certainly compromised. Worthy customer's bear monetary losses.
Apart from money the faith of users on yelp for their card's security is also lost leading to customer/business loss to yelp. Such attacks running in the wild, are heavy threat to an organization's reputation.

Attachments

Credit_card_Compromise.mp4 From the original on HackerOne

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

The checkout page did not send an X-Frame-Options header or equivalent frame-busting protection, so it could be embedded in an iframe on any site.

Impact

An attacker could cause a logged-in victim to unknowingly purchase a deal using their saved credit card, leading to monetary loss; the report notes that Yelp quickly deployed an X-Frame-Options header and later a site-wide CSP, which would block this attack.

What the attacker needed

Victim is logged in to Yelp; victim visits attacker's page; victim clicks a disguised button; victim has a saved credit card

How it was found

  1. Log into a Yelp account in a fresh or incognito browser window.
  2. Open the attacker's webpage in another window.
  3. Click the slightly visible Purchase button.

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.

Clickjacking is when a malicious site loads a real page (like a checkout) in an invisible frame on top of its own content. The attacker positions a fake button so that when you click what looks like a harmless link, you are actually clicking the hidden purchase button on the real site. Because you are already logged in, the purchase goes through using your saved payment details.

What is UI spoofing?

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.

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.

Clickjacking and UI spoofing

The lesson behind this report.

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.