36 lines
1013 B
YAML
36 lines
1013 B
YAML
id: secret-token-rb
|
|
|
|
info:
|
|
name: Secret Token Ruby - File Disclosure
|
|
author: DhiyaneshDK
|
|
severity: medium
|
|
description: Ruby Secret token is exposed.
|
|
classification:
|
|
cpe: cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 3
|
|
vendor: rubyonrails
|
|
product: rails
|
|
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: 4b0a00483046022100a2add2e205a9ada7b6dd181b246087eafc3dbc358500e7a5fac77ef13310254c022100898a04eada5ec3d7a425ff9e5cccd44733dfea928151f59c847c164f455e65ac:922c64590222798bb761d5b6d8e72950 |