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 51 to 100 of 1,527
  1. The reset link created an authenticated session before a new password was set.

    Seen in 3 reports
  2. The reset token was not invalidated by a successful login, only by time or use.

    Seen in 3 reports
  3. The same session identifier was reused across logout, login and password reset.

    Seen in 3 reports
  4. The server did not validate the JWT signature, so the payload could be edited and re-encoded.

    Seen in 3 reports
  5. The SPF record ended with a soft-fail qualifier instead of a hard-fail qualifier, so unauthorised senders were not rejected.

    Seen in 3 reports
  6. The verification endpoint lacked rate limiting or lockout after repeated failed attempts.

    Seen in 3 reports
  7. A copy-and-paste error in the token cache key comparison checked the username twice instead of checking the password.

    Seen in 2 reports
  8. A dangling DNS record pointed at a third-party service where the corresponding app or domain was never claimed.

    Seen in 2 reports
  9. A flaw in authentication state management let one user's session or identity be confused with another's.

    Seen in 2 reports
  10. A missing await on an asynchronous password check made a truthy Promise stand in for the boolean result, and the username went into a database query without type validation.

    Seen in 2 reports
  11. A separate basic authentication path did not enforce the second factor that the normal login flow required.

    Seen in 2 reports
  12. An account had Kerberos preauthentication disabled and used a weak, dictionary-crackable password, with further credentials stored insecurely on the host.

    Seen in 2 reports
  13. Authentication tokens were placed in URLs that got crawled and archived publicly, carried the user ID, and remained valid long after capture.

    Seen in 2 reports
  14. Existing reset tokens were not invalidated when the email address or password changed.

    Seen in 2 reports
  15. Login and session checks were tied to the old email identity rather than being invalidated when the email changed.

    Seen in 2 reports
  16. No rate limiting or lockout was implemented on authentication and password reset endpoints.

    Seen in 2 reports
  17. Password resets were allowed to addresses on expired domains that anyone could register.

    Seen in 2 reports
  18. Previous reset tokens were not invalidated when a new one was issued and validation was not atomic with the password update.

    Seen in 2 reports
  19. Reconnection relied only on cached addresses and names without validating re-authentication keys.

    Seen in 2 reports
  20. Registration and recovery handled special characters in email addresses inconsistently, so a modified address matched the victim's account.

    Seen in 2 reports
  21. Registration lacked email confirmation and social login did not check for an existing account.

    Seen in 2 reports
  22. Reset tokens were accepted without checking expiry, prior use or whether the email had changed since issue.

    Seen in 2 reports
  23. Reset tokens were not bound to the user account they were issued for.

    Seen in 2 reports
  24. Reset tokens were not invalidated after use or after the password was changed.

    Seen in 2 reports
  25. Reset tokens were not invalidated when the password changed, and links were only expired on reset-initiated changes.

    Seen in 2 reports
  26. Reset tokens were predictable counters rather than random values and were not bound to the account or single use.

    Seen in 2 reports
  27. Reset tokens were predictable, unsigned encodings of email and timestamp rather than random signed values.

    Seen in 2 reports
  28. Reset tokens were stored without invalidating earlier ones, so each new request added a valid token instead of replacing or expiring the previous ones.

    Seen in 2 reports
  29. Security tokens were generated from time-based, low-entropy functions instead of a cryptographically secure random source.

    Seen in 2 reports
  30. Server-side OTP verification was missing or accepted a hardcoded default value.

    Seen in 2 reports
  31. Session cookies were not bound to a browser or device and stayed valid when replayed elsewhere.

    Seen in 2 reports
  32. Session cookies were set without the Secure attribute, so they could travel over plain HTTP.

    Seen in 2 reports
  33. The 2FA secret was generated once per account and reused for every setup attempt until 2FA was enabled.

    Seen in 2 reports
  34. The address was normalised for comparison but the original unnormalised address was used for delivery.

    Seen in 2 reports
  35. The app trusted the client-supplied X-Forwarded-Host header when building the absolute reset URL.

    Seen in 2 reports
  36. The app used the untrusted Host header when generating the reset link instead of a fixed domain.

    Seen in 2 reports
  37. The application did not clear the session or prevent caching of sensitive pages after logout.

    Seen in 2 reports
  38. The application failed to normalise or reject Unicode look-alike characters, so visually identical addresses were treated as one account.

    Seen in 2 reports
  39. The application relied on a client-controlled status code in the response body instead of validating the OTP server-side.

    Seen in 2 reports
  40. The application relied on a client-side response to decide OTP success, and the password change endpoint did not enforce authorisation.

    Seen in 2 reports
  41. The application trusted a client-side status field to decide whether the OTP had been verified instead of enforcing it on the server.

    Seen in 2 reports
  42. The application trusted the email address as a unique identifier and merged accounts without verifying ownership.

    Seen in 2 reports
  43. The application used the mutable and unverified email claim as the unique user identifier instead of the immutable subject claim.

    Seen in 2 reports
  44. The application used the unvalidated Host or X-Forwarded-Host header to build absolute URLs in reset emails.

    Seen in 2 reports
  45. The authentication code returned a distinct error for an unknown username versus a wrong password instead of one generic failure.

    Seen in 2 reports
  46. The authorisation code was not bound to the user or session that initiated the login, so a client-supplied session identifier was trusted.

    Seen in 2 reports
  47. The backend deserialised the email field without enforcing a single string, so an array was accepted as multiple recipients.

    Seen in 2 reports
  48. The change-password endpoint had no rate limit or lockout on repeated wrong current-password attempts.

    Seen in 2 reports
  49. The client trusted a response field to decide verification success, and the server did not enforce the verified state on the next request.

    Seen in 2 reports
  50. The client trusted the server response to indicate verification success without independently validating the code.

    Seen in 2 reports