WordPress: the doors a default installation leaves open
Operations and securityA freshly installed WordPress website provides a range of addresses anyone can open without logging in.
7 min read
By Timo Wessels Published
A freshly installed WordPress website has several addresses that anyone can open without logging in. Most of them belong to functions that a normal company website never uses.
That is not a fault of WordPress. It is a default for the general case. For your case it mostly does not fit.
The most important points first:
- Open addresses tell attackers who and what they can attack.
- You check this yourself in the browser, without logging in and without risk.
- Most of it is one line of settings.
Why this matters
With these addresses it is almost never about a single weakness. It is about groundwork.
A program that searches the web for attackable websites first collects information. Which software runs? Which version? What are the users called? Only then does the attack come.
Every open address saves the attacker a piece of that work.
Here is the scale, from the Patchstack report: in 2025 more than 11,000 new vulnerabilities became known in the WordPress world, 91 percent of them in plugins. For heavily exploited vulnerabilities, only 5 hours pass on average until the mass attack.
When a weakness in a certain version becomes known, the first sites to be found are those that openly name their version.
The open addresses one by one
The user list
The address /wp-json/wp/v2/users shows a list of users on a standard installation. You see display names and short names from which the login name can be derived.
Why it matters: A login has two parts. Whoever knows the user name already has half. And nobody changes user names regularly.
The author pages
The address /?author=1 leads to an author page on a standard installation. The login name is in its address.
That is the same result by another route. Whoever closes only the user list and forgets this has gained nothing.
The old remote interface
/xmlrpc.php comes from a time when people published blog posts from programs on their own computer. Hardly anyone needs it any more.
The problem: It accepts bundled requests. Someone can send many login attempts in a single call. That gets around limits that count per request.
A subtlety that is often missed: The usual switch, xmlrpc_enabled, blocks only the methods that need a login. That is what the WordPress documentation says. Other methods keep running, for example the pingback method. It is misused to turn other people’s WordPress sites into amplifiers for attacks. You have to remove it separately.
The version number
It appears in several places: in /readme.html, in an entry in the page head and as an addition to the addresses of style and script files.
A version number is harmless on its own. It becomes important through the five hours: whoever searches for the affected version finds the sites that name it voluntarily first.
The same goes for plugins. Their versions are often in the file paths too.
Directory listings
If someone opens a folder without a start file, the server may show a list of files. Then everyone sees what is there. In upload folders that is sometimes more than intended.
The log file
This is the most serious case. If error logging is on and the web server delivers the file, anyone can read it.
It contains what was recorded in case of errors. In the worst case it holds session IDs. With them, someone pretends to be a logged-in user.
That is exactly what the weakness in the LiteSpeed Cache plugin was in 2024. The plugin then had more than 5 million active installations. With logging switched on, login cookies ended up in the file /wp-content/debug.log, which anyone could open. It was not an exotic case but very widespread software.
The second, milder level
There is a related group that I rate smaller than it is often presented: building blocks that WordPress loads on every page, even when the page does not need them.
They include the emoji converter, the connection script for the edit view, the block stylesheet on pages without blocks and a few old references in the page head. Some point to services that no longer exist.
To be honest: The old references in the page head together are a few hundred bytes. Removing them is tidying up, not speeding up. Whoever sells it as a speed measure exaggerates.
Still, it is surface the page does not use. Less is better than more.
For the emoji converter and the connection script, the check is more worthwhile. Both run on every page. The script also asks the server at regular intervals.
One important caveat: If a page really uses a building block, loading it is correct. Criticising the block stylesheet on a page made of blocks would mean: break your own page. Test reports that criticise everything that is loaded do not help here.
How to check it yourself
Six addresses, six answers. Put them after your domain:
| Address | What you want to see |
|---|---|
/wp-json/wp/v2/users |
no user list |
/?author=1 |
no redirect to a name |
/xmlrpc.php |
an error page instead of “XML-RPC server accepts POST requests only” |
/readme.html |
an error page instead of the version number |
/wp-content/uploads/ |
an error page instead of a file list |
/wp-content/debug.log |
an error page. Always. |
The version entry in the page head: Press Ctrl+U, then Ctrl+F. Search for name="generator".
The loaded building blocks: Open the developer tools with F12, choose “Network” and reload the page. It shows what is really loaded.
The check takes five minutes. Repeat it after every bigger rebuild.
What you can do
Most of it is one line of settings.
1. Close the user list and the author pages together. Remove the user addresses from the interface. Redirect calls with an author parameter to the home page. The two belong together. One alone achieves nothing.
2. Switch the old remote interface off twice. Use the switch for the login methods and remove the pingback methods.
3. Remove the version entries from the page head and from the addresses of style and script files.
4. Block the description files. Return an error response for readme.html, license.txt and wp-config-sample.php.
5. Switch off directory listings.
6. On the live site: error display off, logging on, and the server does not deliver the log file.
7. When tidying the building blocks: unhook the emoji converter, the connection script and the old references. Remove the block stylesheet only where there really are no blocks.
One thing not without preparation: You can move the login path. That is the only measure on this list where you can lock yourself out. Do it only with a second administrator account for testing and with a backup.
What this is not
Two notes against wrong conclusions.
Recognisable plugins are not a defect. You can see which plugins run from the outside by the file paths. That is an inventory, not a judgement. A plugin is not bad just because it can be recognised. It is a problem if it is outdated or nobody needs it.
This list is not the main point either. Three other things weigh more than all the items here together: current software, few plugins, proper credentials.
Whoever closes every door and leaves a plugin for a year without updating has gained nothing. Whoever updates cleanly and never touches this list is much better off.
The order in practice: first updates and backups, then tidying plugins, then credentials and two-factor login. After that, this list. It is cheap and quick, but it is not the beginning.
Sources
- Patchstack, State of WordPress Security in 2026 — more than 11,000 new vulnerabilities in 2025, 91 percent in plugins, a median of 5 hours to mass exploitation: patchstack.com(external site: patchstack.com)
- WordPress Developer Resources, xmlrpc_enabled — the filter blocks only methods that need a login: developer.wordpress.org(external site: developer.wordpress.org)
- WordPress Developer Resources, REST API Handbook: Users — the user addresses of the interface: developer.wordpress.org(external site: developer.wordpress.org)
- Security Affairs, A flaw in WordPress LiteSpeed Cache Plugin allows account takeover, after the Patchstack report — a plugin with more than 5 million active installations, cookie data in
/wp-content/debug.log: securityaffairs.com(external site: securityaffairs.com) - F5 Labs, CVE-2024-44000 (LiteSpeed Cache Account Takeover) — with logging on, session data sits in
/wp-content/debug.log, and the file can be opened publicly: f5.com(external site: f5.com) - Rheinwerk, Barrierefreie Webseiten, ch. 13.3 — weigh the benefit and risk of plugins, check the number of installations and the last update first.
- Own testing practice — the six check addresses with the expected answers, the old head references as tidying, the caveat for building blocks in use, recognisable plugins as an inventory, the order against updates, fewer plugins and credentials, and the single settings in the list “What you can do”.