正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。

AspNetMvc header exposes version information

Description

The target website returns AspNet headers along with version information of this website. By exposing these values attackers may attempt to identify if the target software is vulnerable to known vulnerabilities. Or catalog known sites running particular versions to exploit in the future when a vulnerability is identified in the particular version.

Remediation

To remove the X-AspNetMvc-Version information set MvcHandler.DisableMvcResponseHeader = true; in the Global.asax.cs file in the Application_Start() method.

protected void Application_Start()
{
    MvcHandler.DisableMvcResponseHeader = true;
}

Details

IDAggregatedCWETypeRisk
16.6true16PassiveLow