Skip to content
UI spoofing Disclosed report Beginner

Click Jacking

The website can be embedded in an iframe on another domain, allowing an attacker to trick users into clicking on elements they do not intend to click. This could lead to actions being performed on the victim's behalf.

muhaddix Follow

Originally disclosed on HackerOne

  • Disclosed after 44 hours

Hey legalRobot! I have found Click Jacking type of Vulnerability in your Website

Now The Question is What is Click Jacking. Click Jacking (User Interface redress attack, UI redress attack, UI redressing) is a malicious technique of tricking a Web user into clicking on something different from what the user perceives they are clicking on, thus potentially revealing confidential information or taking control of their computer while clicking on seemingly innocuous web pages.

How to Produce Click Jacking in your Website, Steps to Produce this Issue:-

  1. Create new .Html file. (I also send this file to you)
  2. Copy & Paste this code in Html & save it

`<html>

<head> <title>Clickjack test page</title> </head> <body> <p>Website is vulnerable to clickjacking!</p> <iframe src="https://www.legalrobot.com/" width="500" height="500"></iframe> </body> </html>` 3) Open that html file and you are seeing your website content opening in other frame.

Fix: Use a proper X-Frame to your website, So other domains can not use your website content, Mostly Spammers & Attackers can use this technique. (See My Example File too)

Get More Help From Owasp guides: https://www.owasp.org/index.php?title=Testing_for_Clickjacking_(OTG-CLIENT-009)&setlang=en https://www.owasp.org/index.php/Clickjacking https://www.owasp.org/index.php/Clickjacking_Defense_Cheat_Sheet

Glad to be, If you fix this Click Jacking flaw in your website, Thanks! Regards: Muhammad Muhaddis (Cyber Security Researcher)

The original report as published on HackerOne, by muhaddix. 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 site does not send an X-Frame-Options or Content-Security-Policy frame-ancestors header, so browsers allow it to be embedded in a frame.

Impact

An attacker could trick a user into clicking on something different from what the user perceives, potentially revealing confidential information or taking control of their computer.

What the attacker needed

Victim visits attacker-controlled page

How it was found

  1. Create a new HTML file.
  2. Copy and paste the provided iframe code into the HTML file and save it.
  3. Open the HTML file in a browser and observe the website content loading inside the frame.

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 the real site inside a frame and tricks the user into clicking something different from what they perceive. This report shows the site can be framed.

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 muhaddix

View all

2 more disclosed reports, best first.

More from Legal Robot

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.