develop archivos de la lista de correo

[email protected]


Vulnerability Report (2) Clickjacking Lead to Account Takeover

por Bug Hunter <[email protected]> - 30/04/2022 18:11:39
Hi Team

I have detected that your website is vulnerable to this vulnerability

Vulnerability Type: Clickjacking Lead to Account Takeover

Severity: Critical


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 :

Here are the steps to reproduce the vulnerability notepad and paste the following code

<html lang="en-US">
<meta charset="UTF-8">
<title>i Frame</title>
<h3>This is clickjacking vulnerable</h3>
<iframe src="" frameborder="200 px" height="5000px" width="500px"></iframe>
</html> it as <anyname>.html eg s.html
3.and just simply open that..

4. Understanding the Remedial Action for Clickjacking

Clickjacking can be prevented using a host of client side browser plugins such as
• NoScript –
• Web Protection Suite –
These plugins are recommended for daily browsing and can also protect users against additional client side attacks, such as XSS (Cross Site Scripting).
The above plugins are client side prevention techniques that should be taught to all application users; however, steps must also be taken from the developer’s end.

The following techniques can be used to aid in the prevention of clickjacking:

4.1. X-Frame-Options

The simplest of all the techniques that only requires a simple configuration setting; for example, this can be done within Apache using the following line:

<pre lang="JavaScript" line="1">Header always append X-Frame-Options DENY</pre>

4.2. FrameBusting JavaScript

This method utilizes JavaScript to “bust” iframes. This is done by checking if the current web page is the top web page (not within a frame) and if the web page is currently not the top page, then it becomes the top page.

The following example segment of code can be used to demonstrate this:

<pre lang="JavaScript" line="1">if (top.location.hostname != self.location.hostname){
top.location.href = self.location.href;

It should be noted that recent techniques have found to be able to bypass this clickjacking prevention technique as seen in the whitepaper by web application security researcher Collin Jackson –

4.3.Unique URL request

Similar to a CSRF nonce, this can be employed so attackers cannot deliver the attack URL easily.


Similar to the way it prevents attackers from spamming a web form, this can be used as an additional layer of verification on each transaction.

4.5. Element Randomization

Generally it is possible to clickjack due to buttons and links being in a static area of the web page, allowing attackers to place invisible frames over them. A technique to prevent this from occurring is to randomize the links or buttons on load, thus preventing attackers from hard coding static iframes.

Proof of Concept :


Please let me know if you need more information. Looking after your response.