2021-08-19 11:26:13 +00:00
|
|
|
id: firebase-config-exposure
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Firebase Config Exposure
|
|
|
|
author: geeknik
|
|
|
|
severity: high
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/firebase/firebaseui-web/blob/master/demo/public/sample-config.js
|
2021-08-23 09:41:10 +00:00
|
|
|
tags: firebase,exposure,config
|
2021-08-19 11:26:13 +00:00
|
|
|
|
|
|
|
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
|