32 lines
628 B
YAML
32 lines
628 B
YAML
id: firebase-config-exposure
|
|
|
|
info:
|
|
name: Firebase Config Exposure
|
|
author: geeknik
|
|
severity: low
|
|
reference:
|
|
- https://github.com/firebase/firebaseui-web/blob/master/demo/public/sample-config.js
|
|
tags: firebase,exposure,config
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
- "{{BaseURL}}/public/config.js"
|
|
- "{{BaseURL}}/config.js"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
|
|
- type: word
|
|
words:
|
|
- "apiKey:"
|
|
- "authDomain:"
|
|
- "databaseURL:"
|
|
- "storageBucket:"
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|