Files
blue-team-tools/rules/application/app_sqlinjection_errors.yml
T

25 lines
706 B
YAML
Raw Normal View History

2017-11-27 22:52:17 +01:00
title: Suspicious SQL Error Messages
2017-12-07 16:21:02 +01:00
status: experimental
2017-11-27 22:52:17 +01:00
description: Detects SQL error messages that indicate probing for an injection attack
author: Bjoern Kimminich
references:
- http://www.sqlinjection.net/errors
2017-11-27 22:52:17 +01:00
logsource:
category: application
product: sql
detection:
keywords:
# Oracle
- quoted string not properly terminated
# MySQL
- You have an error in your SQL syntax
# SQL Server
- Unclosed quotation mark
# SQLite
- 'near "*": syntax error'
2017-11-27 22:52:17 +01:00
- SELECTs to the left and right of UNION do not have the same number of result columns
condition: keywords
falsepositives:
- Application bugs
level: high