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

34 lines
899 B
YAML
Raw Normal View History

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
2024-01-02 16:16:15 +00:00
description: Ruby Secret token is exposed.
2022-07-10 00:34:21 +00:00
metadata:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 3
2022-07-10 00:34:21 +00:00
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
http:
2022-07-10 00:34:21 +00:00
- method: GET
path:
- "{{BaseURL}}/secret_token.rb"
- "{{BaseURL}}/config/initializers/secret_token.rb"
2023-02-06 13:27:28 +00:00
- "{{BaseURL}}/redmine/config/initializers/secret_token.rb"
2022-07-10 00:34:21 +00:00
stop-at-first-match: true
2023-10-14 11:27:55 +00:00
2022-07-10 00:34:21 +00:00
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
# digest: 4a0a004730450221008491d810a937bd971ba6fe54bc734cbe8c647e11601f5a5541bfaed3073d0f5e02205f2b17d43191060ffefa50bbd955bcea42be0758fd6070d33c01a8382f4a3187:922c64590222798bb761d5b6d8e72950