2025-07-21 19:07:12 +07:00
|
|
|
id: django-debug-config-enabled
|
2020-09-13 22:55:10 +05:30
|
|
|
|
|
|
|
|
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
|
2025-07-22 11:50:08 +00:00
|
|
|
# digest: 4b0a00483046022100a6816682161bdcb94b624de3af130ab6852ca6c686c06d454023df9f01ab48a7022100ea2c2b3401e3e1cf9f099aeafa5b5d7e0ba951ff51bbfa1dd5543d312be48a72:922c64590222798bb761d5b6d8e72950
|