Skip to content
UI spoofing Disclosed report Beginner

Clickjacking misconfiguration bug

The website did not send an X-Frame-Options header, so pages could be embedded in an iframe on another site. An attacker could trick a user into clicking or typing in the framed page while believing they were interacting with a different site.

ridoykhan0x1 Follow

Originally disclosed on HackerOne

  • Disclosed after 53 days

Hi team,

While performing security testing  of your website i have found the vulnerability called Clickjacking.

Many URLS are in scope and vulnerable to Clickjacking.

What is Clickjacking ?

Clickjacking (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.

The server didn't return an X-Frame-Options header which means that this website could be at risk of a clickjacking attack. The X-Frame-Options HTTP response header can be used to indicate whether or not a browser should be allowed to render a page in a <frame> or <iframe>. Sites can use this to avoid clickjacking attacks, by ensuring that their content is not embedded into other sites.

This vulnerability affects Web Server.

Steps to Reproduce / POC

Vulnerable Urls:https://docs.sifchain.finance

Put every above url one by one in the code of iframe, which  is given below

<!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title>I Frame</title> </head> <body> <h3>clickjacking vulnerability</h3> <iframe src="https://docs.sifchain.finance"height="550px" width="700px"></iframe> </body> </html>

By nil chowdhury

[email protected]

Notice that site is visible in the Iframe

POC is in the attachments. Thanks, waiting for your response.

Reference links: Below are the links which will help you to understand more about this issue including the remediation https://hackerone.com/reports/8724 https://hackerone.com/reports/289246 https://hackerone.com/reports/1027192 https://hackerone.com/reports/405342 https://hackerone.com/reports/591432

Impact

Using a similar technique, keystrokes can also be hijacked. With a carefully crafted combination of stylesheets, iframes, and text boxes, a user can be led to believe they are typing in the password to their email or bank account, but are instead typing into an invisible frame controlled by the attackers

Attachments

Screenshot_2021-04-27-08-28-09-231_com.android.chrome.jpg
Screenshot_2021-04-27-08-28-09-231_com.android.chrome.jpg From the original on HackerOne

The original report as published on HackerOne, by ridoykhan0x1. 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 server did not send the X-Frame-Options HTTP response header, allowing the page to be rendered inside a frame on another site.

Impact

An attacker could use a crafted page with stylesheets and iframes to make a user believe they are typing into a trusted site while actually typing into an attacker-controlled frame, potentially revealing credentials.

What the attacker needed

Victim visits attacker-controlled page; victim interacts with the framed page

How it was found

  1. Take the vulnerable URL and place it as the source of an iframe in a simple HTML page.
  2. Open the HTML page in a browser and observe that the site is displayed 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 malicious site loads a real site inside a frame and tricks you into clicking or typing there. Because the real site did not tell browsers to refuse being framed, this trick was possible. The fix is to send a header that stops the site from being 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 ridoykhan0x1

View all

1 more disclosed report, best first.

More from Sifchain

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.