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.
-
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
-
Send confirmation links only to the newly entered address and tie the token to the account that requested it.
-
Do not expose verification messages inside support tickets, and require email ownership before tickets can be viewed.
-
Check for existing accounts with the same email before allowing signup or onboarding.
-
Verify the OAuth token on the server and never create a session from a client-supplied email address alone.
Seen in 1 report
-
$1,000 High
-
-
Do not mark emails supplied through SCIM as verified without proof of ownership.
-
Check the identity provider's email verification status before marking the email verified locally.
Seen in 1 report
-
Require the current master password or re-authentication before the password change in an account merge.
-
Enforce email verification before login and before two-factor authentication can be enabled.
Seen in 1 report
-
Rate-limit and cap attempts on the email confirmation code and use a larger code space.
Seen in 1 report
-
Require a verified email before an external login can be linked.
Seen in 1 report
-
Invalidate existing sessions and linked-identity state when an external login provider is disconnected.
Seen in 1 report
-
Do not return the invite key or invite link to the inviter.
Seen in 1 report
-
Issue a fresh session token only after the SMS code has been verified.
Seen in 1 report
-
Tie the reset to the session that initiated it and do not return a victim-bound JWT or cookie.
Seen in 1 report
-
Re-verify the new address and end trusted-device sessions when the account email changes.
Seen in 1 report
-
Claim or remove accounts that are referenced in documentation.
Seen in 1 report