29 lines
867 B
YAML
29 lines
867 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: 4a0a0047304502204a5ac1486faa3be8702801b635c79e5a565724d1843641c69a5a09d012b23233022100a2ce507b92c7ffc804f071bc47c76185c97613307e1e15be73a224a45da5fa6a:922c64590222798bb761d5b6d8e72950 |