Clickjacking login page of http://book.zomato.com/
The login page on book.zomato.com can be embedded in an iframe on another site, as the report demonstrates by loading it inside an iframe.
Originally disclosed on HackerOne
- Disclosed after 11 months
The login page on book.zomato.com (http://book.zomato.com/account/login.aspx) is vulnerable to a clickjacking attack.
Reproduction steps:
- Paste the following HTML into a text editor and save the file as .html
<html>
<body>
<iframe src="http://book.zomato.com/account/login.aspx" width="500" height="500">
</body>
</html>
- Open the file in a web browser
- Note that the iframe appears with the login page inside
Remediation:
Using the X-Frame-Options header.
OWASP: https://www.owasp.org/index.php/Clickjacking_Defense_Cheat_Sheet
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 login page does not send headers that prevent it from being embedded in a frame.
Impact
An attacker could frame the login page and trick a user into entering credentials, though the report does not demonstrate a full attack beyond framing.
What the attacker needed
Victim visits attacker-controlled page
How it was found
- Create an HTML file containing an iframe that points to the login page.
- Open the file in a browser.
- Observe that the login page appears inside the iframe.
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 site loads another page in a frame. Here, the login page could be framed, which the report demonstrates with an iframe.
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.