Remove framework version headers on Apache
Why it matters
Headers such as X-AspNet-Version, X-AspNetMvc-Version and X-Generator name the exact framework release, which tells attackers which known vulnerabilities to try. Browsers never need them.
The fix
- Remove the headers in both response tables (mod_headers) and reload Apache.
apache
Header unset X-AspNet-Version Header always unset X-AspNet-Version Header unset X-AspNetMvc-Version Header always unset X-AspNetMvc-Version Header unset X-Generator Header always unset X-Generator
Related
Scan your domain to see whether this applies to you.