Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Account takeover on customer accounts: how to find and stop it

OPS-188High impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

Account takeover is when someone other than the owner gets into a customer account. The attacker then changes details, spends stored credit or points, places orders to a new address, or reads personal data.

The common routes are credential stuffing (trying email and password pairs leaked from other sites), phishing, weak or guessable passwords, and flaws in the password reset or email change flow. Your site is not always at fault, but you are expected to make it hard.

Why it costs you leads or sales

Hijacked accounts lead to chargebacks, refunds, support time and angry customers who stop buying. Stolen loyalty points or store credit are direct losses. Customers who learn their data was exposed may not return.

Attack traffic can also slow the login page, and mass reset emails can hurt your email sender reputation so genuine messages land in spam.

How an account takeover unfolds
  1. Leaked password listAttacker gets email and password pairs from another breach
  2. Login attemptsNo rate limit or bot check on your login
  3. Account accessAttacker is signed in as the customer
  4. Fraudulent orderStored card, points or credit used
  5. Chargeback and churnRefund, support cost, lost customer

The break happens at login or reset; everything after it is the customer's loss and yours.

How to check if your site has it

Look for the signs in your own data first, then review the login and reset flows.

Warning signs
  • Spikes in failed logins, often from many IP addresses and a few user agents
  • Customers reporting orders, address changes or emails they did not make
  • Password reset emails sent in large numbers
  • Logins from new countries followed quickly by an email or address change
  • Several accounts using the same shipping address or the same new email
  • Chargebacks on orders from long-standing accounts
Review your flows
  • Is there any limit on login attempts per IP and per account?
  • Is there bot protection on login, registration and reset forms?
  • Can customers turn on 2FA (two-factor authentication)?
  • Do reset links expire and work only once?
  • Does changing email or password require the current password or a code?
  • Do customers get an email when a new device signs in or details change?
  • Does the login error message say the same thing whether the email exists or not?

How to fix it

Reduce the risk of account takeover
  1. Limit login attempts

    Throttle failed logins per IP and per account, and add increasing delays or temporary locks.

  2. Add bot protection to login and reset

    Use a CAPTCHA or managed challenge from your firewall or CDN. Use the provider's supported setup only.

  3. Offer or require 2FA

    Support an authenticator app or email or SMS code. Require it for staff and high-value accounts.

  4. Harden password reset

    Use long random tokens, a short expiry (for example 30-60 minutes), single use, and invalidate old sessions after a reset.

  5. Protect sensitive changes

    Ask for the current password or a code before changing email, password, address or payout details. Email the old address about the change.

  6. Block known leaked passwords

    Reject passwords that appear in public breach lists and set a sensible minimum length.

  7. Send new-device alerts

    Email customers when a login comes from a new device or location.

  8. Log and watch

    Keep login, reset and change events in logs and review spikes.

Where to set this up by platform
  1. Use a security plugin

    Choose a maintained plugin that offers login limiting and 2FA, and enable it for customer roles such as Customer in WooCommerce.

  2. Add bot protection

    Add a CAPTCHA or challenge to the WooCommerce My Account login, register and lost password forms.

  3. Keep core and plugins updated

    Outdated code is another way in; update from Dashboard > Updates.

Example: rate limit a login path in Nginxnginx
limit_req_zone $binary_remote_addr zone=login:10m rate=10r/m;

server {
  location = /login {
    limit_req zone=login burst=5 nodelay;
    proxy_pass http://app;
  }
}
Login and reset flow

Open to takeover

  • Unlimited login attempts
  • No 2FA option
  • Reset links that never expire
  • Email can be changed without a password
  • No alerts to the customer

Hardened

  • Throttled logins with bot challenge
  • 2FA available and required for staff
  • Short-lived single-use reset links
  • Current password needed for sensitive changes
  • New-device emails sent

How to confirm it's fixed

Checks after your changes
  • Try several wrong passwords on a test account: you should see throttling or a challenge
  • Request a reset link, use it, then try it again: the second use should fail
  • Wait past the expiry and confirm the link stops working
  • Change the email on a test account: it should ask for the password or a code
  • Sign in from a new browser: the alert email should arrive
  • Watch logs for a week and compare failed login volume
Failed login attempts handled per dayExample numbers
Failed login attempts handled per day (example)Before: reaching login: 5,000 attempts; After: reaching login: 300 attempts; After: blocked or challenged: 4,700 attempts01,9173,8335,0003004,700Before: reaching loginAfter: reaching loginAfter: blocked or cha…attempts

Example: illustrative numbers showing automated attempts reaching the login before and after rate limiting and a bot challenge.

How to prevent it happening again

Ongoing habits
  • Review login failure and reset volume weekly or set alerts in your firewall
  • Keep your platform, plugins and apps updated
  • Remove unused staff and admin accounts
  • Encourage customers to turn on 2FA or use a password manager
  • Tell customers quickly if you find a breach, and force resets for affected accounts
  • Re-test the login and reset flows after every theme, plugin or checkout change

How FunnelGuard handles this

Account takeover is outside what FunnelGuard checks. FunnelGuard runs robot visits through your lead forms, checkouts and booking flows, and checks tracking hits and test leads. It does not watch for attacks on customer logins or fraudulent sign-ins.

The kind of tool that fits is a web application firewall (WAF) with bot management, together with a fraud and identity protection service or your platform's built-in security tools that monitor login behaviour. You can still use FunnelGuard to confirm that your login challenge or CAPTCHA changes have not broken the lead form or checkout journeys you depend on.

Questions people ask

What is account takeover on an online store?

Account takeover is when an attacker signs in to a real customer's account without permission. They then use stored data, credit or points, or change details to place fraudulent orders. It usually starts with stolen passwords or a weak reset process.

How do attackers take over customer accounts?

The most common way is credential stuffing, where bots try email and password pairs leaked from other sites. Others are phishing, guessing weak passwords and abusing password reset or email change flows.

How do I stop credential stuffing on my login page?

Rate limit login attempts per IP and per account, add a bot challenge from your firewall or CDN, block known leaked passwords and offer 2FA. Using several layers works better than any single control.

Does 2FA stop account takeover?

It blocks most attacks that rely on a stolen password alone, because the attacker also needs the second factor. It does not remove all risk, since phishing and weak reset flows can still bypass it, so combine it with other controls.

How do I know if my customers' accounts have been hacked?

Look for spikes in failed logins, many reset emails, sudden email or address changes and chargebacks on old accounts. Customer complaints about orders they did not place are another clear sign.

Is a password reset link a security risk?

It can be if links never expire, can be reused or are easy to guess. Use long random single-use tokens that expire within an hour and sign out other sessions after a reset.

Can FunnelGuard detect account takeover?

No. FunnelGuard checks that your funnels, tracking and lead delivery work. For account takeover use a web application firewall with bot management or a fraud and identity protection tool.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.