2022-07-04 20:05:32 +00:00
|
|
|
id: ruby-rail-storage
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Ruby on Rails storage.yml File Disclosure
|
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: low
|
|
|
|
metadata:
|
2022-07-05 04:24:28 +00:00
|
|
|
verified: true
|
2022-09-08 22:39:14 +00:00
|
|
|
google-query: intitle:"index of" storage.yml
|
2022-07-05 04:01:13 +00:00
|
|
|
tags: exposure,ruby,devops
|
2022-07-04 20:05:32 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/storage.yml"
|
|
|
|
- "{{BaseURL}}/config/storage.yml"
|
|
|
|
- "{{BaseURL}}/ruby/config/storage.yml"
|
|
|
|
- "{{BaseURL}}/railsapp/config/storage.yml"
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- 'service:'
|
|
|
|
- 'local:'
|
2022-07-05 04:01:13 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "application/json"
|
|
|
|
- "text/html"
|
|
|
|
negative: true
|
|
|
|
condition: and
|
2022-07-04 20:05:32 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|