nuclei-templates/http/exposures/files/secret-token-rb.yaml

32 lines
897 B
YAML

id: secret-token-rb
info:
name: Secret Token Ruby - File Disclosure
author: DhiyaneshDK
severity: medium
description: Ruby Secret token is exposed.
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: 4a0a00473045022025f5b925939cc1d42f8dc9b01ec2186c4e34e8e972e35116f3b9070227a351f6022100bf75273944ae4353ebd22e9fe8bfc3fa3182d098162dc13e02c7ade088516ec3:922c64590222798bb761d5b6d8e72950