Lack of Security Headers

Lack of Security Headers

Knowledge Base>Lack of Security Headers

Summary

Lack of Security Headers describes important HTTP security headers that are missing from the application's responses.

Testing methodology

Cache-ControlContent-Security-PolicyCross-Origin-Resource-PolicyReferrer-PolicyStrict-Transport-SecurityX-Content-Type-OptionsX-Frame-OptionsServer Type or Version ReturnedFramework Type or Version ReturnedClickJackingCORS AbuseXSSIdentify Vulnerable Component
Server Response
Missing Security Headers
Excessive Headers Returned
Chain with Other Attacks

Description

Lack of Security Headers describes the situation in which the web application does not have recommended security headers in place that can help protect against various attacks such as XSS, XSLeaks, Clickjacking, and more.

Remediations

  • It's recommended to return the following security headers in the server's responses:
  • Add the Cache-Control header in response headers returning from the server
  • Add the X-Frame-Options header in response headers returning from the server
  • Add the Content-Security-Policy header in response headers returning from the server
  • Add the Strict-Transport-Security header in response headers returning from the server
  • Add the Permissions-Policy header in response headers returning from the server
  • Add the X-Content-Type-Options header in response headers returning from the server
  • Add the Referrer-Policy header in response headers returning from the server
  • Add the Cross-Origin-Resource-Policy header in response headers returning from the server
  • Add the Cross-Origin-Embedder-Policy header in response headers returning from the server
  • Add the Cross-Origin-Opener-Policy header in response headers returning from the server
  • For more information you may follow the OWASP Secure Headers Project.

By using this site you agree to our Terms of Service and Privacy Policy.