2020-09-13 22:55:10 +05:30
|
|
|
id: django-debug
|
|
|
|
|
|
|
|
|
|
info:
|
2024-01-30 11:47:24 +01:00
|
|
|
name: Django Debug Configuration Enabled
|
2021-06-09 17:50:56 +05:30
|
|
|
author: dhiyaneshDK,hackergautam
|
2020-09-14 15:33:10 +05:30
|
|
|
severity: medium
|
2024-01-30 11:47:24 +01:00
|
|
|
description: Django debug configuration is enabled, which allows an attacker to obtain system configuration information such as paths or settings.
|
2023-04-28 13:41:21 +05:30
|
|
|
metadata:
|
|
|
|
|
max-request: 1
|
2023-10-14 16:57:55 +05:30
|
|
|
tags: django,debug,misconfig
|
2020-09-13 22:55:10 +05:30
|
|
|
|
2023-04-27 09:58:59 +05:30
|
|
|
http:
|
2020-09-13 22:55:10 +05:30
|
|
|
- method: GET
|
|
|
|
|
path:
|
2021-04-17 19:05:45 +05:30
|
|
|
- "{{BaseURL}}/NON_EXISTING_PATH/"
|
2020-09-13 22:55:10 +05:30
|
|
|
|
2020-09-14 15:33:10 +05:30
|
|
|
matchers-condition: and
|
2020-09-13 22:55:10 +05:30
|
|
|
matchers:
|
|
|
|
|
- type: word
|
|
|
|
|
words:
|
|
|
|
|
- URLconf defined
|
2020-09-14 15:33:10 +05:30
|
|
|
- Page not found
|
2021-04-17 19:05:45 +05:30
|
|
|
- Django tried these URL patterns, in this order
|
2020-09-13 22:55:10 +05:30
|
|
|
condition: and
|
2020-09-14 15:33:10 +05:30
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
|
status:
|
2023-10-14 16:57:55 +05:30
|
|
|
- 404
|
2024-01-30 10:49:24 +00:00
|
|
|
# digest: 4a0a0047304502204a5ac1486faa3be8702801b635c79e5a565724d1843641c69a5a09d012b23233022100a2ce507b92c7ffc804f071bc47c76185c97613307e1e15be73a224a45da5fa6a:922c64590222798bb761d5b6d8e72950
|