Header Security
Information Leak via HTTP Headers Check
Discover which HTTP headers (X-Powered-By, X-AspNet-Version, etc.) can expose technical information and how to disable them to enhance site security.
What this test checks
This test detects the presence of sensitive HTTP headers that disclose technology information (framework, server version, language). This information can be used by attackers to target specific vulnerabilities of those technologies.
Our recommendation
Remove or disable the following headers: X-Powered-By (PHP, ASP.NET), X-AspNet-Version, X-Generator (CMS), X-Drupal-Dynamic-Cache, X-Varnish. In Apache, use 'Header unset'; in Nginx, 'proxy_hide_header' or 'more_clear_headers'. Also check that your framework does not generate these headers automatically.
Security tests