31 lines
589 B
YAML
31 lines
589 B
YAML
id: websheets-config
|
|
|
|
info:
|
|
name: Websheets Config File Exposure
|
|
author: geeknik
|
|
severity: low
|
|
reference:
|
|
- https://github.com/daveagp/websheets
|
|
metadata:
|
|
verified: true
|
|
tags: websheets,config,exposure,files
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/ws-config.json'
|
|
- '{{BaseURL}}/ws-config.example.json'
|
|
|
|
stop-at-first-match: true
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- '"db-password":'
|
|
- '"db-database":'
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|