Severity: Low
Invicti identified a version disclosure (ASP.NET) in the target web server's HTTP response.
This information can help an attacker gain a greater understanding of the systems in use and potentially develop further attacks targeted at the specific version of ASP.NET.
web.config
file to prevent information leakage by using custom error pages and removing X-AspNet-Version
from HTTP responses. <System.Web> <httpRuntime enableVersionHeader="false" /> <customErrors mode="On" defaultRedirect="~/error/GeneralError.aspx"> <error statusCode="403" redirect="~/error/Forbidden.aspx" /> <error statusCode="404" redirect="~/error/PageNotFound.aspx" /> <error statusCode="500" redirect="~/error/InternalError.aspx" /> </customErrors> </System.Web>