Files
nuclei-templates/http/misconfiguration/django-debug-detect.yaml
2024-12-01 13:57:55 +00:00

29 lines
865 B
YAML

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:922c64590222798bb761d5b6d8e72950