Skip to content
UI spoofing Disclosed report Beginner

Clickjacking - https://mercantile.wordpress.org/

The website did not send an X-Frame-Options header, so its pages could be embedded in an iframe on another site. An attacker could use this to trick a user into clicking on something different from what they perceive, potentially revealing confidential information or taking control of their computer.

giantfire Follow

Originally disclosed on HackerOne

  • Triaged in 12 days
  • Fixed in 16 days
  • Disclosed after 19 days

Hi team,

While performing security testing of your website i have found the vulnerability called 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

  1. Please Open URL: https://mercantile.wordpress.org/
  2. Put the url 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://mercantile.wordpress.org/" frameborder="5 px" height="550px" width="700px"></iframe> </body> </html>
  1. Notice that site is visible in the Iframe

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

Regards giantfire

Attachments

wordpress.PNG
wordpress.PNG From the original on HackerOne

The original report as published on HackerOne, by giantfire. 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 response header, so browsers were allowed to render the page inside a frame or iframe.

Impact

An attacker could trick a user into clicking on something different from what they perceive, potentially revealing confidential information or taking control of their computer, though the report only demonstrates that framing is possible.

What the attacker needed

User views a page that frames the target; user clicks within the framed content

How it was found

  1. Open the target URL in a browser.
  2. Create an HTML page that embeds the target URL in an iframe.
  3. Load the HTML page and observe that the target site is visible 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 an invisible or disguised frame, so your clicks go to the real site without you realising. Here the site did not tell browsers to refuse being framed, so it could be embedded elsewhere. The report only shows that embedding was possible; it does not show a working attack that steals data.

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 WordPress

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.