2021-08-19 11:26:13 +00:00
|
|
|
id: firebase-config-exposure
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Firebase Config Exposure
|
|
|
|
author: geeknik
|
2022-06-21 02:23:03 +00:00
|
|
|
severity: low
|
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:
|
2022-09-14 08:06:02 +00:00
|
|
|
- "{{BaseURL}}"
|
2021-08-19 11:26:13 +00:00
|
|
|
- "{{BaseURL}}/public/config.js"
|
|
|
|
- "{{BaseURL}}/config.js"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "apiKey:"
|
|
|
|
- "authDomain:"
|
|
|
|
- "databaseURL:"
|
|
|
|
- "storageBucket:"
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|