ClickJacking – X-Frame-Options header missing

Description

During the scan, Cytrix 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