Skip to main content

Firebase Database Takeover (FDT)

MIT License YouTube Channel Twitter Follow LinkedIn Connect GitHub Follow

FDT stands for Firebase Database Takeover, an automation tool used to assess the vulnerability of Firebase databases for potential exploitation. Firebase Database Takeover is a Python script specifically developed for this purpose. By analyzing the given Firebase database URL, the script determines whether it is susceptible to a takeover. In the event of a vulnerability, the script empowers attackers to inject custom data into the database, offering them an option to exploit it. Additionally, the script provides a proof-of-concept URL as evidence of the exploit.


Table of Contents

Introduction

Firebase Database Takeover is a powerful Python script designed to assess the vulnerability of Firebase database URLs and provide an option for exploiting the discovered vulnerabilities. Firebase is a widely-used Backend-as-a-Service (BaaS) platform that offers real-time database services to developers, making it an attractive choice for app development. However, misconfigurations in Firebase databases can lead to unauthorized access, data leaks, and potential data breaches.

This tool aims to assist developers and security enthusiasts in identifying potential security risks associated with Firebase databases. It checks the provided Firebase URL for vulnerabilities and informs users if the database is exposed to takeover attacks. In case of a vulnerable database, the script offers the option to add data to the database, showcasing the potential impact of a takeover.

With its straightforward and interactive interface, the Firebase Database Takeover tool empowers users to understand the importance of securing their Firebase databases effectively. By responsibly using this tool, developers can proactively protect their applications from unauthorized access and ensure the confidentiality of sensitive information stored in Firebase databases.

Features

  • Add data to a Firebase database with ease.
  • Validate Firebase URL and email format before making requests.
  • Simple and intuitive command-line interface.

Requirements

To use the script provided in this repository, you need to have the following dependencies installed:

  • Python 3.x: The script is written in Python, so you must have Python 3.x installed on your system.
  • argparse: This library is required for handling command-line arguments in the script. Install it using the following command: pip install argparse
  • requests: The requests library is necessary to make HTTP requests and interact with URLs. Install it using the following command: pip install requests
  • colorama: The colorama library is used for colored terminal output. Install it using the following command: pip install colorama

Installation

To use FDT, you need to have Python installed on your system. Follow these steps to install and use FDT:

pip install FirebaseDatabaseTakeover

Usage

fdt <add_your_firebase_database_url>

Disclaimer

This script is intended for educational and testing purposes only. The author is not responsible for any misuse or damage caused by the usage of this script. Use it at your own risk.

License

This project is licensed under the MIT License.

Author

Firebase Database Takeover is developed by Akhil Koradiya.

Follow me on:

Metadata

Release files for FirebaseDatabaseTakeover 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for FirebaseDatabaseTakeover 1.0.1
File Size Uploaded
FirebaseDatabaseTakeover-1.0.1.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for FirebaseDatabaseTakeover 1.0.1
File Interpreter ABI Platform
FirebaseDatabaseTakeover-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / FirebaseDatabaseTakeover-1.0.1.tar.gz

Download URL FirebaseDatabaseTakeover-1.0.1.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4fc5d044072ffab73cfdb639b0179719c75d389d8338dfb176a093f93c51895b
BLAKE2b-256 checksum
How to use checksums
d6aa833c44cd9d58556359378159f7527104d3e5da50d9a6a058412024c126d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release files / FirebaseDatabaseTakeover-1.0.1-py3-none-any.whl

Download URL FirebaseDatabaseTakeover-1.0.1-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2716d134010720efd23acb4990628c81fd7eaa5be365729e530ad80fdacf236b
BLAKE2b-256 checksum
How to use checksums
62390a3fbfaa32391efacad6706ad7326a944da5c7ea3eb4749f53df11460cd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page