Invicti detected that the ASP.NET application trace is enabled.
ASP.NET tracing is a powerful mechanism that helps developers debug and resolve problems in their applications, but by using the tracing, attackers can also gain information about requests and responses to the application. An attacker can obtain critical information such as:
- Session cookies
- Session state
- Query string and POST variables
- Physical path of the requested file
- Execution time
This means that the attacker can hijack almost every active user's session by using their session details.
To disable the tracing, you need to edit the Web.config file. Open the file and change the “trace enabled” to “false” or change “localOnly” parameter to “true” (to enable tracing only on the server itself).
<trace enabled="true" localOnly="true"/>