Skip to content
UI spoofing Disclosed report Beginner

CRITICAL-CLICKJACKING at Yelp Reservations Resulting in exposure of victim Private Data (Email info) + Victim Credit Card MissUse.

The Yelp Reservations page lacked an X-Frame-Options header, so an attacker could embed it in a hidden iframe on a malicious site. By exploiting browser autofill, a victim could be tricked into making a reservation without knowing, which would share their email or phone with the business and could cause monetary loss.

hk755a Follow

Originally disclosed on HackerOne

Medium 6.3 View original
  • Triaged in 8 days
  • Fixed in 14 days
  • Paid in 14 days
  • Disclosed after 2.3 years

Summary by the program

@hk755a reported that the /reservations page was vulnerable to clickjacking. By exploiting the nature of autofill fields, an attacker can cause a victim to make a reservation without their knowledge, thereby forwarding the victim's email address to the business.

Since then, Yelp has deployed a site-wide CSP policy to prevent such clickjacking attacks from occurring.

The report

Please have a look at this interesting article with precise explanation about Click-jacking security flaw: https://www.linkedin.com/pulse/20141202104842-120953718-why-am-i-anxious-about-clickjacking/

In Yelp platform the response headers of the Reservation page does not contain the X-Frame-Options header, thus allowing malicious actors to embed these pages as hidden i-frames on some external or their own innocuous looking website. Upon successful exploitation the victim would have made unintentional reservation to some restaurant/bar and his Email Id/Mobile Number would have been shared with the business. All this would happen without victim's knowledge or consent.

Here's how a sample Reservation page looks like: ███

REQUEST RESPONSE HEADERS OF A RESERVATION PAGE: ██████

Please note the missing X-Frame-Options header in the response headers.

#POC: For POC and steps to reproduce please watch the video

#EXPLOIT SCENARIOS: Please look at the different scenarios this could be exploited :

#==>(1) The attacker may himself register a business at yelp, copy and embed his own reservation url as hidden i-frame. Make reservation in the background upon victim's click. He gains email/mobile of the victim account. #==>(2) He may reserve a table of some business that charges upon cancellation and the victim may face monetary loss. #==>(3) He may target a business and try to restrict all the genuine bookings. It would be possible to do so by booking all table slots of different timings from all the different visitors that are coming to his malicious but genuine looking website.

The impact of this vulnerability depends on the number of visitors attacker might be able to bring to his website. This is not a very big deal in the presence of huge social media websites nowadays. Or he may paste link to his website somewhere on yelp (review/about/talk etc sections) platform itself so as to bring authenticated yelp users to his website.

Impact

While the overall risk may only be a medium rating; the impact is high as the vulnerability affects both the yelp users and also business owners

#The vulnerability impacts the victim in the following ways: ==>1.) Loss of Confidentiality: Private info such as Email/phone is disclosed ==> 2.) Unauthorized Reservations from User Account: This certainly is not wanted by any user. ==> 3.) Monetary loss upon Cancellation of reservation: Some businesses say they would charge upon cancellation of reservation. ==> 4.) Apart from this client's trust on Yelp platform is also lost.

#The vulnerability impacts the business owners in the following ways: ==>1.) Fake reservations may restrict genuine reservations: Such Fake reservations may restrict genuine users from booking tables. And on the other end the business owners have no way to distinguish between fake and genuine ones. This leads to customer/monetary loss to business owners itself.

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 reservation page did not send an X-Frame-Options header, so it could be embedded in an iframe on another site.

Impact

A victim could make an unintended reservation, exposing their email or phone to the business and possibly facing cancellation charges; the reporter rated overall risk as medium but impact as high.

What the attacker needed

Victim visits attacker's page; victim has autofill data saved; victim clicks on the page

The fix

Yelp deployed a site-wide Content Security Policy to prevent such clickjacking attacks.

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 in an invisible frame on top of a decoy page, so your clicks land on the hidden page instead. Here the reservation page could be framed, and because browsers autofill saved details, a click could submit a booking you never intended. The missing X-Frame-Options header is what allowed the page to be framed at all.

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.