2017-08-11 22:43:10 +00:00
|
|
|
title: Django framework exceptions
|
2017-08-06 21:22:31 +00:00
|
|
|
description: Detects suspicious Django web application framework exceptions that could indicate exploitation attempts
|
2017-08-05 21:56:13 +00:00
|
|
|
author: Thomas Patzke
|
2018-01-27 23:12:19 +00:00
|
|
|
references:
|
2017-08-04 22:56:05 +00:00
|
|
|
- https://docs.djangoproject.com/en/1.11/ref/exceptions/
|
|
|
|
- https://docs.djangoproject.com/en/1.11/topics/logging/#django-security
|
|
|
|
logsource:
|
2017-08-11 22:43:10 +00:00
|
|
|
category: application
|
2017-08-04 22:56:05 +00:00
|
|
|
product: django
|
|
|
|
detection:
|
|
|
|
keywords:
|
|
|
|
- SuspiciousOperation
|
|
|
|
# Subclasses of SuspiciousOperation
|
|
|
|
- DisallowedHost
|
|
|
|
- DisallowedModelAdminLookup
|
|
|
|
- DisallowedModelAdminToField
|
|
|
|
- DisallowedRedirect
|
|
|
|
- InvalidSessionKey
|
|
|
|
- RequestDataTooBig
|
|
|
|
- SuspiciousFileOperation
|
|
|
|
- SuspiciousMultipartForm
|
|
|
|
- SuspiciousSession
|
|
|
|
- TooManyFieldsSent
|
|
|
|
# Further security-related exceptions
|
|
|
|
- PermissionDenied
|
|
|
|
condition: keywords
|
|
|
|
falsepositives:
|
|
|
|
- Application bugs
|
|
|
|
- Penetration testing
|
|
|
|
level: medium
|
|
|
|
|