漏洞描述
Ruby on Rails storage.yml file is disclosed.
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.
classification:
cpe: cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 4
vendor: rubyonrails
product: rails
google-query: intitle:"index of" storage.yml
tags: exposure,ruby,devops,files,vuln
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: 490a0046304402201bda47f4b9206d98a038c0f823a990c8fa935a5bf25e014e145a5ef100e833e902202d8e7da1dcda64849a997ad422f783a1be00e9f24a9efb2f42744d0f48fa2dbb:922c64590222798bb761d5b6d8e72950