2023-12-07 11:42:31 +05:30
|
|
|
id: gcp-firebase-rtdb-enum
|
2023-02-19 14:00:51 +11:00
|
|
|
|
|
|
|
|
info:
|
2023-12-07 11:42:31 +05:30
|
|
|
name: GCP Firebase Realtime Database - Cloud Enumeration
|
2023-02-19 14:00:51 +11:00
|
|
|
author: initstring
|
2023-07-26 19:31:12 +10:00
|
|
|
severity: info
|
2023-12-07 11:42:31 +05:30
|
|
|
description: |
|
|
|
|
|
Searches for Firebase Realtime Databases in GCP.
|
|
|
|
|
metadata:
|
|
|
|
|
verified: true
|
2024-01-29 11:58:34 +00:00
|
|
|
max-request: 1
|
2024-01-14 14:51:50 +05:30
|
|
|
tags: enum,cloud,cloud-enum,gcp
|
2023-02-19 14:00:51 +11:00
|
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
|
|
|
|
|
|
variables:
|
2023-12-07 11:42:31 +05:30
|
|
|
BaseDNS: "firebaseio.com"
|
2023-02-19 14:00:51 +11:00
|
|
|
|
2023-07-26 19:50:43 +10:00
|
|
|
http:
|
2023-02-19 14:00:51 +11:00
|
|
|
- raw:
|
2023-03-09 20:40:04 +05:30
|
|
|
- |
|
2023-12-07 11:42:31 +05:30
|
|
|
GET https://{{wordlist}}.{{BaseDNS}}/.json HTTP/1.1
|
|
|
|
|
Host: {{wordlist}}.{{BaseDNS}}
|
|
|
|
|
|
2023-02-19 14:00:51 +11:00
|
|
|
redirects: false
|
2023-12-07 11:42:31 +05:30
|
|
|
|
2023-02-19 14:00:51 +11:00
|
|
|
attack: batteringram
|
|
|
|
|
threads: 10
|
2023-12-07 11:42:31 +05:30
|
|
|
|
|
|
|
|
matchers-condition: or
|
2023-02-19 14:00:51 +11:00
|
|
|
matchers:
|
|
|
|
|
- type: status
|
|
|
|
|
name: "Open GCP Firebase RTDB"
|
|
|
|
|
status:
|
|
|
|
|
- 200
|
2023-12-07 11:42:31 +05:30
|
|
|
|
2023-02-19 14:00:51 +11:00
|
|
|
- type: status
|
|
|
|
|
name: "Protected GCP Firebase RTDB"
|
|
|
|
|
status:
|
|
|
|
|
- 401
|
2023-12-07 11:42:31 +05:30
|
|
|
|
2023-02-19 14:00:51 +11:00
|
|
|
- type: status
|
|
|
|
|
name: "Payment GCP on Google Firebase RTDB"
|
|
|
|
|
status:
|
|
|
|
|
- 402
|
2023-12-07 11:42:31 +05:30
|
|
|
|
2023-02-19 14:00:51 +11:00
|
|
|
- type: status
|
|
|
|
|
name: "Deactivated GCP Firebase RTDB"
|
|
|
|
|
status:
|
2023-12-29 10:12:48 +00:00
|
|
|
- 423
|
2024-12-01 13:57:55 +00:00
|
|
|
# digest: 4a0a0047304502200fd19c4d2057f25272d37b7df6c1c910f3490fd6beda49f493f4f9daa8d697960221008d426fd69d100daf3ea7af86fb08be3d60d1ed8e505f0df50298aa7155e7a10c:922c64590222798bb761d5b6d8e72950
|