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