Skip to content

In-depth lesson · Account takeover

Typical fixes

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 251 to 270 of 270
  1. Do not export WebView activities that accept arbitrary URLs, and store sensitive data securely.

    Seen in 1 report
  2. Generate and verify the OTP only on the server.

    Seen in 1 report
  3. Check credentials against breach data and enforce password changes for reused passwords.

    Seen in 1 report
  4. Do not accept arbitrary email addresses in the sign-in API and do not use default passwords.

    Seen in 1 report
  5. Reject token requests that omit the encrypted unique key instead of skipping validation.

    Seen in 1 report
  6. Apply the same rate limiting and CAPTCHA to every subdomain that shares the user database.

    Seen in 1 report
  7. Enforce the second factor server-side for every login and ignore client-supplied flags.

    Seen in 1 report
  8. Remove the hard-coded fallback JWT secret, enforce server-side role checks, and do not pass live objects into sandboxes.

    Seen in 1 report
  9. Disable IPv6 router advertisements and WPAD, and enforce LDAP signing and channel binding.

    Seen in 1 report
  10. Protect every credential change endpoint with the same MFA enforcement.

    Seen in 1 report
  11. Generate random default credentials and force a password change on first login.

    Seen in 1 report
  12. Rate limit and cap attempts on the second-factor verification endpoint.

    Seen in 1 report
  13. Require authentication on user API routes and never expose password hashes; use a long random temporary password.

    Seen in 1 report
  14. Decide on the server whether a password change is required and do not trust client responses.

    Seen in 1 report
  15. Verify email ownership for company addresses and check which identity provider issued the login.

    Seen in 1 report
  16. Invalidate refresh tokens obtained with a Temporary Access Pass when the pass expires.

    Seen in 1 report
  17. Apply attempt limits on server-side values rather than client-supplied forwarding headers.

    Seen in 1 report
  18. Use a random verification token and decide OTP success on the server.

    Seen in 1 report
  19. Block UNC paths in reminder file parameters and prevent Outlook from sending NTLM authentication to arbitrary servers.

    Seen in 1 report
  20. Require verification before changing the email attribute and do not link unverified emails to accounts.

    Seen in 1 report