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