What is credential stuffing?
OWASP defines credential stuffing as the automated injection of stolen username and password pairs into website login forms, in order to fraudulently gain access to user accounts. MITRE describes it as using credentials obtained from breach dumps of unrelated accounts to gain access to target accounts through credential overlap. MITRE lists it as a sub-technique of brute force.
How does credential stuffing work?
OWASP explains that attackers acquire breached credentials and then use automated tools to test them across multiple websites. A match means the person reused a password. The attacker does not need to guess anything. The pairs are already known, and the test is whether they work somewhere new.
Why does it matter?
OWASP calls credential stuffing one of the most common techniques used to take over user accounts. It says attackers can drain accounts, steal sensitive data, run phishing campaigns, or resell valid credentials. The root cause is password reuse, which a single service cannot fully control. This means a breach at one service can put accounts at other services at risk.
How can you detect and reduce it?
OWASP names multi-factor authentication as the primary countermeasure and points to its Credential Stuffing Prevention Cheat Sheet for further protections. MITRE lists these mitigations:
- Set account lockout policies after a certain number of failed login attempts.
- Use multi-factor authentication on externally facing services.
- Follow NIST guidelines when creating password policies.
- Proactively reset accounts that are part of breached credentials.
For detection, MITRE points to multiple failed authentication attempts using different username and password pairs from a single IP address. It also points to rapid login failures across different users from one IP address.
Is credential stuffing the same as brute force?
No. OWASP says brute forcing tries multiple passwords against one or more accounts, which means guessing a password. Credential stuffing typically means using known, breached username and password pairs against other websites.
Related terms
See also brute force attack, account takeover and leaked credentials.
Related pages in the Knowledge Hub
Also Called
- password stuffing
- credential stuffing attack
Frequently Asked Questions
What is credential stuffing?
OWASP defines credential stuffing as the automated injection of stolen username and password pairs into website login forms to fraudulently gain access to user accounts. MITRE lists it as a sub-technique of brute force.
How does credential stuffing work?
Attackers acquire breached credentials and use automated tools to test them across multiple websites. A match means the person reused a password. The attacker does not need to guess anything.
How do you prevent credential stuffing?
OWASP names multi-factor authentication as the primary countermeasure. MITRE also lists account lockout after failed logins, following NIST password guidance, and proactively resetting accounts found in breached credentials.
Is credential stuffing the same as brute force?
No. OWASP says brute forcing tries multiple passwords against one or more accounts, which means guessing. Credential stuffing uses known, breached username and password pairs against other websites.
