Website Security
WordPress Login Brute Force Attack (WordPress Repair)
Last reviewed
Direct answer
A WordPress login brute force attack is automated, repeated password guessing against wp-login.php or XML-RPC; stop it by throttling or blocking requests at the edge or server, enforcing strong passwords and two-factor authentication, removing unused accounts, and then checking that no guess has already succeeded.
Even when no one gets in, a flood of login attempts can slow the site, trigger lockouts, exhaust PHP workers, and push visitors into 429 or 503 errors. The fix has two halves: reduce the volume of hostile requests before they reach WordPress, and make any guess that does arrive worthless. Always finish by confirming the attacker did not already succeed.
Key facts
Verifiable numbers and definitions — each claim links to its source.
- WordPress documentation says WordPress core does not ship two-factor authentication, so it must be added through a plugin or an SSO/identity provider. (WordPress.org — Brute force attacks)
- WordPress documentation says app-level limit-login plugins still run within PHP and use some resources under heavy attack, so edge or server-level throttling is preferred when possible. (WordPress.org — Brute force attacks)
- HTTP 429 Too Many Requests indicates the user has sent too many requests in a given amount of time. (MDN — 429 Too Many Requests)
What the error means
WordPress sites expose a predictable login surface, so bots from many addresses try common or leaked username and password pairs around the clock. Each attempt runs PHP and a database lookup, so heavy volume can hurt performance even if every guess fails. The stakes change if one works: a compromised administrator account is a full site takeover, which then needs malware-style cleanup. Rescue 404 therefore treats login floods as two jobs: availability (cut the noise cheaply, ideally before PHP) and integrity (verify no account was breached and harden every account that could be). Rate limiting at a CDN or server returns HTTP 429, which is why this problem is closely related to our 429 Too Many Requests guide. This is defensive guidance only.
Common symptoms
- Access logs show many POST requests to wp-login.php or xmlrpc.php from changing addresses
- Security or login-limit plugin emails report large numbers of failed attempts or lockouts
- The site slows down or returns 429, 503, or 508 responses during bursts of login traffic
- Real administrators are locked out or see unexpected “too many attempts” messages
- CPU, PHP worker, or database connection usage spikes without matching visitor traffic
- Failed logins target usernames such as admin or the author names visible on your site
- Hosting provider warns about resource limits or blocks parts of your traffic
- Unexpected password reset emails arrive for accounts nobody asked to reset
Most likely causes
- 01 Bots scanning the internet for WordPress login pages and trying common or leaked credentials
- 02 Weak, reused, or previously breached passwords on administrator or editor accounts
- 03 Predictable usernames such as admin, or author usernames exposed in public URLs
- 04 XML-RPC left enabled even though no application needs it
- 05 No rate limiting at the CDN, WAF, or web server, so every attempt reaches PHP
- 06 No two-factor authentication on privileged accounts
- 07 Stale user accounts from former staff or contractors that were never removed
What changed before the problem started
- The site appeared on a list of WordPress installs or its domain became more widely known
- A credential leak elsewhere exposed an email and password that someone reused here
- A security or caching plugin was changed, so login-protection settings were lost
- DNS or CDN changes put traffic on a path that no longer applies earlier rate rules
- Hosting moved to a plan with fewer PHP workers or tighter resource limits
- New authors or customers were added with accounts that have weak passwords
Troubleshooting steps
- 01
Confirm it is a login flood, not just traffic
Review access logs or your host’s analytics for repeated POST requests to wp-login.php or xmlrpc.php and note the time window, request counts, and status codes. Success signal: you can describe the pattern and know whether requests are also returning 429 or 5xx errors.
- 02
Check whether anyone actually got in
Review administrator and user lists for accounts you do not recognize, recent role changes, and recent successful logins in any activity or audit log. Check for recently modified files and unexpected plugins. Success signal: no unknown accounts or changes, or you have identified a breach and moved to the malware cleanup guides.
- 03
Throttle or block at the edge first
Turn on rate limiting for login paths at your CDN, WAF, or web server so attempts are rejected before WordPress runs. Add a challenge such as a CAPTCHA to the login page if your provider supports it. Success signal: PHP and database load fall while real logins still work.
- 04
Strengthen credentials and add two-factor authentication
Reset passwords for all privileged accounts to long unique ones from a password manager, and enable two-factor authentication or passkeys through a reputable plugin. Success signal: every administrator and editor account has a strong password and a second factor.
- 05
Remove or disable what you do not use
Delete dormant users, rename or avoid generic administrator usernames, and disable XML-RPC if no service needs it. Use application passwords for integrations instead of shared logins. Success signal: the user list contains only active people and XML-RPC is either off or protected.
- 06
Allow your own team through
If you add IP restrictions or rate limits, confirm that administrators, staff, and monitoring tools are exempt or can still sign in. Test from a clean browser and a second network. Success signal: legitimate logins succeed, and repeated bad attempts are throttled.
- 07
Monitor for several days
Watch login failure counts, server load, and error rates after the change. Keep WordPress core, plugins, and themes updated so a login defense is not your only barrier. Success signal: failed attempts either stop reaching PHP or no longer affect performance.
When to stop troubleshooting
Stop and escalate if you find an unknown administrator, modified files, or a successful login from an unfamiliar address, if the flood keeps the site down despite edge limits, if you are locked out of the only admin account, or if the host suspends the account. Preserve logs before they rotate and bring in an incident responder.
Information to collect before requesting help
- 01 Sample access log lines for wp-login.php and xmlrpc.php with times and status codes
- 02 Screenshot or text of any lockout, 429, 503, or resource-limit error
- 03 List of all administrator and editor accounts with last-login dates if available
- 04 Hosting provider, plan limits, and whether a CDN or WAF is in front of the site
- 05 Security or login-limit plugins installed and their current settings
- 06 Whether XML-RPC is used by any app, mobile client, or integration
- 07 WordPress, PHP, plugin, and theme versions
- 08 When the flood began and whether anything changed beforehand
How a professional repairs the problem
Rescue 404 analyzes the logs to separate bot floods from real usage, then rate-limits login and XML-RPC paths at the edge or server so PHP stays free. We audit users and activity to prove no guess succeeded, reset privileged credentials, add two-factor authentication, remove unused accounts, and tune rules so staff and customers are not blocked. If a breach is found, we switch to a full malware cleanup and rotate every credential chain.
Frequently asked questions
Is a brute force attack the same as being hacked? +
Why am I seeing 429 errors? +
Will changing the login URL stop attacks? +
Should I disable XML-RPC? +
Do login-limit plugins fully solve it? +
What if I locked myself out with a limit? +
Repair dispatch
Still Need Help Fixing Your Website?
If you are not comfortable editing website files, changing server settings, repairing a database, or troubleshooting a live website, professional help may prevent additional damage or downtime. We will review the problem before accepting the repair.
- You will receive a clear explanation of the likely cause.
- We will tell you if the issue falls outside our repair scope.
- No additional work will be performed without approval.
- A backup should be created whenever access and website condition allow it.
Do not share passwords through an unencrypted contact form — use Password Pusher (self-destructing link). Prefer a dedicated Rescue 404 admin account, not your personal owner login; if you cannot create one yet, we will add ours after repair.