Skip to content

In-depth lesson · Pre-account takeover

Typical fixes

Every point the Pre-account takeover reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 1 to 17 of 17
  1. Require proof of ownership of an email address before marking it verified, including when it is set as the public email or changed.

    Seen in 5 reports
  2. Send confirmation links only to the newly entered address and tie the token to the account that requested it.

    Seen in 2 reports
  3. Do not expose verification messages inside support tickets, and require email ownership before tickets can be viewed.

    Seen in 2 reports
  4. Check for existing accounts with the same email before allowing signup or onboarding.

    Seen in 2 reports
  5. Verify the OAuth token on the server and never create a session from a client-supplied email address alone.

    Seen in 1 report
  6. Do not mark emails supplied through SCIM as verified without proof of ownership.

    Seen in 1 report
  7. Check the identity provider's email verification status before marking the email verified locally.

    Seen in 1 report
  8. Require the current master password or re-authentication before the password change in an account merge.

    Seen in 1 report
  9. Enforce email verification before login and before two-factor authentication can be enabled.

    Seen in 1 report
  10. Rate-limit and cap attempts on the email confirmation code and use a larger code space.

    Seen in 1 report
  11. Require a verified email before an external login can be linked.

    Seen in 1 report
  12. Invalidate existing sessions and linked-identity state when an external login provider is disconnected.

    Seen in 1 report
  13. Do not return the invite key or invite link to the inviter.

    Seen in 1 report
  14. Issue a fresh session token only after the SMS code has been verified.

    Seen in 1 report
  15. Tie the reset to the session that initiated it and do not return a victim-bound JWT or cookie.

    Seen in 1 report
  16. Re-verify the new address and end trusted-device sessions when the account email changes.

    Seen in 1 report
  17. Claim or remove accounts that are referenced in documentation.

    Seen in 1 report