Skip to content

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.

Back to the lesson 1,051 to 1,100 of 1,527
  1. The redirect endpoint authenticated users solely from an identifier and key in the URL with no session check.

    Seen in 1 report
  2. The refresh endpoint did not enforce expiry, rotation or scope validation.

    Seen in 1 report
  3. 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
  4. The registration endpoint did not enforce a uniqueness check on the email address.

    Seen in 1 report
  5. The registration endpoint failed to sanitise or reject null bytes in the email parameter, causing inconsistent handling of the email string.

    Seen in 1 report
  6. The registration endpoint lacked a check preventing overwriting credentials for existing accounts.

    Seen in 1 report
  7. The registration endpoint lacked an existing-account check and performed an update instead of rejecting duplicates.

    Seen in 1 report
  8. The registration endpoint returned the verification code in its response instead of only sending it by email.

    Seen in 1 report
  9. 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
  10. The registration flow allowed the email to be changed during verification without proving ownership of the original address.

    Seen in 1 report
  11. 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
  12. 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
  13. 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
  14. The registration flow looked up pending accounts by email without binding the code to the specific signup, and sessions were not invalidated on reset.

    Seen in 1 report
  15. The registration flow normalised or compared email addresses without verifying ownership, so a Unicode lookalike collided with an existing account.

    Seen in 1 report
  16. 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
  17. The registration mutation issued a valid token before verifying email ownership and single sign-on login matched the victim to the pre-created account.

    Seen in 1 report
  18. The registration session was treated as authenticated before the code check completed, so verification was not enforced in other tabs.

    Seen in 1 report
  19. The regular expression used to validate the HTTP Referer header was insufficiently strict, so crafted Referer values could satisfy it.

    Seen in 1 report
  20. The relay injected script that set the browser's key-support property to undefined and rejected key requests, causing fallback to weaker methods.

    Seen in 1 report
  21. 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
  22. The request process authenticated the sender only by the spoofable From header.

    Seen in 1 report
  23. 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
  24. The resend endpoint did not verify that the phone number belonged to the account being logged into.

    Seen in 1 report
  25. 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
  26. The resend step trusted a client-supplied email instead of the email stored against the registration session.

    Seen in 1 report
  27. 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
  28. The resend-code endpoint trusted a client-supplied mobile number instead of the number stored on the account.

    Seen in 1 report
  29. The reset API returned the generated token in the JSON response.

    Seen in 1 report
  30. The reset API trusted a user-supplied user ID and did not require a valid reset token.

    Seen in 1 report
  31. The reset check compared the submitted code with the stored code but did not reject an empty submitted code.

    Seen in 1 report
  32. The reset code was a short numeric value with no rate limiting and the email was accepted from a client-controlled parameter.

    Seen in 1 report
  33. 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.

    Seen in 1 report
  34. The reset code was only encoded rather than a strong random single-use token, and the same code was reused.

    Seen in 1 report
  35. The reset code was too short, never expired, and the endpoint lacked rate limiting and returned distinguishable responses.

    Seen in 1 report
  36. The reset code was validated only on the client side.

    Seen in 1 report
  37. The reset endpoint accepted a user identifier supplied by the client instead of deriving the account from the authenticated session.

    Seen in 1 report
  38. The reset endpoint accepted a user-controlled email parameter without checking it belonged to the named user.

    Seen in 1 report
  39. The reset endpoint accepted an unvalidated UUID parameter and used it to choose which account to reset.

    Seen in 1 report
  40. 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
  41. The reset endpoint accepted the request's CSRF authenticity token as a valid reset token.

    Seen in 1 report
  42. The reset endpoint did not validate a token or verify ownership of the email before changing the password.

    Seen in 1 report
  43. The reset endpoint did not validate that the token matched the user or request.

    Seen in 1 report
  44. The reset endpoint did not validate the reset token, only that a reset had been requested for the email.

    Seen in 1 report
  45. 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
  46. The reset endpoint did not verify that the token was present, valid, unexpired and tied to the correct user.

    Seen in 1 report
  47. The reset endpoint lacked an authorisation check and returned a valid link for any user ID.

    Seen in 1 report
  48. The reset endpoint lacked authentication and did not verify ownership before issuing a link.

    Seen in 1 report
  49. 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
  50. 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