nuclei-templates/exposures/files/secrets-file.yaml

30 lines
655 B
YAML
Raw Normal View History

2022-07-04 19:11:27 +00:00
id: ruby-secrets-file
2022-07-04 19:09:01 +00:00
info:
2022-07-04 19:11:27 +00:00
name: Ruby on Rails secrets.yml File Exposure
2022-07-04 19:09:01 +00:00
author: DhiyaneshDK
severity: high
reference: https://www.exploit-db.com/ghdb/6283
metadata:
google-dork: intitle:"index of" secrets.yml
tags: misconfig,cloud,devops
requests:
- method: GET
path:
- "{{BaseURL}}/secrets.yml"
- "{{BaseURL}}/config/secrets.yml"
- "{{BaseURL}}/test/config/secrets.yml"
- "{{BaseURL}}/redmine/config/secrets.yml"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
words:
- 'secret_key_base'
- type: status
status:
- 200