medium · M3 · MASVS-AUTH-1 · PTKD-LIVE-FIREBASE-EMAIL-ENUMERATION

    Firebase Auth tells anyone which emails have an account

    Email enumeration protection is off: the Identity Toolkit API answers whether an address is registered. Attackers use this to build target lists for credential stuffing and phishing.

    How it is exploited

    With the web API key from the app, a script posts a list of leaked emails to accounts:createAuthUri and learns which ones are customers.

    Why it matters

    A list of your real users for credential stuffing and targeted phishing.

    How to fix it

    1. Turn on Email enumeration protection.
    2. Check that the app's sign-in flow still works (fetchSignInMethodsForEmail returns empty afterwards).

    Does your app have this?

    PTKD checks your build or your source project for PTKD-LIVE-FIREBASE-EMAIL-ENUMERATION and every other check in this knowledge base.

    Scan your app

    References

    Related checks (M3)