Security-Phoenix-demo / Damn_Vulnerable_C_Program

a c program containing vulnerable code for common types of vulnerabilities, can be used to show fuzzing concepts.
0 stars 1 forks source link

ASPHX-SAST-MEDIUM-X-Frame-Options Header Not Set #4

Open appsecphoenix-integration opened 2 years ago

appsecphoenix-integration commented 2 years ago

Details

X-Frame-Options header is not included in the HTTP response to protect against 'ClickJacking' attacks.

Remedy

Most modern Web browsers support the X-Frame-Options HTTP header. Ensure it's set on all web pages returned by your site (if you expect the page to be framed only by pages on your server (e.g. it's part of a FRAMESET) then you'll want to use SAMEORIGIN, otherwise if you never expect the page to be framed, you should use DENY. Alternatively consider implementing Content Security Policy's "frame-ancestors" directive.

Link to vulnerability

Created by AppSec Phoenix