41 lines
840 B
YAML
41 lines
840 B
YAML
id: ruby-rail-storage
|
|
|
|
info:
|
|
name: Ruby on Rails storage.yml File Disclosure
|
|
author: DhiyaneshDK
|
|
severity: low
|
|
metadata:
|
|
max-request: 4
|
|
verified: true
|
|
google-query: intitle:"index of" storage.yml
|
|
tags: exposure,ruby,devops,files
|
|
|
|
http:
|
|
- 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:'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "application/json"
|
|
- "text/html"
|
|
negative: true
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|