2021-01-10 13:11:25 +00:00
|
|
|
id: symfony-database-config
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Symfony Database Configuration Exposure
|
2021-07-09 06:23:28 +00:00
|
|
|
author: pdteam,geeknik
|
2021-01-10 13:11:25 +00:00
|
|
|
severity: high
|
2021-08-07 02:18:02 +00:00
|
|
|
tags: config,exposure,symfony
|
2021-01-10 13:11:25 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/config/databases.yml"
|
2021-07-09 06:23:28 +00:00
|
|
|
matchers-condition: and
|
2021-01-10 13:11:25 +00:00
|
|
|
matchers:
|
2021-07-09 06:23:28 +00:00
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
negative: true
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2021-01-10 13:11:25 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "class:"
|
|
|
|
- "param:"
|
|
|
|
condition: and
|
2021-07-09 06:23:28 +00:00
|
|
|
part: body
|