nuclei-templates/exposures/configs/config-json.yaml

33 lines
643 B
YAML
Raw Normal View History

2022-12-05 10:13:30 +00:00
id: config-json
info:
name: Config File Exposure
author: geeknik
2022-12-09 09:13:29 +00:00
severity: medium
2022-12-05 10:13:30 +00:00
metadata:
verified: true
github-query: filename:config.json
2022-12-09 09:13:29 +00:00
tags: config,exposure,files
2022-12-05 10:13:30 +00:00
requests:
- method: GET
path:
- "{{BaseURL}}/config/default.json"
- "{{BaseURL}}/config.json"
- "{{BaseURL}}/config/config.json"
- "{{BaseURL}}/credentials/config.json"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
words:
- '"api_keys":'
2022-12-09 09:13:29 +00:00
- '"aws":'
- '"server":'
2022-12-05 10:13:30 +00:00
condition: or
- type: status
status:
- 200