A stranger got administrator access to one of my WordPress sites without ever knowing a password, and sixty-one seconds later had a backdoor installed. I know the number because the server wrote every step down. This is the story those logs told, what I did about it, and the checks you can run on your own server today.

I'm leaving out site names, accounts, addresses, file names and the exact requests. The goal is to help you defend a server, not to hand anyone a recipe.

The night before, someone checked the doors

The first trace is from the evening of August 28, a little before eight. A burst of requests went through the hosting control panel, listing accounts and domains, and tried its one-click WordPress login feature a few times. Nothing came of it. Only later, reading the logs, did it look like what it was: a scout walking down a hallway, trying handles.

Sixty-one seconds

The next morning, a Saturday, the same feature was used properly. At 9:38 server time, requests hit the panel's WordPress auto-login. That feature works by dropping a tiny temporary PHP file into the site's folder. The file loads WordPress, picks an existing administrator, issues a login cookie, deletes itself and redirects the browser to the dashboard. It is meant to save the owner a password prompt.

At 9:39:03 that temporary file was requested and the server answered with a redirect. The visitor was now inside the dashboard as an administrator, and the real owner's password had never come into it.

From there, the log is almost rude in how little time it wastes. Inside the next minute the visitor opened the user screens and created new administrator accounts. At 9:40:04, one minute and one second after the redirect, a theme upload arrived. It was a fake theme, and its main file was a webshell: a small page that runs operating-system commands for anyone who knows its secret.

I want that number to land. No brute force, no hours of guessing. A feature built for convenience was used as a door, and a minute later there was a second, quieter door.

A pink stopwatch showing 61 sits between an open padlock on a browser window marked 09:39 and a dark terminal window marked 09:40.

I confirmed the first part myself. One of the leftover temporary files, opened in a controlled way, logged me in as an administrator without any password prompt. It's an uncomfortable thing to watch work.

What the visitor did next

Around noon, the webshell was used to run ordinary Linux commands. One of them just counted lines in the system's user list. It looks like nothing, and that's exactly the point: it's what you run to find out where you are. It doesn't mean the file was changed, and I found no evidence of root access. But it proved the step that matters most. A WordPress administrator had become someone who could run commands on the server.

Over the next days other addresses used the same webshell. Two extra PHP files appeared, with encoded payloads that I decoded offline and never ran. Some variants could tamper with security and cache plugins, edit WordPress configuration, create hidden folders, and rewrite server rules so that search engine crawlers would see different content than people did. Not every file I examined did all of that, and I can't claim they did.

On September 2, in the small hours, someone scanned the panel for other hosting accounts on the same machine. The same temporary login file had also shown up on two other sites of mine, though I found no webshell or second stage there. On September 3 came a second wave: six more administrator accounts and two more fake themes. In total, nine unauthorized administrators.

If you only take one thing from this section: they weren't done after getting in. They made copies of their access. Cleaning up the first webshell alone would have left the rest of their access in place.

It wasn't only me

A few days later, a large hosting company announced it had temporarily closed the panel's admin ports on its CWP servers as a precaution. Its notice pointed to a weakness in the WordPress auto-login feature that had arrived in a May 2026 panel release. The ports were later reopened after the panel's 1.12 update, which the company says addresses the problem. You can read the announcement here.

That fits what I saw. It does not prove that the exploit used on my server is the same code, and it doesn't tell me who was behind it.

Talking to the other side

My logs gave me two clues. The webshell asked for a secret key whose parameter name looked like a signature, and the fake administrators shared a distinctive prefix. Searching the public chat communities where this kind of tooling is traded, I found a place where the same style of workflow was described days before my incident: gain admin access, add a rogue theme or plugin, run commands.

I went in under an alias and asked one of the regulars a single question: did the key name in my webshell look familiar?

They said it did. Then, over a few minutes, they said it was a zero-day, said they planned to get a CVE assigned, said I had probably run into an automated exploit, and said they had sold the exploit on. They also said they didn't know the site I was asking about. In another part of the conversation they mentioned that wiping web server logs without root access is hard.

I can't verify any of it. It's talk in a chat room. It is consistent with the attack style, and it lines up with a vendor later confirming a weakness in this feature. But it is not a confession, and an exploit that gets sold can be used by many hands. So I don't name the person or the group, and I don't treat a recognized word as a verdict. I'm also deliberately not naming the community. Attention is what such places want, and they don't deserve a reputation boost from my article.

Building the walls back

Cleanup was the slow, careful part. Before I deleted anything I copied each suspicious file, recorded its timestamps and hashes, and only then quarantined it. The nine rogue accounts went the same way: database backup first, removal second. Evidence you've destroyed can't answer questions later.

Then the structural changes:

  • The management panel left the public internet. Its ports are now reachable only through a private network, a Tailscale tailnet in my case.

  • SSH followed. Key-only login, passwords off, old keys removed, and access limited to my own devices.

  • Every credential was rotated. Server, hosting and application. I also regenerated WordPress's secret salts and revoked its application passwords.

  • The shop stayed public; the admin side didn't. Visitors still use the site normally, while WordPress admin screens are reachable only from the private network.

  • The attacker's addresses were blocked. It's a small step that matters less than people think, since addresses are cheap to change.

Two panels. Left, pink: a server with arrows arriving from every side. Right, blue: the same server inside a dashed private circle, five arrows stopped by red crosses, and one trusted laptop with a key passing through.

I also upgraded my monitoring. A daily reporting script I call Server Guardian now checks logins, file changes, WordPress file integrity, odd PHP files and firewall state. A second layer, Sentinel, watches critical files and processes through Linux auditing. At first both were noisy: a legitimate password change and a language-file difference in WordPress were flagged as critical. Learning to separate "authorized change" from "attack" mattered as much as detection itself. And to be honest about limits, Sentinel raises alerts. It does not block anyone.

Checks you can run today

These are defensive and safe to run on a server you own. Replace the placeholders with your own values.

First, look for administrators you didn't create:

wp user list --role=administrator --fields=ID,user_login,user_registered

Then look for themes or PHP files that appeared recently, especially in places PHP shouldn't live:

ls -lt wp-content/themes | head
find wp-content/uploads -name '*.php'
find wp-content -name '*.php' -mtime -7

Next, make it hard to repeat the theme trick. Adding these two lines to the WordPress configuration disables the built-in file editor and blocks installing or changing themes and plugins from the dashboard. You'll then do updates through the command line or your deploy process, which is a good habit anyway:

define('DISALLOW_FILE_EDIT', true);
define('DISALLOW_FILE_MODS', true);

Also stop PHP from running inside the uploads folder. In Nginx:

location ~* ^/wp-content/uploads/.*\.php$ { deny all; }

Lock SSH down to keys:

PasswordAuthentication no
PermitRootLogin prohibit-password

Finally, treat a web server that launches a shell as an alarm bell. With Linux auditing you can log every program your web user starts, and then review it for anything that isn't your own code:

auditctl -a always,exit -F arch=b64 -S execve -F uid=<web-user> -k webexec

None of this replaces patching the panel. Update it, close its ports to the public, and don't assume a convenient feature is a safe one.

What I still don't know

I don't know who was behind it. I found no proof of root access, but a process that can run commands as the web user can already do plenty of damage, so "no root" is not the same as "safe". And I can't say for certain which flaw opened the door, only that the evidence points at one feature and a vendor later described a weakness in it.

What the logs did show me is a rhythm. A scout one evening. A minute from the front door to a hidden second one. Days of quiet copying. If I hadn't preserved those logs, I'd be telling you a much vaguer story, and I'd have trusted a much cleaner-looking server.