50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
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
|
|
# digest: 490a0046304402200dcb47ae02c77c619eea0d95a6ab7dc9f2be071cea09abee3a7ab748b11e561c022034956ced05346f9cfcc9d425d92fa1242c979572e8ae02030496597f64ccfe82:922c64590222798bb761d5b6d8e72950 |