django-debug-config-enabled: Django Debug Configuration Enabled
- Template: django-debug-config-enabled
- Name: Django Debug Configuration Enabled
- Description: Django debug configuration is enabled, which allows an attacker to obtain system configuration information such as paths or settings.
- Severity: medium
- Authors: dhiyaneshDK, hackergautam
- Tags: django, debug, misconfig, vuln
- Max requests: 1
- Directory: http/misconfiguration
- Path: http/misconfiguration/django-debug-config-enabled.yaml
- Digest: 4a0a00473045022100d3a1338b264fa33cf83c813f1fd827524d2bdf8ed60312f76931e99c278667d602202a38a503c3ded2455526e30ec587617c2a96e5633950832ff32b8444c9f976d8
- Created at: 2020-09-14T10:04:02Z
- Updated at: 2025-10-26T16:17:37Z
- Age in days: 2261
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/misconfiguration/django-debug-config-enabled.yaml
- Checked, none or zero: references, cves, verified, products
- Not known: 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: Django - Debug Configuration Enabled
- Impact: Attackers can obtain sensitive system configuration information such as file paths and settings, aiding further attacks.
- Remediation: Disable debug mode in production settings (set DEBUG = False) and update to the latest Django version.
- Vulnerability type: misconfiguration
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: securitycontext
- Not known: requirements, from cve
```yaml
id: django-debug-config-enabled
info:
name: Django Debug Configuration Enabled
author: dhiyaneshDK,hackergautam
severity: medium
description: Django debug configuration is enabled, which allows an attacker to obtain system configuration information such as paths or settings.
metadata:
max-request: 1
tags: django,debug,misconfig,vuln
http:
- method: GET
path:
- "{{BaseURL}}/NON_EXISTING_PATH/"
matchers-condition: and
matchers:
- type: word
words:
- URLconf defined
- Page not found
- Django tried these URL patterns, in this order
condition: and
- type: status
status:
- 404
digest: 4a0a00473045022100d3a1338b264fa33cf83c813f1fd827524d2bdf8ed60312f76931e99c278667d602202a38a503c3ded2455526e30ec587617c2a96e5633950832ff32b8444c9f976d8:922c64590222798bb761d5b6d8e72950
```