33 lines
854 B
YAML
33 lines
854 B
YAML
id: secret-token-rb
|
|
|
|
info:
|
|
name: Secret Token Ruby - File Disclosure
|
|
author: DhiyaneshDK
|
|
severity: medium
|
|
metadata:
|
|
verified: true
|
|
max-request: 3
|
|
google-query: intitle:"index of" "secret_token.rb"
|
|
tags: redmine,devops,exposure,ruby,files
|
|
|
|
http:
|
|
- 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:
|
|
- '::Application.config.secret'
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a004730450221008491d810a937bd971ba6fe54bc734cbe8c647e11601f5a5541bfaed3073d0f5e02205f2b17d43191060ffefa50bbd955bcea42be0758fd6070d33c01a8382f4a3187:922c64590222798bb761d5b6d8e72950
|