43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
id: ruby-rail-storage
|
|
|
|
info:
|
|
name: Ruby on Rails storage.yml File Disclosure
|
|
author: DhiyaneshDK
|
|
severity: low
|
|
description: Ruby on Rails storage.yml file is disclosed.
|
|
metadata:
|
|
verified: true
|
|
max-request: 4
|
|
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
|
|
# digest: 4a0a0047304502200ee450f9ad85b2f4a8f1493f6bbfa9c70be1140679ac241496565825f46d6b6c022100a805eb547979651a0a9b66370195632fdb5091606fe033744e2acd93717be5a6:922c64590222798bb761d5b6d8e72950 |