2022-07-10 00:43:30 +00:00
|
|
|
id: environment-rb
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Environment Ruby File Disclosure
|
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: medium
|
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 3
|
2022-07-10 00:43:30 +00:00
|
|
|
google-query: intitle:"index of" "environment.rb"
|
2022-10-13 10:12:07 +00:00
|
|
|
tags: ruby,devops,exposure,files
|
2022-07-10 00:43:30 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-07-10 00:43:30 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/environment.rb"
|
|
|
|
- "{{BaseURL}}/config/environment.rb"
|
2022-07-15 11:21:09 +00:00
|
|
|
- "{{BaseURL}}/redmine/config/environment.rb"
|
2022-07-10 00:43:30 +00:00
|
|
|
|
|
|
|
stop-at-first-match: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-07-10 00:43:30 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2022-07-12 15:05:39 +00:00
|
|
|
- '# Load the Rails application.'
|
2022-07-10 00:43:30 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100c1b3e05fb392d6e228ae606a8c7dec12b4a4e22890f108c3cea132e542b71d9002210096a5ab56b9cd33099c97d362b0ba458d87ab19be9d4883b40d32ad7716d0711a:922c64590222798bb761d5b6d8e72950
|