Skip to content
UI spoofing Disclosed report Beginner

URL is vulnerable to clickjacking

Many pages on the site did not send the X-Frame-Options header, so they could be loaded inside a frame on another site. An attacker could overlay a page such as account settings or the invite page and trick a logged-in user into clicking controls they cannot see.

hacker_one_one Follow

Originally disclosed on HackerOne

  • Disclosed after 24 hours

##The browser has verified the identity: Successfully implemented in IE browser

##Reproduce steps: URLs do not have X-FRAME-OPTIONS set to DENY or SAMEORIGIN, and they are vulnerable to clickjacking. Run under the browser's code and you will see that the listed links are vulnerable to clickjacking attacks

<html>
	<frameset cols="25%,25%,25%">
		<frame src="https://www.zomato.com/robots.txt" />
		<frame src="https://www.zomato.com/users/fan-feng-52680914" />
		<frame src="https://www.zomato.com/cairns-qld" />
	</frameset>
</html>
zomatocom.png
zomatocom.png From the original on HackerOne

Impact

Most of the zomato.com urls were tested and found that most basic urls support iframe display in IE.

E.g:

The hacker selected the UI Redressing (Clickjacking) weakness. This vulnerability type requires contextual information from the hacker. They provided the following answers:

URL *.zomato.com

Can a victim be tricked into unknowingly initiating a specific action? Yes

What specific action can the user be tricked into? E.g: Hackers can lure users into the personal settings page, change data that is useful to hackers, delete accounts...

The original report as published on HackerOne, by hacker_one_one. 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 application did not send an X-Frame-Options header (or an equivalent frame-ancestors policy) on its pages, so browsers allowed them to be framed by other origins.

Impact

An attacker could frame sensitive pages such as account settings, the invite page or wallet management and trick a logged-in user into performing actions; the report only demonstrates framing in Internet Explorer and does not show a working clickjacking exploit.

What the attacker needed

Victim is logged in; victim uses a browser that frames the pages; victim is lured to an attacker page

How it was found

  1. Open a page that loads the target URLs inside frames in the browser.
  2. Observe that the framed pages render, showing they can be embedded by another site.

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 means hiding a real website inside an invisible frame on a page the attacker controls, so your clicks land on the real site's buttons. Here the site did not tell browsers to refuse being framed, so pages like account settings could be shown under decoy content. A logged-in user could then be nudged into changing settings or deleting things without realising.

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 from Eternal

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.