commit
25fdd0068e
|
@ -2,18 +2,24 @@ id: rails-database-config
|
|||
|
||||
info:
|
||||
name: Ruby-on-Rails Database Configuration Exposure
|
||||
author: pdteam
|
||||
author: pdteam & geeknik
|
||||
severity: low
|
||||
tags: config,exposure
|
||||
tags: config,exposure,rails
|
||||
|
||||
requests:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}/config/database.yml"
|
||||
|
||||
matchers:
|
||||
- type: word
|
||||
words:
|
||||
- "adapter:"
|
||||
- "database:"
|
||||
- "production:"
|
||||
condition: and
|
||||
part: body
|
||||
part: body
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
Loading…
Reference in New Issue