<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&family=Raleway:wght@800&family=Gabarito:wght@700&display=swap" rel="stylesheet">

Credential stuffing

Also known as: credential reuse attack, password reuse attack

Credential stuffing

Credential stuffing is a cyberattack that takes username and password pairs leaked in earlier data breaches and tries them automatically on other websites, taking over any accounts where people reused the same password.

Updated

How Does Credential Stuffing Work?

  1. Get the list. Attackers obtain email and password pairs from a data breach, often bought or downloaded from criminal forums. Some lists contain billions of entries.
  2. Automate the logins. Bots try each pair on the login pages of other popular sites, such as shopping, streaming, banking and email services.
  3. Avoid detection. The bots spread requests across many IP addresses and imitate normal browsers to slip past rate limits and blocks.
  4. Use or sell the hits. Logins that work are used to make purchases, steal stored payment details or loyalty points, send spam, or are sold to other criminals.

The attack only works because people reuse passwords. Even if a small share of the pairs work, a large list produces many compromised accounts. The OWASP page on credential stuffing describes the attack and the defenses sites use against it.

Sites defend themselves with rate limits, bot detection and CAPTCHA challenges. Many also check new passwords against lists of passwords already exposed in breaches and block them.

Example

Years ago, you signed up to a small hobby forum using your main email and a password you also used for your shopping account. The forum is breached and its user list is posted online. A bot later tries that same email and password on the shopping site. It works, and the attacker orders goods with your saved card. Because the login details were correct, the shopping site had no obvious reason to treat it as suspicious.

Credential Stuffing vs Brute-Force Attack

Credential stuffingBrute-force attackPassword spraying
What is triedReal leaked username and password pairsMany guessed passwordsA few common passwords
Accounts targetedMany accounts across many sitesUsually one accountMany accounts on one site
Weakness exploitedPassword reuseShort or simple passwordsCommon passwords

A classic brute-force attack guesses. Credential stuffing does not need to guess, because it already has a password the person once chose.

Why Does It Matter for Your Privacy?

  • One breach can unlock many accounts. If you reuse a password, a leak at the least secure site exposes every account that shares it.
  • Unique passwords stop the attack. A password manager makes it practical to use a different password everywhere. A password generator can create one for each site.
  • A second factor blocks most attempts. Two-factor authentication or a passkey means a correct password alone is not enough to log in.
  • Check for reuse. Go through older accounts and change any password used on more than one site, starting with email and banking.
  • Taken-over accounts leak more data. Attackers can read your order history, saved addresses and messages once they are in.

Frequently asked questions

How do I protect myself from credential stuffing?

Use a different password for every account, which is easiest with a password manager. Turn on two-factor authentication or passkeys where offered, so a correct password alone is not enough to log in.

Is credential stuffing a type of brute-force attack?

It is often grouped with brute-force attacks because both are automated login attempts. The difference is that credential stuffing uses real leaked password pairs instead of guessing, so it needs far fewer attempts per account.

How do I know if my account was hit by credential stuffing?

Watch for login alerts from new devices or locations, password reset emails you did not request, and changes to your account details. If you see any, change the password, make it unique and turn on two-factor authentication.

Update history

  • : First published