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,251 to 1,300 of 1,527
  1. The server did not validate the expiry claim, kept no blocklist for logged-out tokens and resolved the acting user only from the token's user ID.

    Seen in 1 report
  2. The server did not validate the request digest and reset token parameters before processing the reset.

    Seen in 1 report
  3. The server did not verify that the current password or the auth credentials header matched the account being modified, and allowed changing the email to another user's address.

    Seen in 1 report
  4. The server did not verify the password and OTP before disabling 2FA, and the client trusted the response to proceed.

    Seen in 1 report
  5. The server did not verify the token's role or user ID, and the password change endpoint trusted a URL-supplied ID.

    Seen in 1 report
  6. The server does not invalidate the OTP after first use and does not rate limit verification.

    Seen in 1 report
  7. The server does not verify that the email in the reset submission matches the account that owns the token.

    Seen in 1 report
  8. The server generated the temporary password but passed it to the browser for client-side hashing, exposing the plaintext in a hidden field and the response.

    Seen in 1 report
  9. The server identified clients for rate limiting by a client-controlled forwarding header instead of the real source address.

    Seen in 1 report
  10. The server included the expected OTP in the error response, and the final order request trusted a client-supplied phone number.

    Seen in 1 report
  11. The server included the OTP in the response and relied on client-side encryption with a key exposed in JavaScript.

    Seen in 1 report
  12. The server issued a session token from a client-supplied email without verifying any OAuth token.

    Seen in 1 report
  13. The server issued a session token in the 2FA response but did not bind or invalidate it server-side, so a client-supplied response could substitute a valid token for a failed check.

    Seen in 1 report
  14. The server issued a static token in the OTP validation response that was not tied to the user or session.

    Seen in 1 report
  15. The server issued a usable session before OTP verification and relied on a client-side redirect to gate access.

    Seen in 1 report
  16. The server marked the account verified without checking that the submitted code matched the issued one.

    Seen in 1 report
  17. The server never invalidated previously issued device confirmation tokens when a new one was generated, so any earlier token remained valid.

    Seen in 1 report
  18. The server only checked that some OTP value was present and did not compare it with the expected code.

    Seen in 1 report
  19. The server only checks that some session completed email verification, without validating the requesting device or IP.

    Seen in 1 report
  20. The server only issued a signed VIEWSTATE for non-protected files, so valid ones could be pre-generated for protected package ids.

    Seen in 1 report
  21. The server only returned an error status for invalid OTPs but did not actually enforce a limit on the number of attempts.

    Seen in 1 report
  22. The server processed duplicate email headers and sent a single OTP to every address listed.

    Seen in 1 report
  23. The server relied on a client-side response header to decide whether to show the MFA challenge or setup page.

    Seen in 1 report
  24. The server relied on a client-side response to decide whether the old password was correct and used a predictable user identifier.

    Seen in 1 report
  25. The server relied on a client-side success flag for OTP verification and did not require confirmation from the new address.

    Seen in 1 report
  26. The server relied on client-side email validation and returned the activation token in the registration response instead of sending it only by email.

    Seen in 1 report
  27. The server relied on client-supplied parameters for the second-factor token without properly validating them.

    Seen in 1 report
  28. The server returned 401 for wrong codes but never actually locked the account or rate-limited correct guesses.

    Seen in 1 report
  29. The server returned the generated OTP in the login API response instead of only sending it to the registered number.

    Seen in 1 report
  30. The server returned the OTP value in the login response instead of keeping it server-side, relying on bcrypt hashing to protect a low-entropy numeric code.

    Seen in 1 report
  31. The server reused the existing reset code and extended its expiry on each request.

    Seen in 1 report
  32. The server treated a missing or empty OTP value as a valid match instead of rejecting it.

    Seen in 1 report
  33. The server treated a persistent cookie as proof of identity to mint new sessions without checking the account was still valid.

    Seen in 1 report
  34. The server treated an unavailable 2FA provider as a reason to skip the second factor rather than denying access or falling back to backup codes.

    Seen in 1 report
  35. The server treated the 2FA token as optional and did not check it was present.

    Seen in 1 report
  36. The server treated the presence of the clientId parameter as the trigger for the 2FA check, so omitting it skipped verification.

    Seen in 1 report
  37. The server treated the submitted code as a list and checked each entry against the valid code rather than requiring one string.

    Seen in 1 report
  38. The server treated the token as optional in the account creation request and did not verify that it matched the submitted email address.

    Seen in 1 report
  39. The server trusted a client-controlled auth type parameter to decide the authentication method and did not verify the social login token.

    Seen in 1 report
  40. The server trusted a client-controlled email parameter in the OAuth callback instead of verifying the identity from Google's token.

    Seen in 1 report
  41. The server trusted a client-controlled parameter to decide whether to allow a password change, and the client could fake the success response.

    Seen in 1 report
  42. The server trusted a client-controlled success flag instead of independently verifying the current password.

    Seen in 1 report
  43. The server trusted a client-encrypted OTP value without independently checking it against the expected value, and the keys were exposed client-side.

    Seen in 1 report
  44. The server trusted a client-provided token to indicate successful verification instead of confirming the OTP step had succeeded.

    Seen in 1 report
  45. The server trusted a client-side cookie containing the hashed OTP for verification.

    Seen in 1 report
  46. The server trusted a client-side step or did not re-check the 2FA result on the request that saves profile changes.

    Seen in 1 report
  47. The server trusted a client-side success response or failed to validate the submitted OTP against the one it issued before allowing registration to complete.

    Seen in 1 report
  48. The server trusted a client-supplied account identifier without verifying that it belonged to the authenticated user.

    Seen in 1 report
  49. The server trusted a client-supplied CAS flag to skip second-factor validation.

    Seen in 1 report
  50. The server trusted a client-supplied challenge name to decide which authentication challenge to enforce instead of deriving it from session state.

    Seen in 1 report