In-depth lesson · Account takeover
Root causes
Every point the Account takeover reports back under this heading, best-backed first, each with the reports it is seen in.
-
The redirect endpoint authenticated users solely from an identifier and key in the URL with no session check.
Seen in 1 report
-
The refresh endpoint did not enforce expiry, rotation or scope validation.
Seen in 1 report
-
The registration endpoint did not check whether the email was already associated with an existing account, and the login flow did not require email verification for the newly registered account.
Seen in 1 report
-
The registration endpoint did not enforce a uniqueness check on the email address.
Seen in 1 report
-
The registration endpoint failed to sanitise or reject null bytes in the email parameter, causing inconsistent handling of the email string.
-
The registration endpoint lacked a check preventing overwriting credentials for existing accounts.
Seen in 1 report
-
The registration endpoint lacked an existing-account check and performed an update instead of rejecting duplicates.
Seen in 1 report
-
The registration endpoint returned the verification code in its response instead of only sending it by email.
Seen in 1 report
-
The registration finish endpoint accepted any client-generated public key with no attestation and no fresh authentication, so a script on the page could register an attacker-controlled passkey.
Seen in 1 report
-
The registration flow allowed the email to be changed during verification without proving ownership of the original address.
Seen in 1 report
-
The registration flow applied submitted profile details to an existing account once the emailed link was clicked, without checking the submitter owned the email.
Seen in 1 report
-
The registration flow did not reject an email that already belonged to an existing account and overwrote that account's password.
Seen in 1 report
-
The registration flow did not verify that the custom user ID value was unique and unassigned before allowing registration with forced alias creation.
Seen in 1 report
-
The registration flow looked up pending accounts by email without binding the code to the specific signup, and sessions were not invalidated on reset.
-
The registration flow normalised or compared email addresses without verifying ownership, so a Unicode lookalike collided with an existing account.
Seen in 1 report
-
The registration function did not normalise the email address, so a trailing encoded character produced a second account for the same address.
Seen in 1 report
-
The registration mutation issued a valid token before verifying email ownership and single sign-on login matched the victim to the pre-created account.
-
The registration session was treated as authenticated before the code check completed, so verification was not enforced in other tabs.
-
The regular expression used to validate the HTTP Referer header was insufficiently strict, so crafted Referer values could satisfy it.
Seen in 1 report
-
The relay injected script that set the browser's key-support property to undefined and rejected key requests, causing fallback to weaker methods.
-
The replica subdomain shared the backend database but did not enforce the rate limiting and CAPTCHA present on the main site.
Seen in 1 report
-
The request process authenticated the sender only by the spoofable From header.
Seen in 1 report
-
The resend cooldown was enforced only on the client side and old codes were not invalidated when new ones were issued.
Seen in 1 report
-
The resend endpoint did not verify that the phone number belonged to the account being logged into.
-
The resend password reset endpoint trusted a client-controlled local storage value to choose the recipient, instead of using the email bound to the server-side reset token.
Seen in 1 report
-
The resend step trusted a client-supplied email instead of the email stored against the registration session.
Seen in 1 report
-
The resend verification action associated a supplied email with the account without checking it was already pending verification for that account.
Seen in 1 report
-
The resend-code endpoint trusted a client-supplied mobile number instead of the number stored on the account.
Seen in 1 report
-
The reset API returned the generated token in the JSON response.
Seen in 1 report
-
The reset API trusted a user-supplied user ID and did not require a valid reset token.
Seen in 1 report
-
The reset check compared the submitted code with the stored code but did not reject an empty submitted code.
Seen in 1 report
-
The reset code was a short numeric value with no rate limiting and the email was accepted from a client-controlled parameter.
-
The reset code was low-entropy and never expired, and the brute-force defence was keyed only on the client IP, so rotating IPs defeated it.
-
The reset code was only encoded rather than a strong random single-use token, and the same code was reused.
Seen in 1 report
-
The reset code was too short, never expired, and the endpoint lacked rate limiting and returned distinguishable responses.
Seen in 1 report
-
The reset code was validated only on the client side.
Seen in 1 report
-
The reset endpoint accepted a user identifier supplied by the client instead of deriving the account from the authenticated session.
Seen in 1 report
-
The reset endpoint accepted a user-controlled email parameter without checking it belonged to the named user.
Seen in 1 report
-
The reset endpoint accepted an unvalidated UUID parameter and used it to choose which account to reset.
Seen in 1 report
-
The reset endpoint accepted the account email from the client request rather than binding the reset token to the account it was issued for.
Seen in 1 report
-
The reset endpoint accepted the request's CSRF authenticity token as a valid reset token.
Seen in 1 report
-
The reset endpoint did not validate a token or verify ownership of the email before changing the password.
Seen in 1 report
-
The reset endpoint did not validate that the token matched the user or request.
-
The reset endpoint did not validate the reset token, only that a reset had been requested for the email.
Seen in 1 report
-
The reset endpoint did not validate the type or number of values in the email parameter and issued one token to multiple recipients.
Seen in 1 report
-
The reset endpoint did not verify that the token was present, valid, unexpired and tied to the correct user.
Seen in 1 report
-
The reset endpoint lacked an authorisation check and returned a valid link for any user ID.
-
The reset endpoint lacked authentication and did not verify ownership before issuing a link.
Seen in 1 report
-
The reset endpoint lacked rate limiting and did not invalidate one-time codes after use or after a new code was issued.
Seen in 1 report
-
The reset endpoint returned sensitive account data such as the password and email in its response and trusted a client-supplied email address for delivery.
Seen in 1 report