Server Configuration
Server Configuration Information Check
Learn to identify HTTP headers (Server, X-Powered-By) that disclose your server configuration, and how to mask them to reduce targeted attack risks.
What this test checks
This test checks whether sensitive server configuration information is exposed via HTTP headers (Server, X-Powered-By, X-Generator). These headers reveal versions of your web server, PHP, or CMS, allowing attackers to identify known vulnerabilities and exploit them.
Our recommendation
Configure your server to hide version and technology information. Apache: remove or modify the Server header with 'ServerTokens Prod' and 'ServerSignature Off'. Nginx: use 'server_tokens off'. Disable the X-Powered-By header in PHP (expose_php = Off) or via your framework.
Security tests