Third Party Android App Storing Facebook Data Insecurely
A third-party Android app with Facebook API access copied user data to a public Firebase database and an unauthenticated non-SSL server. An attacker could mass download the accumulated user data without authentication.
Nightwatch Cybersecurity Follow
Published on wwws.nightwatchcybersecurity.com
A third-party Android application with Facebook API access was found to be copying user data into storage outside of Facebook, and storing it insecurely in two separate locations. This issue was reported to Facebook via their Data Abuse Bounty program and the insecure storage locations have been secured on November…
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 app developers configured a Firebase database in test mode (public access) and ran an API server without authentication or HTTPS, failing to secure stored user data.
Impact
An attacker could mass download user data accumulated by the application from its users; the number of affected users is unknown, but one database contained over 1,000,000 records.
What the attacker needed
App installed and used by victims; attacker knows database or server URL; no authentication required
The fix
The two insecure storage locations were secured on November 12th, 2018, and the associated Facebook app was removed from the platform.
How it was found
- Download the Android application from Google Play.
- Examine the application using JADX to find Facebook API usage and data storage locations.
- Identify a Firebase database URL and access it anonymously to confirm public access.
- Identify an API server without SSL or authentication and confirm data download via a browser.
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 third-party app asked for permission to access Facebook data, then copied that data to two places outside Facebook. Those places had no password protection and one did not use encryption, so anyone who knew the address could download the data. This is like leaving a copy of your address book on a public bench.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.