30 lines
639 B
YAML
30 lines
639 B
YAML
|
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
|