53 lines
1.6 KiB
YAML
53 lines
1.6 KiB
YAML
id: django-variables-exposed
|
|
|
|
info:
|
|
name: Django Config - Detect
|
|
author: nobody
|
|
severity: info
|
|
description: Django configuration information was detected, which could reveal web application framework exceptions that could indicate exploitation attempts.
|
|
reference:
|
|
- https://docs.djangoproject.com/en/1.11/ref/exceptions/
|
|
- https://docs.djangoproject.com/en/1.11/topics/logging/#django-security
|
|
- https://github.com/projectdiscovery/nuclei-templates/blob/master/file/logs/django-framework-
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
|
|
cvss-score: 0
|
|
cwe-id: CWE-200
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
tags: exposure,config,django
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- 'seeing this error because you have <code>DEBUG = True</code>'
|
|
- 'SuspiciousOperation'
|
|
- 'DisallowedHost'
|
|
- 'DisallowedModelAdminLookup'
|
|
- 'DisallowedModelAdminToField'
|
|
- 'DisallowedRedirect'
|
|
- 'InvalidSessionKey'
|
|
- 'RequestDataTooBig'
|
|
- 'SuspiciousFileOperation'
|
|
- 'SuspiciousMultipartForm'
|
|
- 'SuspiciousSession'
|
|
- 'TooManyFieldsSent'
|
|
- 'PermissionDenied'
|
|
condition: or
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
|
|
- type: status
|
|
status:
|
|
- 400
|
|
# digest: 4a0a0047304502206f3cceff2a49b7e830b5640ef43b674856508c9ef6a1e5a48080f2b377b018c7022100de2304b178a37586efd5bd0556183efdb7088d00c970c09766406c6394fe795e:922c64590222798bb761d5b6d8e72950 |