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
|
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
|
2023-02-09 20:54:05 +00:00
|
|
|
|
2023-02-13 16:45:03 +00:00
|
|
|
# Enhanced by cs on 2023/02/13
|