2022-07-10 00:43:30 +00:00
|
|
|
id: environment-rb
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Environment Ruby File Disclosure
|
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: medium
|
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
google-query: intitle:"index of" "environment.rb"
|
|
|
|
tags: ruby,devops,exposure
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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
|
|
|
|
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
|