2021-08-19 11:26:13 +00:00
|
|
|
id: firebase-config-exposure
|
|
|
|
|
|
|
|
info:
|
2023-02-09 21:33:42 +00:00
|
|
|
name: Firebase Configuration File - Detect
|
2021-08-19 11:26:13 +00:00
|
|
|
author: geeknik
|
2023-02-13 16:45:03 +00:00
|
|
|
severity: medium
|
2023-02-09 21:33:42 +00:00
|
|
|
description: Firebase configuration file was detected.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/firebase/firebaseui-web/blob/master/demo/public/sample-config.js
|
2023-02-13 16:45:03 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
|
|
|
|
cvss-score: 5.3
|
|
|
|
cwe-id: CWE-200
|
2021-08-23 09:41:10 +00:00
|
|
|
tags: firebase,exposure,config
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 3
|
2021-08-19 11:26:13 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-08-19 11:26:13 +00:00
|
|
|
- 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
|