2021-01-10 13:11:25 +00:00
|
|
|
id: rails-database-config
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Ruby-on-Rails Database Configuration Exposure
|
2021-04-06 06:46:11 +00:00
|
|
|
author: pdteam
|
2021-01-10 13:11:25 +00:00
|
|
|
severity: low
|
2021-04-06 06:46:11 +00:00
|
|
|
tags: config,exposure
|
2021-01-10 13:11:25 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/config/database.yml"
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "adapter:"
|
|
|
|
- "database:"
|
|
|
|
condition: and
|
|
|
|
part: body
|