Django Debug Configuration Enabled
ID: django-debug
Severity: medium
Author: dhiyaneshDK,hackergautam
Tags: django,debug,misconfig
Description
Section titled “Description”Django debug configuration is enabled, which allows an attacker to obtain system configuration information such as paths or settings.
YAML Source
Section titled “YAML Source”id: django-debug
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
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: 490a0046304402201ad1f8c4c935ca3b36144431479e9cec7a1f8034256ca227ba077c8f1c206bf302202e6249657ecbd2be3a8dfccb03216e8f655ecbae168567ccd966dd4124eb2f08:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/misconfiguration/django-debug-detect.yaml"