firebase credentials leaks @ ███████
The report claims that Firebase configuration credentials are exposed in the page source of a website. The reporter states this could allow unauthorised access to the Firebase database, but provides no proof of exploitation.
Originally disclosed on HackerOne
- Triaged in 2 months
- Fixed in 10 months
- Disclosed after 11 months
Hello. I found firebase credentials leaks at ████.
Steps To Reproduce:
Visit █████ >> Right click >> view source code.
Supporting Material/References:
<script> // Your web app's Firebase configuration // For Firebase JS SDK v7.20.0 and later, measurementId is optional var firebaseConfig = { apiKey: "██████", authDomain: "██████", databaseURL: "█████", projectId: "█████████", storageBucket: "██████", messagingSenderId: "██████████", appId: "█████████", measurementId: "█████" }; // Initialize Firebase firebase.initializeApp(firebaseConfig); firebase.analytics(); </script>Impact
Un authorize access to firebase database.
Kind regard @█████████
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Firebase configuration object, including the API key and database URL, was embedded in client-side JavaScript without restricting what the key can access.
Impact
The reporter claims this could allow unauthorised access to the Firebase database, but no evidence of actual access is provided.
What the attacker needed
None
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 report has not been written yet. The Original tab links to the source.
Firebase is a service from Google that apps use to store data and manage users. The report says the website's setup details for Firebase are visible to anyone who looks at the page's code. The reporter thinks this might let someone access the database, but they do not show that it actually works.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.