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,501 to 1,527 of 1,527
  1. There was no rate limiting when sending OTP codes.

    Seen in 1 report
  2. Tickets could be viewed for an email address registered without verifying ownership of it.

    Seen in 1 report
  3. Token generation was predictable, with tokens created close in time sharing most characters.

    Seen in 1 report
  4. Token validation was too weak and accepted tokens differing by a single digit.

    Seen in 1 report
  5. Tokens were not invalidated on removal and privileges were not checked when sending invitations.

    Seen in 1 report
  6. Tokens were trusted statelessly with no server-side revocation on logout.

    Seen in 1 report
  7. Top-level navigation of preload-bearing windows was not guarded, so a trusted window could be navigated to an attacker origin while keeping its IPC bridge.

    Seen in 1 report
  8. TOTP verification allowed a time window larger than the standard 30 seconds.

    Seen in 1 report
  9. Trusted cloud hosting plus a service worker proxy made the fake page indistinguishable from the real service.

    Seen in 1 report
  10. Two dashboards shared a login mechanism but an old session implementation did not revoke the session across both on logout.

    Seen in 1 report
  11. Two password reset endpoints existed with different security checks and the weaker one stayed reachable.

    Seen in 1 report
  12. Unauthenticated email verification links were combined with email gateways that automatically open links in scanned messages.

    Seen in 1 report
  13. Unicode-aware normalisation in SPN and DNS sort keys differed from the simpler comparisons used elsewhere.

    Seen in 1 report
  14. Unique email addresses were not enforced and the reset query picked the account with the highest ID.

    Seen in 1 report
  15. User input was inserted into a Location header without validation, allowing header injection.

    Seen in 1 report
  16. User input was inserted into a template without sanitisation.

    Seen in 1 report
  17. User records were created before email verification, and unverified accounts could hold a username and password.

    Seen in 1 report
  18. User verification was not requested and the user verification flag was not checked server-side.

    Seen in 1 report
  19. User-controlled objects were passed directly into database queries without checking that values were strings, enabling operator injection.

    Seen in 1 report
  20. User-supplied addresses were inserted into email headers without sanitising newlines.

    Seen in 1 report
  21. Username uniqueness was not enforced at signup.

    Seen in 1 report
  22. UUIDv1 with an embedded timestamp and constant node ID was used as a reset token instead of a random value.

    Seen in 1 report
  23. Verification and invitation state were bound to the email string rather than a unique user identifier.

    Seen in 1 report
  24. Version 1 GUIDs, which are time-based and predictable, were used as password reset tokens instead of cryptographically random values.

    Seen in 1 report
  25. Visiting a valid reset link created an authenticated session before any new password was set.

    Seen in 1 report
  26. Whether 2FA was required depended on which URL the client visited rather than server-side session state.

    Seen in 1 report
  27. Whitespace was trimmed when validating the issuer but not when matching the entity ID to an organisation.

    Seen in 1 report