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.

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

< Return to all Vulnerabilities

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 »

The Dark Web

Let’s talk about the darker and more mysterious side of the internet, also known as The Dark Web. You’ve probably heard about it, whether it’s

Read More »