2017-08-11 22:44:18 +00:00
|
|
|
title: Python SQL Exceptions
|
|
|
|
description: Generic rule for SQL exceptions in Python according to PEP 249
|
|
|
|
author: Thomas Patzke
|
2018-01-27 23:12:19 +00:00
|
|
|
references:
|
2017-08-11 22:44:18 +00:00
|
|
|
- https://www.python.org/dev/peps/pep-0249/#exceptions
|
|
|
|
logsource:
|
|
|
|
category: application
|
|
|
|
product: python
|
|
|
|
detection:
|
|
|
|
exceptions:
|
|
|
|
- DataError
|
|
|
|
- IntegrityError
|
|
|
|
- ProgrammingError
|
2017-08-12 22:10:00 +00:00
|
|
|
- OperationalError
|
2017-08-11 22:44:18 +00:00
|
|
|
condition: exceptions
|
|
|
|
falsepositives:
|
|
|
|
- Application bugs
|
|
|
|
- Penetration testing
|
|
|
|
level: medium
|
|
|
|
|