Skip to content
UI spoofing Disclosed report Beginner

Clickjacking docs.weblate.org

The server did not return an X-Frame-Options header, so the site could be embedded in an iframe on another page. 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.

akbarparambil Follow

Originally disclosed on HackerOne

  • Fixed in 1 hour
  • Disclosed after 42 days

Hi, 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.

POC

Here are th steps to reproduce the vulnerability

1.save the below file as anything.html and run it u can see its vulnerable to clickjacking

<html> <head> <title>Clickjack test page</title> </head> <body> <p>Website is vulnerable to clickjacking!</p> <iframe src="http://docs.weblate.org" width="500" height="500"></iframe> </body> </html>

As far as i know this data is enough to prove that your site is vulberable to Clickjacking.. according to OWASP its more than enough.. https://www.owasp.org/index.php/Testing_for_Clickjacking_(OWASP-CS-004)

Solution

https://www.owasp.org/index.php/Clickjacking_Defense_Cheat_Sheet

Attachments

Screenshot_from_2017-04-24_16-45-10.png
Screenshot_from_2017-04-24_16-45-10.png From the original on HackerOne

The original report as published on HackerOne, by akbarparambil. 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, so browsers allow the page to be framed by other sites.

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. Save the provided HTML file as anything.html and open it in a browser.
  2. Observe that the target site loads inside an iframe, showing it is vulnerable to clickjacking.

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 in a frame and tricks you into clicking buttons there. This report says the site is missing a header that tells browsers not to allow that. Without it, an attacker could make you click things you did not intend to.

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 Weblate

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.