aspx-debug-mode: ASP.NET Debugging Enabled
- Template: aspx-debug-mode
- Name: ASP.NET Debugging Enabled
- Severity: medium
- Authors: dhiyaneshDk
- Tags: debug, misconfig, vuln
- References: https://portswigger.net/kb/issues/00100800_asp-net-debugging-enabled
- Max requests: 1
- Directory: http/misconfiguration
- Path: http/misconfiguration/aspx-debug-mode.yaml
- Digest: 4a0a004730450220495c228f5f203960a1c8bb922f923c742ff707c99254e5e319f791d2f48ed3a5022100d394dfbdcd0e5596f39cc17fc2ac1631cb41cae4858c35fea503c51714b18f61
- Created at: 2021-01-02T07:09:17Z
- Updated at: 2026-08-18T02:59:29Z
- Age in days: 2151
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/misconfiguration/aspx-debug-mode.yaml
- Checked, none or zero: cves, verified, products
- Not known: description, impact, remediation
Classification
- Checked, none or zero: cwe
- Not known: cvss score, cvss vector, epss score, epss percentile, cpe
Metadata
- Max-request: 1
Labels
- Name: ASP.NET - Debugging Enabled
- Impact: Attackers can obtain sensitive information or execute arbitrary code, potentially leading to full system compromise.
- Remediation: Disable ASP.NET debugging in production and update to the latest version.
- Vulnerability type: misconfiguration
- Vulnerability impact: information_disclosure, remote_code_execution
- Requirement type: none
- Labels source: securitycontext
- Not known: requirements, from cve
```yaml
id: aspx-debug-mode
info:
name: ASP.NET Debugging Enabled
author: dhiyaneshDk
severity: medium
reference:
- https://portswigger.net/kb/issues/00100800_asp-net-debugging-enabled
metadata:
max-request: 1
tags: debug,misconfig,vuln
http:
- raw:
- |
DEBUG /Foobar-debug.aspx HTTP/1.1
Host: {{Hostname}}
Command: stop-debug
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Content-Length: 2
matchers:
- type: dsl
dsl:
- 'len(body) == 2'
- 'regex("^OK$", body)'
- 'status_code == 200'
condition: and
digest: 4a0a004730450220495c228f5f203960a1c8bb922f923c742ff707c99254e5e319f791d2f48ed3a5022100d394dfbdcd0e5596f39cc17fc2ac1631cb41cae4858c35fea503c51714b18f61:922c64590222798bb761d5b6d8e72950
```