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

HAR Files

In this article, I’ll talk and explain about HAR Files, so if you don’t know what they are, or, what do we use them for,

Read More »

Explaining API

We’ve talked about API’s Vulnerability in here, but i feel like there’s much more to talk about and explain since this is a big and

Read More »