Description
The HTTP responses returned by this web application include a header named X-AspNetMvc-Version. The value of this header disclose the version of ASP.NET MVC in use. It is not necessary for production sites and should be disabled.
Remediation
To remove the X-AspNetMvc-Version header add the following code in Global.asax, in the Application Start event:
MvcHandler.DisableMvcResponseHeader = true;
References
Related Vulnerabilities
WordPress Plugin Forums 'url' Parameter Arbitrary File Disclosure (1.4.3)
WordPress Plugin YaySMTP-Simple WP SMTP Mail Information Disclosure (2.2)
WordPress Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2021-39200)