2021-08-17 12:07:57 +00:00
|
|
|
id: django-debug-exposure
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Django Debug Exposure
|
|
|
|
author: geeknik
|
|
|
|
severity: high
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://twitter.com/Alra3ees/status/1397660633928286208
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: django,exposure
|
2021-08-17 12:07:57 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-08-17 12:07:57 +00:00
|
|
|
- method: POST
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/admin/login/?next=/admin/"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 500
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "DB_HOST"
|
|
|
|
- "DB_NAME"
|
|
|
|
- "DJANGO"
|
|
|
|
- "ADMIN_PASSWORD"
|
|
|
|
condition: and
|
2023-10-19 13:13:52 +00:00
|
|
|
# digest: 4a0a004730450221008ff81e15c36296cd75b01124d993e8e61236dfff28fef7feb42b759d1226644c02201a1348afce37dd3a899eea16a4422a346cd8589694c98a7ef5cab4bae6f4fcdc:922c64590222798bb761d5b6d8e72950
|