Cyber Risks · PortSwigger Research

ASP.NET debugging enabled

Summary: ASP.NET allows remote debugging of web applications when configured to do so, and by default that debugging is subject to access control and requires platform-level authentication. If an attacker can start a remote debugging session, it is likely to disclose sensitive information about the web application and supporting infrastructure that may be valuable for targeted attacks.

What's compelling: A successful remote debugging session hands an attacker details about the application and the infrastructure behind it, which is exactly the material used to plan targeted attacks. The fix is a single setting - the debug attribute in the <compilation> element of Web.config - and it can also be turned on for every application through Machine.config, so checking one file is not enough.

Read the original at PortSwigger Research ↗

Topics
Vulnerabilities & Patching
Related