49 lines
949 B
YAML
49 lines
949 B
YAML
id: gcp-firebase-rtdb-enum
|
|
|
|
info:
|
|
name: GCP Firebase Realtime Database - Cloud Enumeration
|
|
author: initstring
|
|
severity: info
|
|
description: |
|
|
Searches for Firebase Realtime Databases in GCP.
|
|
metadata:
|
|
verified: true
|
|
tags: cloud,cloud-enum,gcp
|
|
|
|
self-contained: true
|
|
|
|
variables:
|
|
BaseDNS: "firebaseio.com"
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET https://{{wordlist}}.{{BaseDNS}}/.json HTTP/1.1
|
|
Host: {{wordlist}}.{{BaseDNS}}
|
|
|
|
redirects: false
|
|
|
|
attack: batteringram
|
|
threads: 10
|
|
|
|
matchers-condition: or
|
|
matchers:
|
|
- type: status
|
|
name: "Open GCP Firebase RTDB"
|
|
status:
|
|
- 200
|
|
|
|
- type: status
|
|
name: "Protected GCP Firebase RTDB"
|
|
status:
|
|
- 401
|
|
|
|
- type: status
|
|
name: "Payment GCP on Google Firebase RTDB"
|
|
status:
|
|
- 402
|
|
|
|
- type: status
|
|
name: "Deactivated GCP Firebase RTDB"
|
|
status:
|
|
- 423 |