Hello,
I installed Bitwarden Authenticator on my phone a few months ago but eventually uninstalled it because I didn’t find it suitable for my needs.
Today, I decided to give it another try. I reinstalled the app from the Google Play Store and, after opening it and going through a few initial setup screens, I was surprised to see that all my authentication codes were already there!
The app even displayed the message: “Account synced from your Bitwarden app.”
What concerns me is that I was never asked to enter my master password, provide my fingerprint, or perform any other form of authentication before gaining access to all my TOTP codes.
To investigate further, I tried the following:
- Cleared the app’s cache and data, then reopened it. After going through the initial screens, all my authentication codes were available again.
- Completely uninstalled the app and reinstalled it from the Google Play Store. Once again, all my authentication codes appeared without any additional authentication.
Am I missing something here? How is the app able to restore and display all my authentication codes without requiring any authentication or verification of my identity?
To me, this raises a serious security concern.
I also came across the following statement in Bitwarden’s documentation:
“Your authentication keys (sometimes referred to as ‘secret keys’ or ‘TOTP seeds’) and all associated metadata are stored in a local unencrypted database on your device. This data is not synced to Bitwarden servers. A backup of your data is made by your device’s cloud backup system, for example by iCloud Backup or Google One. To protect the data in your app, you can also set up biometric login.”
This raises another concern. If the authentication secrets are stored in an unencrypted local database, what safeguards are in place to protect them?
In particular, I would appreciate clarification on the following:
- Why are all my authentication codes automatically restored and accessible after reinstalling the app, without requiring any authentication?
- Is this behavior intentional, and if so, what security mechanism ensures that only the legitimate device owner can access these codes?
- Why are TOTP secrets stored in an unencrypted local database? Are they protected by Android’s encryption mechanisms or any other security controls?
- Does enabling biometric authentication actually encrypt or otherwise protect the underlying database, or does it simply prevent access through the app’s interface?
From a security perspective, authentication codes are particularly sensitive information. Automatically restoring and displaying them without any apparent authentication seems like a potentially serious security weakness.