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.
To fix the issue apply the following headers :
- Content-Security-Policy with frame-ancestors.