33 lines
643 B
YAML
33 lines
643 B
YAML
id: config-json
|
|
|
|
info:
|
|
name: Config File Exposure
|
|
author: geeknik
|
|
severity: medium
|
|
metadata:
|
|
verified: true
|
|
github-query: filename:config.json
|
|
tags: config,exposure,files
|
|
|
|
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":'
|
|
- '"aws":'
|
|
- '"server":'
|
|
condition: or
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|