nuclei-templates/file/logs/suspicious-sql-error-messag...

39 lines
869 B
YAML

id: suspicious-sql-error-messages
info:
name: Suspicious SQL Error Messages
author: geeknik
severity: high
description: Detects SQL error messages that indicate probing for an injection attack
tags: file,logs,sql,error
file:
- extensions:
- all
extractors:
- type: regex
name: oracle
part: body
regex:
- 'quoted string not properly terminated'
- type: regex
name: mysql
part: body
regex:
- 'You have an error in your SQL syntax'
- type: regex
name: sql_server
part: body
regex:
- 'Unclosed quotation mark'
- type: regex
name: sqlite
part: body
regex:
- 'near \"\*\"\: syntax error'
- 'SELECTs to the left and right of UNION do not have the same number of result columns'