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
|
2021-08-17 12:07:57 +00:00
|
|
|
tags: django,exposure
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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
|