2022-07-10 00:43:30 +00:00
|
|
|
id: environment-rb
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Environment Ruby File Disclosure
|
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: medium
|
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 3
|
2022-07-10 00:43:30 +00:00
|
|
|
verified: true
|
|
|
|
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
|
|
|
|
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
|