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.
-
There was no rate limiting when sending OTP codes.
-
Tickets could be viewed for an email address registered without verifying ownership of it.
Seen in 1 report
-
Token generation was predictable, with tokens created close in time sharing most characters.
-
Token validation was too weak and accepted tokens differing by a single digit.
Seen in 1 report
-
Tokens were not invalidated on removal and privileges were not checked when sending invitations.
Seen in 1 report
-
Tokens were trusted statelessly with no server-side revocation on logout.
-
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
-
TOTP verification allowed a time window larger than the standard 30 seconds.
Seen in 1 report
-
Trusted cloud hosting plus a service worker proxy made the fake page indistinguishable from the real service.
Seen in 1 report
-
Two dashboards shared a login mechanism but an old session implementation did not revoke the session across both on logout.
Seen in 1 report
-
Two password reset endpoints existed with different security checks and the weaker one stayed reachable.
Seen in 1 report
-
Unauthenticated email verification links were combined with email gateways that automatically open links in scanned messages.
-
Unicode-aware normalisation in SPN and DNS sort keys differed from the simpler comparisons used elsewhere.
-
Unique email addresses were not enforced and the reset query picked the account with the highest ID.
Seen in 1 report
-
User input was inserted into a Location header without validation, allowing header injection.
Seen in 1 report
-
User input was inserted into a template without sanitisation.
Seen in 1 report
-
User records were created before email verification, and unverified accounts could hold a username and password.
-
User verification was not requested and the user verification flag was not checked server-side.
Seen in 1 report
-
User-controlled objects were passed directly into database queries without checking that values were strings, enabling operator injection.
Seen in 1 report
-
User-supplied addresses were inserted into email headers without sanitising newlines.
Seen in 1 report
-
Username uniqueness was not enforced at signup.
Seen in 1 report
-
UUIDv1 with an embedded timestamp and constant node ID was used as a reset token instead of a random value.
Seen in 1 report
-
Verification and invitation state were bound to the email string rather than a unique user identifier.
Seen in 1 report
-
Version 1 GUIDs, which are time-based and predictable, were used as password reset tokens instead of cryptographically random values.
Seen in 1 report
-
Visiting a valid reset link created an authenticated session before any new password was set.
Seen in 1 report
-
Whether 2FA was required depended on which URL the client visited rather than server-side session state.
Seen in 1 report
-
Whitespace was trimmed when validating the issuer but not when matching the entity ID to an organisation.
Seen in 1 report