44 lines
1.0 KiB
YAML
44 lines
1.0 KiB
YAML
id: ruby-rail-storage
|
|
|
|
info:
|
|
name: Ruby on Rails storage.yml File Disclosure
|
|
author: DhiyaneshDK
|
|
severity: low
|
|
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: 4a0a00473045022100d6e45fee97cdb5a131778d9e9dbea30d0471ff5da7c9709587e1e8845642393602207c2df61dfb42fd31bfcfa6a57c292bd88d0427ff743d4556f9f256232ff0612d:922c64590222798bb761d5b6d8e72950
|