mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-08 19:53:15 +08:00
33 lines
839 B
YAML
33 lines
839 B
YAML
id: django-debug-exposure
|
|
|
|
info:
|
|
name: Django Debug Exposure
|
|
author: geeknik
|
|
severity: high
|
|
description: Django debug mode enabled exposes internal information.
|
|
reference:
|
|
- https://twitter.com/Alra3ees/status/1397660633928286208
|
|
metadata:
|
|
max-request: 1
|
|
tags: django,exposure
|
|
|
|
http:
|
|
- 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
|
|
# digest: 490a004630440220311fe3758a792ccd262c36a5da21a056441f73bd4811af16e991e5231399843b02203d2d1de06ca30c1738a01514e867e407bb07c21e4d4e19f32a5b3205040c8aa8:922c64590222798bb761d5b6d8e72950 |