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 to 50 of 1,527
  1. Existing server-side sessions were not invalidated or rotated when the password changed.

    Seen in 14 reports
  2. The reset URL was built from the client-supplied Host header, including its port, instead of a fixed canonical server name, and was not validated or escaped against an allowlist.

    Seen in 11 reports
  3. The server did not delete or revoke the session token on logout, only clearing it on the client.

    Seen in 11 reports
  4. The server decided OTP success from a client-side response field rather than checking the code itself.

    Seen in 8 reports
  5. A security decision was made from a client-side response flag rather than server-side OTP validation.

    Seen in 7 reports
  6. The password reset token was not invalidated when the account's email address was changed.

    Seen in 7 reports
  7. An OAuth identity was linked to an existing account by matching email without verifying ownership.

    Seen in 6 reports
  8. Previously issued reset tokens were not invalidated when a new one was generated or when one was used.

    Seen in 6 reports
  9. The 2FA check compared two values the attacker controlled.

    Seen in 6 reports
  10. The reset endpoint returned the generated token in its JSON response instead of only emailing it to the account owner.

    Seen in 6 reports
  11. Reset links were built from the client-controlled Host or X-Forwarded-Host header instead of a fixed configured domain.

    Seen in 5 reports
  12. Reset tokens were not revoked or expired when the account email address changed.

    Seen in 5 reports
  13. Sensitive request data was logged in plaintext in a publicly accessible file.

    Seen in 5 reports
  14. The application did not invalidate existing sessions when the password was changed.

    Seen in 5 reports
  15. The client trusted the server response body to decide whether the OTP was valid instead of the server enforcing the result.

    Seen in 5 reports
  16. The client-side flow trusted the JSON response body to mark the email or OTP as verified instead of the server confirming it.

    Seen in 5 reports
  17. The reset link was built from the request Host header without an allowlist.

    Seen in 5 reports
  18. The server included the password reset token or URL in the API response body instead of delivering it only by email.

    Seen in 5 reports
  19. Email ownership was not verified at password signup and OAuth logins were auto-linked to existing accounts by matching email alone.

    Seen in 4 reports
  20. Inconsistent Unicode normalisation between the database lookup and the mail delivery path made lookalike addresses match the victim's account.

    Seen in 4 reports
  21. The domain had no valid SPF TXT record, or no DMARC record, so receivers had no policy to reject spoofed mail.

    Seen in 4 reports
  22. The email change endpoint did not require the current password or confirmation from the original address.

    Seen in 4 reports
  23. The frontend decided whether OTP verification succeeded from the response body instead of the server enforcing the verified state.

    Seen in 4 reports
  24. The OTP validation endpoint had no rate limiting or attempt limit on a short numeric code.

    Seen in 4 reports
  25. The password change and reset flows did not invalidate existing sessions.

    Seen in 4 reports
  26. The password change did not require the current password.

    Seen in 4 reports
  27. The reset endpoint accepted a list of email addresses and sent the token to every address in the list.

    Seen in 4 reports
  28. The reset link was built from an untrusted host header without validation against an allowlist.

    Seen in 4 reports
  29. The reset URL was built from the untrusted Host or X-Forwarded-Host header without an allowlist check.

    Seen in 4 reports
  30. The reuse matcher left security-relevant settings out of the comparison key, so a lower-security transfer could reuse a higher-security connection.

    Seen in 4 reports
  31. The verify route was mounted without authentication and treated mailbox-control token possession as proof of channel ownership, with uniqueness checked only at request time.

    Seen in 4 reports
  32. Unicode or Punycode email addresses were normalised to ASCII after uniqueness checks, so lookalikes mapped to the same account.

    Seen in 4 reports
  33. Email addresses were normalised for database lookup but the raw address was used for delivery, so codes went to a lookalike domain.

    Seen in 3 reports
  34. Email validation allowed characters that were stripped when generating the recovery code, so the unsanitised email compared against the stored one allowed a mismatch.

    Seen in 3 reports
  35. Password validation checked only length and did not enforce the required character classes.

    Seen in 3 reports
  36. Reset and account-creation tokens never expired and were not revoked after use.

    Seen in 3 reports
  37. Sessions were not tied to the current password or revoked on password reset, and the default lifetime was very long.

    Seen in 3 reports
  38. The 2FA endpoint had no rate limiting or attempt lockout.

    Seen in 3 reports
  39. The application does not invalidate existing sessions when 2FA is enabled, so previously authenticated sessions remain valid.

    Seen in 3 reports
  40. The application reused the pre-authentication session identifier after a successful login instead of issuing a new one.

    Seen in 3 reports
  41. The authentication service lacked rate limiting or account lockout on failed attempts.

    Seen in 3 reports
  42. The client-side flow trusted a response field to decide OTP success instead of the server enforcing the check.

    Seen in 3 reports
  43. The content security policy allowed a script source reachable through URL encoding, so injected HTML could run script.

    Seen in 3 reports
  44. The stay-logged-in cookie held an unsalted hash of the password with no server-side secret or signature, and was built from the username and that hash rather than an opaque random server-side token.

    Seen in 3 reports
  45. The email-change flow did not require re-verification, so the verified state carried over.

    Seen in 3 reports
  46. The generated OTP was included in the JSON response body instead of only being delivered out of band.

    Seen in 3 reports
  47. The login endpoint had no rate limiting, account lockout or captcha after repeated failed attempts.

    Seen in 3 reports
  48. The reset endpoint did not enforce that the email parameter was a single string, so it accepted an array and used every address as a recipient.

    Seen in 3 reports
  49. The reset endpoint trusted a client-supplied user identifier rather than validating the secret token.

    Seen in 3 reports
  50. The reset endpoint trusted a user-supplied email parameter instead of binding the token to one account.

    Seen in 3 reports