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

30 lines
639 B
YAML
Raw Normal View History

2022-07-04 19:09:01 +00:00
id: secrets-file
info:
name: Secrets Yaml File Disclosure
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