Home » Security » Weak or Default Admin Credentials: Lock Down the Login That Controls Your Site
Weak or Default Admin Credentials: Lock Down the Login That Controls Your Site
Every website with a login page is tested constantly by bots trying common usernames and passwords. They do not need to be clever. They try admin with admin123, password, the site name, and millions of passwords leaked from other services. A site with a weak or reused admin password will eventually fall to this, and once someone has admin access, they control everything.
Where default credentials hide
It is not only the CMS login:
| Login | Common weakness |
|---|---|
| CMS admin (WordPress, Joomla) | Username admin, short password |
| Hosting control panel | Password reused from email |
| FTP / SFTP accounts | Old accounts for past developers |
| Database (phpMyAdmin) | Default or blank root password |
| Domain registrar | No two-factor login |
| Plugins with their own login (shops, forums) | Demo accounts left active |
A registrar or hosting account takeover is even worse than a CMS one: the attacker can move your domain or delete the whole server.
Step 1: get rid of obvious usernames
In WordPress you cannot rename a user directly. Instead:
- Create a new administrator with a non-obvious username.
- Log in as the new user.
- Delete the old
adminaccount and choose to attribute its content to the new user.
Also change the public display name so your login username is not shown on posts. Bots read author names and archive URLs to guess usernames.
Step 2: use long, unique passwords
- Generate passwords with a password manager (Bitwarden, 1Password, KeePassXC).
- Never reuse a password across sites. Leaked passwords from one service are tried everywhere.
- Change passwords for every account if a developer or agency no longer works with you, and remove their user accounts.
Step 3: turn on two-factor authentication
Two-factor login (2FA) means a stolen password is not enough. Turn it on for:
- The CMS admin, using a plugin such as Wordfence, Two Factor or WP 2FA.
- The hosting control panel.
- The domain registrar.
- The email account that receives password resets for all of the above.
Use an authenticator app or a hardware key. SMS codes are better than nothing but can be intercepted.
Step 4: limit login attempts
Slow down guessing by blocking an IP after several failures. Options include a security plugin, the host's brute-force protection, or Fail2ban on your own server. On WordPress, also disable XML-RPC if you do not use it, as it allows many password guesses in one request.
Step 5: review user accounts regularly
Every few months:
- Remove accounts that are no longer needed.
- Give people the lowest role that lets them do their job (Editor or Author rather than Administrator).
- Delete old FTP accounts and database users.
- Check that the admin email address under Settings → General is still yours.
Common mistakes
- Keeping
adminbecause "nobody would guess it". - Sharing one admin login among several people.
- Securing the CMS but leaving the hosting account on a weak, reused password.
- Turning on 2FA without saving the backup codes, then getting locked out.
Frequently Asked Questions
Is changing the login URL enough?
It reduces noise in your logs and blocks some bots, but it is not real protection. A strong password, two-factor authentication and login limits are what keep attackers out.
How long should an admin password be?
At least 16 characters if random, or four or more unrelated words for a passphrase. Length matters more than symbols. A password manager can generate and store it for you.
How do I know if someone has already logged in?
Check the user list for accounts you do not recognise, review recent login activity in a security plugin or host logs, and look for unfamiliar plugins or admin email changes.
Found a mistake or still stuck? Contact us. See how we write and check these guides in our editorial policy, or read about DocumentGuy.