Skip to content
Misconfiguration Write-up Beginner

Write Up – Private Bug Bounty: Firebase Database Exposed By Misconfiguration – $2,000 USD

A Firebase database URL was exposed in an Android app's manifest and the database was misconfigured with bad permissions. Anyone could pull the whole database by appending .json to the URL.

Omar Espino Follow

Published on omespino.com

Bounty$2,000 View original

3.- Then I justgrep for firebase and HTTP strings in the “base/AndroidManifest.xml” file.

Omar Espino (@omespino), on omespino.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

Anyone could pull the whole Firebase database because the instance was misconfigured.

What the attacker needed

The Android app; adb and apktool

How it was found

  1. Download the Android app and pull the APK from the phone with adb.
  2. Decompile the APK with apktool.
  3. Search the AndroidManifest.xml for firebase and HTTP strings to find the firebaseio.com URL.
  4. Request the URL with .json appended to read the database.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A Firebase database is a cloud database that apps can read and write directly. If its rules are set to allow anyone, then anyone who knows the database address can download everything. Here the address was hidden inside the Android app, and the rules were too open.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by Omar Espino

View all

15 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.