On this page
What this issue is
A rogue admin user is an account with full control of your site, store or tag manager that nobody on your team created. Attackers add one after they get in through a weak password, an outdated plugin or a stolen login. The account is their spare key. Even if you remove the original hole, they can walk back in.
These accounts often look normal. Common tricks are names like support, wpadmin or admin2, a real-looking email on a free domain, or a recent creation date with no matching hire or agency.
Why it costs you leads or sales
An admin can change anything. They can edit forms so leads go to another inbox, swap checkout links, inject redirects or spam pages, add scripts that steal data, and change tracking IDs so your ad platforms get bad data. Because the account survives clean-ups, the damage can return again and again.
- Entry pointWeak password or outdated plugin
- Rogue admin addedHidden spare key
- Site changedForms, links or scripts edited
- Leads and salesDiverted or blocked
The break happens at the hidden account, long before you notice the symptoms.
How to check if your site has it
List every user with admin rights and compare it with the people who should have access. Check creation dates, emails and last login times.
Open Users
Go to Users > All Users and click the Administrator filter. Look for names and emails you do not recognise.
Check the database
Hidden users can be missing from the screen. In phpMyAdmin, open the wp_users table and sort by user_registered. Also check wp_usermeta for the wp_capabilities value containing administrator.
Open Users
Go to Settings > Users and permissions. Review staff accounts, collaborator requests and anyone with full permissions.
Open container users
In Admin, open User Management for both the account and the container. Look for unknown emails with Publish access.
Check members
Open Workspace settings > Members and each site's Settings for unknown people or guests.
Check team
Go to Settings > My Staff and review every user and role.
Check contributors
Go to Settings > Roles & Permissions and review everyone with Admin or Co-owner roles.
Check contributors
Open Settings > Permissions and review every contributor and their role.
wp user list --role=administrator --fields=ID,user_login,user_email,user_registeredHow to fix it
Take a backup
Save the site and database first so you keep evidence and can restore if something breaks.
Change your own credentials
Reset passwords for all real admins, on a clean device. Turn on two-factor authentication.
Delete the rogue user
Remove the account. On WordPress, choose to delete rather than reassign content only if you know it owns nothing real.
Invalidate sessions and keys
Log out all users. On WordPress, replace the salts in wp-config.php. Rotate API keys, FTP, database and hosting passwords.
Find the entry point
Update the core, themes and plugins, remove unused ones, and scan files for web shells and changed code. Check hosting access logs around the account's creation time.
Review what the attacker changed
Check form recipient emails, redirects, scripts in the header and footer, tracking IDs and checkout settings.
Ask your host for help if unsure
If you find backdoor files, restore from a backup taken before the breach or hire a cleanup specialist.
Compromised
- Unknown admin with full rights
- Old passwords and keys still valid
- Entry point still open
Secured
- Only named people have admin
- Passwords, salts and keys rotated
- Plugins updated, 2FA on
How to confirm it's fixed
- Every admin account matches a real person
- The database check shows no hidden admin users
- No new users appeared 24 hours after clean-up
- Form recipients, redirects and header scripts are as you set them
- Two-factor authentication is on for all admins
- A malware scan finds no unknown files
How to prevent it happening again
- Give each person their own account with the lowest role they need
- Use long unique passwords and two-factor authentication
- Update the core, plugins and themes promptly and delete unused ones
- Install an audit log that records user creation and role changes, with email alerts
- Limit login attempts and restrict admin access where you can
- Review the user list monthly and remove ex-staff and old agencies
How FunnelGuard handles this
This issue is outside what FunnelGuard checks. FunnelGuard runs a robot visitor through your customer journeys and tests form steps, tracking hits and lead delivery. It does not look inside your admin area or list your users. The kind of tool that fits is a security audit-log or site-security plugin (or your platform's built-in activity log) that records user creation and role changes, plus a malware scanner.
What FunnelGuard can still help with is checking your funnel after a clean-up, to confirm forms, checkouts and tracking work as intended. A free plan covers 1 site and 2 journeys.
Questions people ask
Why is there an admin user I didn't create on my website?
Most often an attacker added it after getting in through a weak password, an outdated plugin or a stolen login. It can also be an old agency or developer account. Check the creation date and email, and ask your team before deleting.
How do I remove a hacked admin user in WordPress?
Go to Users, find the account and delete it. Then reset all passwords, replace the salts in wp-config.php, update plugins and check the wp_users table for hidden accounts. Removing the user alone does not close the entry point.
Can a hidden admin user be missing from the WordPress Users screen?
Yes. Attackers can hide accounts with code or by editing the database. Compare the Users list with the wp_users table or run wp user list --role=administrator to see them.
What should I do first if I find an unknown admin account?
Back up the site, then change passwords for all real admins and turn on two-factor authentication. After that, delete the unknown account and look for how it was created.
Will deleting the rogue admin stop the hack?
Not by itself. The attacker may have backdoor files, other accounts or stolen keys. You need to scan files, rotate credentials and update vulnerable software too.
How do I get alerted when a new admin user is created?
Use a security or audit-log plugin or your platform's activity log that records user creation and role changes and can email you. FunnelGuard does not provide this, as it checks funnels rather than admin accounts.
Can a rogue admin steal my leads?
Yes. An admin can change form recipient emails, webhooks or scripts so leads go to another place. After a breach, check every form's destination and send a test lead.
Related issues
- OPS-149Backdoor files (web shells) on serverFix guide
- OPS-140Malware/redirect hack sending mobile/ad visitors elsewhereFix guide
- OPS-144Defacement (homepage replaced)Fix guide
- OPS-145Crypto-miner script injectedFix guide
- OPS-150Search Console security issues / manual actionsFix guide
- OPS-147Injected popups / malvertisingFix guide