Quick fix
Remove unnecessary version and framework headers at the application and public edge.
What this finding means
SecuTest reports common disclosure headers such as `Server`, `X-Powered-By`, `X-AspNet-Version`, and `X-Generator`. Hiding them does not patch vulnerabilities and should be treated as low-severity hardening.
Associated attack or threat scenario
How the attack or failure scenario works
Reconnaissance is the collection of information about a target before exploitation. Product names and versions can help an attacker select relevant vulnerabilities, payloads, and bypass techniques. The absence of banners does not prevent fingerprinting through behavior.
Conditions and limitations
- The public response exposes a product, framework, or version.
- The attacker can query the endpoint.
- Meaningful exploitation still requires a real vulnerability or weak configuration in the identified stack.
Why it matters
Step-by-step fix
Where to make the change
- The outermost component emitting the public HTTP response: CDN, reverse proxy, ingress, web server, or application middleware.
- Apply the control consistently to normal pages, redirects, error responses, and relevant subdomains.
Remediation procedure
- Remove unnecessary version and framework headers at the application and public edge.
- Configure generic server tokens where complete removal is not supported.
- Patch and harden the underlying software; do not rely on banner suppression.
- Check error pages, redirects, static assets, APIs, and upstream responses for reintroduced headers.
Commands and configuration examples
Replace example values with the hostname, selector, IP address, port, provider, or policy values shown in your SecuTest evidence. Review every example before production use.
server_tokens off;
ServerTokens Prod
ServerSignature Off
Header always unset X-Powered-By
expose_php = Off
Verify the fix
- Run `curl -sS -D- -o /dev/null https://example.com/`.
- Inspect normal, 404, 500, redirect, and API responses.
- Confirm the CDN does not add its own unnecessary version details.
- Run authenticated and unauthenticated checks where authorized.
After DNS, CDN, certificate, mail, or application propagation completes, run a fresh SecuTest scan and compare the new evidence with the original finding.
Common mistakes
- Suppressing the banner while leaving an unpatched vulnerable version in production.
- Removing headers only from successful responses.
- Assuming no `Server` header means the technology cannot be fingerprinted.