mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-03 17:23:30 +08:00
29 lines
884 B
YAML
29 lines
884 B
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
|
|
|
|
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: 4b0a00483046022100a6816682161bdcb94b624de3af130ab6852ca6c686c06d454023df9f01ab48a7022100ea2c2b3401e3e1cf9f099aeafa5b5d7e0ba951ff51bbfa1dd5543d312be48a72:922c64590222798bb761d5b6d8e72950 |