high · M9 · MASVS-STORAGE-1 · PTKD-LIVE-FIREBASE-STORAGE-LISTABLE
Firebase Storage listable without signing in
The Storage bucket in the app lists its files to an unauthenticated request.
How it is exploited
Listing returns every object name; files are then downloaded one by one.
Why it matters
Exposure of every uploaded file.
How to fix it
- Rewrite storage.rules to require request.auth.uid == uid for user paths.
- Deploy with firebase deploy --only storage.
Does your app have this?
PTKD checks your build or your source project for PTKD-LIVE-FIREBASE-STORAGE-LISTABLE and every other check in this knowledge base.
Scan your appReferences
Related checks (M9)
- Android file or preferences created world-readable or world-writable
- Public Supabase bucket can be listed by anyone
- Public Supabase storage bucket (heuristic)
- Sensitive data written to external storage
- Sensitive data written to the log
- Secret written to device storage
- Tokens or passwords stored in plain app preferences
- Keychain item accessible while locked