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
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 4
|
2022-09-08 22:39:14 +00:00
|
|
|
google-query: intitle:"index of" storage.yml
|
2022-10-13 10:12:07 +00:00
|
|
|
tags: exposure,ruby,devops,files
|
2022-07-04 20:05:32 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-07-04 20:05:32 +00:00
|
|
|
- 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
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-07-04 20:05:32 +00:00
|
|
|
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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100d6e45fee97cdb5a131778d9e9dbea30d0471ff5da7c9709587e1e8845642393602207c2df61dfb42fd31bfcfa6a57c292bd88d0427ff743d4556f9f256232ff0612d:922c64590222798bb761d5b6d8e72950
|