ClickJacking – X-Frame-Options header missing

Description

During the scan, Kayran managed to find that ClickJacking – X-Frame-Options header is missing.
Clickjacking is an attack vector that could lead to users clicking on web page elements that are “not visible” or appear as different elements. This attack can cause users to download malwares, visit malicious web pages, provide credentials or sensitive information, purchase products online, etc.

An attacker can use multiple layers to trick users into clicking on buttons or links on another page when they were actually wanted to click on the top layer page. Routing them to another page, most likely owned by another application, domain, or both.

Severity/Score

CVSS Version 3.x – 3.1 Low

Recommendation

To fix the issue apply the following headers :

  • X-Frame-Options.
  • Content-Security-Policy with frame-ancestors.

References

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options

https://cwe.mitre.org/data/definitions/346

https://cwe.mitre.org/data/definitions/1021.html

< Return to all Vulnerabilities

Browser Exploitation

We know that it’s possible to exploit weaknesses (or vulnerabilities) that exist in anything, from a certain code to the entire application, let’s talk about

Read More »

Servers 101

Let’s have a “quick” Servers 101 Course. Courtesy of Kayran! If you’ve been on the internet for over an hour, you probably already heard of

Read More »

APT vs. ATP

In this article we will talk about APT vs. ATP. In other words, Advanced Persistent Threat and Advanced Threat Protection and the context between these

Read More »

Red Team

You’ve probably heard that there are teams in the Cyber field called Red Team and Blue Team. Let’s talk about the red one, shall we?

Read More »