2022-07-10 00:34:21 +00:00
|
|
|
id: secret-token-rb
|
|
|
|
|
|
|
|
info:
|
2022-07-12 14:36:38 +00:00
|
|
|
name: Secret Token Ruby - File Disclosure
|
2022-07-10 00:34:21 +00:00
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: medium
|
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
google-query: intitle:"index of" "secret_token.rb"
|
2022-10-13 10:12:07 +00:00
|
|
|
tags: redmine,devops,exposure,ruby,files
|
2022-07-10 00:34:21 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/secret_token.rb"
|
|
|
|
- "{{BaseURL}}/config/initializers/secret_token.rb"
|
|
|
|
- "{BaseURL}}/redmine/config/initializers/secret_token.rb"
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2022-07-12 14:36:38 +00:00
|
|
|
- '::Application.config.secret'
|
2022-07-10 00:34:21 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|