WordPress 7.1.2: critical core security fix. Update now, then check inactive themes and comments.

Details

Security tests

User “admin” with administrator privileges

Why the default admin username is risky, how the Security Ninja test works, and how to fix it safely.

This security test checks whether a WordPress user named admin has the Administrator role. That username is the first one many brute-force scripts try.

Why it matters

Attackers already know half of the credentials if the username is admin. Use a unique administrator username and a strong password. Add two-factor authentication when you can.

How to run the test

  1. Open Security Ninja and run the security tests.
  2. Find the check for a user named admin with administrator privileges.
  3. If it fails, create a new administrator with a unique username, transfer content if needed, then delete or demote the admin account.

How to fix it

  1. Log in as an administrator.
  2. Go to Users → Add New and create a new Administrator with a non-guessable username.
  3. Log out, then log in as the new user.
  4. Go to Users, edit the old admin user, and either delete it (assigning content to the new user) or change its role so it is no longer an Administrator.
  5. Re-run the security tests to confirm it passes.

On Pro, some related hardening options also appear under Security Ninja → Fixes.

Still stuck? Get help or contact us.

Larger screenshot

Enlarged image