Rule from http under security category
Passmarked is made out of users just like you who helped supply some content. Click below to contribute to this rule. We need you.Add content to this rule
When using ASP.net MVC the framework injects the current version that is running as a header in your response. This gives clients quite a overview of what version of MVC the server might be running, which allows malicious users to quite easily search for security vulnerabilities affecting the serving version of ASP.NET MVC.
It is recommended to disable this header to prevent any leaking of potential information that could aid a attacker.
In your your
Global.asax file on the root of your app, under the
Application Start event add the following:
MvcHandler.DisableMvcResponseHeader = true;
Passmarked works best when you have an account. It allows you to keep a dashboard with saved data of the sites you have run through the system, we’ll alert you about important updates and you get access to the Passmarked Slack forum.Sign up to get started