Skip to content
Misconfiguration Write-up Beginner

Insecure Firebase Unauthorized Write Access on Crypto Exchange Bug Bounty

The target web host had an anonymous PUT method enabled, allowing unauthenticated users to upload arbitrary files. An attacker could upload malicious content that might be served to users or used for phishing.

scr1pty Follow

Published on scr1pty.medium.com

Wazup, scr1pty on touch! This post is about how I found Unrestricted Anonymous Write Permissions in a Firebase Database.

Scr1pty, on scr1pty.medium.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

Root cause

Likely the server was misconfigured to accept unauthenticated PUT requests, possibly due to Firebase integration or a generic file upload endpoint.

Impact

An attacker could upload arbitrary files without authentication, potentially injecting malicious content that could be served to users or used for phishing, and compromising data integrity.

What the attacker needed

Target uses Firebase or allows PUT; no authentication required

How it was found

  1. Identify that the target uses Firebase via Wappalyzer.
  2. Try an existing Firebase exploit but it fails with 'No Firebase database was found'.
  3. Modify the exploit to remove the automatic concatenation of '.firebaseio.com' and send requests directly to the web host.
  4. Send a PUT request with a file and observe a successful upload message.
  5. Confirm the uploaded file is accessible via the web host.

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 web server can accept different types of requests, such as GET to read a page or PUT to upload a file. Here the server allowed anyone to send a PUT request without logging in, so anyone could place a file on it. That is dangerous because the file could be used to trick visitors or spread malware.

What is Misconfiguration?

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

More by scr1pty

View all

1 more disclosed report, 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.