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.
-
The code submission endpoint had no rate limiting or attempt limits.
-
The confirmation link was sent to the originally stored email instead of the newly entered one.
-
The email change neither re-verified the new address nor invalidated the trusted-device session.
-
The endpoint trusted an email or cookie identifier supplied in the request instead of binding to the session.
Seen in 2 reports
-
The full session token or cookie was issued after password verification instead of a temporary token until the second factor was confirmed.
-
The JWT verification accepted the none algorithm instead of pinning an expected algorithm and rejecting unsigned tokens.
-
The link between the account and the removed identity was not invalidated, so authentication from the disconnected provider was still accepted.
-
The OAuth client accepted attacker-controlled state and non-default response type and mode values.
Seen in 2 reports
-
Critical -
Medium
-
-
The OTP check was performed on the client side and the server did not validate the code itself.
-
The OTP endpoint had no rate limiting or lockout and the session cookie was a predictable client-side encoded object.
-
The OTP endpoint had no rate limiting, attempt cap or lockout.
-
The password policy check was missing or not enforced during account creation.
Seen in 2 reports
-
The password reset endpoint returned the reset token in the HTTP response body.
-
The password reset flow did not enforce the second authentication factor before granting access.
Seen in 2 reports
-
The password synchronisation component trusted data from the local server process without verifying integrity, so a malicious library could alter the hash before it was sent.
Seen in 2 reports
-
The password-change routine revoked fully authenticated sessions but not sessions still waiting for the second factor.
Seen in 2 reports
-
The platform never re-checked that linked social accounts still existed and were still controlled by the profile owner.
-
The profile update accepted another user's email without ownership or uniqueness checks.
-
The public forms had no CAPTCHA to stop automated repeated submissions.
-
The rate limit was keyed on the client IP address read from the X-Forwarded-For header, which the client controls.
Seen in 2 reports
-
The resend endpoint lacked rate limiting, so the activation attempt limit could be reset indefinitely.
-
The reset confirmation step accepted a malformed token without validating it.
-
The reset endpoint accepted an email in the request body that did not match the email tied to the reset token.
-
The reset handler returned different responses for existing and non-existing accounts instead of one generic response.
-
The reset token was not bound to the email address it was issued for, and the client-supplied email was trusted.
-
The reset URL was built from a client-supplied forwarded host header instead of a fixed configured hostname.
-
The server did not validate that the email field was a single string, so with an array it generated the OTP for one entry and delivered it to another.
Seen in 2 reports
-
The server trusted a client-supplied Facebook ID and profile data instead of deriving identity from the verified access token.
Seen in 2 reports
-
The server trusted the algorithm named inside the token and signed with a weak dictionary-word secret.
-
The server trusted the user-supplied user ID and email in the profile update request without verifying they belonged to the authenticated user.
Seen in 2 reports
-
The server trusts a client-supplied grant_type to choose the authentication method and returns the activation link in the API response.
-
The session token was issued before the second factor was verified and sensitive endpoints did not check that 2FA had completed.
-
The signup endpoint revealed whether an email was already registered through distinct status codes and messages, and lacked rate limiting.
Seen in 2 reports
-
The subscription endpoint trusted the long identifier in the URL as sufficient authorisation instead of checking the session.
-
The two-factor configuration endpoint did not check that the email address was verified.
Seen in 2 reports
-
The verification code was not bound to the email address it was issued for.
-
The verification endpoint accepted unlimited attempts on a short numeric code.
-
The verification flow did not bind the OTP to the email address that requested it, so the address could be changed between steps.
-
The verification token was not bound to the specific email address it was issued for.
-
Tokens were just base64-encoded email addresses and timestamps with no signature.
-
Verification success was decided by the client from the response rather than enforced on the server.
-
Wrong OTP attempts were limited only per source address, so address rotation bypassed the limit.
-
Second-factor enforcement was tied to the cookie-consent step, so skipping consent skipped the 2FA check.
-
A case-sensitivity mismatch in username handling under some LDAP setups caused 2FA to be skipped.
Seen in 1 report
-
A chain of weak recovery and notification practices, including voicemail takeover, recovery that trusts a phone number, a two-factor bypass in enterprise recovery, and blind-copying sensitive emails.
Seen in 1 report
-
A client-side flag gated the password-change flow and the server did not require the current password.
Seen in 1 report
-
A client-generated preregistration ID was later used to fetch an authentication token, letting an attacker pre-register an ID and bind a victim's login to it.
Seen in 1 report
-
A client-side response was trusted to confirm email verification, and 2FA could be enabled without server-side proof of email ownership.
Seen in 1 report
-
A client-side signature used a hardcoded secret and predictable inputs.
-
A debug feature that returned the reset token in the API response was left enabled in production.