Guides · ← All guides
WordPress Security Scan: The Exposures an Assessment Finds on WordPress Sites
Published: November 14, 2026 · Last reviewed: November 14, 2026 · 8 min read
Run a free BreachHunter assessment on your site →
WordPress runs a plurality of the web, which makes it the most scanned platform on earth: botnets do not check whether a site is WordPress out of curiosity — the wp-login and wp-config probes are simply in the default rotation for every IP range. An assessment gives you the defender's copy of that same rotation.
This guide covers the WordPress-specific rows in the scanner's check tables and the order they matter: the backup file that hands over the database, the version disclosure that aims exploits, the admin surface that absorbs the brute force, and the hygiene (updates, plugin inventory) that determines whether any of it becomes a compromise.
The backup file that outranks everything else
In the sensitive-paths table, /wp-config.php.bak is rated HIGH (8 points) with the explanation “a backup of wp-config.php is readable — WordPress database credentials leak.” wp-config.php is WordPress's crown-jewel file: database name, user, password, and the authentication keys and salts. The .bak exists because an editor, an admin tool or a cautious human saved a copy in place — and unlike the .php original, the .bak is served as plain text by most servers, no PHP execution required.
Its cousins ride along in the same probe set: database dumps (backup.sql, db.sql — HIGH), full-site archives (backup.zip — HIGH) and the exposed-config family generally. For WordPress sites these findings, not exotic zero-days, are the modal catastrophe: one GET request, full database credentials, game over. The response mirrors the .env playbook: remove, then rotate the credentials the file contained.
Version disclosure, wp-admin, and the update discipline
WordPress advertises itself generously: generator meta tags, readme.html, plugin asset versions in page source. Alone, each is trivia; together they let an attacker match your exact core and plugin versions against the public CVE list and pick the working exploit — the banner problem of version disclosure with a CMS accent. The fix is partial (you can suppress the generator tag and delete readme.html) because determined attackers fingerprint versions other ways; the real defense is the update cadence that makes the disclosed version a patched one.
The /wp-admin/ row is the honest one: MEDIUM, because a reachable login is normal for WordPress — the finding text expects “constant brute-force attempts” and prescribes the controls that make reachability safe: strong passwords plus MFA, login-attempt limiting, and IP restriction where the team is small enough. An assessment cannot judge your passwords from outside; it reports the surface and the standard mitigations, and a clean WP report is mostly a short list of these rows, closed.
Worked example: seasideyoga.example
Seaside Yoga Retreats books classes and retreats through WordPress with a payments plugin. Its assessment's WordPress rows came back:
Sensitive paths (WordPress): seasideyoga.example /wp-config.php.bak -> 200 HIGH (-8) database credentials in plain text /wp-admin/ -> 200 MEDIUM (-5) login reachable, no rate limiting evident readme.html -> 200 version disclosed: matches page-source fingerprint
The .bak was deleted and the database password rotated the same morning (the file's salts were regenerated too, logging everyone out — announced, brief, necessary). Login limiting and MFA for the two admin accounts followed that week. The retreat's next scan showed the entire WordPress section clean except the wp-admin note itself, now answered by controls rather than hope — the steady state every WP site should aim for.
The five actions to take
The WordPress rows of your report, closed in order:
- Delete wp-config backups, SQL dumps and site archives from the web root — then rotate every credential any of them contained.
- Turn on automatic core and plugin updates; delete plugins and themes you do not use (deactivated still counts as present).
- Put MFA and login-attempt limiting on every admin account; use unique admin usernames, never “admin”.
- Remove readme.html and suppress version disclosure where your stack allows it.
- Re-scan monthly: WordPress findings regress through updates, restores and well-meaning file copies.
Run a free BreachHunter assessment on your site →
Frequently asked questions
Is a reachable /wp-admin/ itself a vulnerability?
It is an exposure, rated MEDIUM, because the login is a permanent brute-force target. With MFA, strong unique passwords and attempt limiting, a reachable admin is an accepted, managed risk — most WordPress sites cannot practically hide it, and security-through-obscurity plugins are the weaker play.
Why is wp-config.php.bak worse than wp-config.php?
The .php file executes on the server and normally returns nothing readable. The .bak is a static text file the server happily downloads to anyone who asks — same contents, no execution barrier. That is why the backup rows carry the high ratings.
We keep WordPress updated. Why scan at all?
Updates close the CVE route. The scan covers the non-CVE routes: backup files, dumps, exposed paths, headers, TLS, ports — the configuration layer that updates do not touch and where most small-site findings actually live.
Should we rename the login page to hide it?
Renaming reduces background bot noise and is harmless, but it is not a control an assessment credits: determined probing finds the real endpoint via other routes. Spend the effort on MFA and limiting first; rename afterwards if you like the quieter logs.
How did the .bak file get there if nobody created it?
Usually an editor's automatic backup on save, a migration tool, or a file manager operation inside the host's control panel. The creator rarely knows the web root serves it. This is why the fix includes a deny rule for backup extensions at the server, not just deleting today's file.
Between scans: the update log habit
WordPress findings are usually born between scans, in the gap where a plugin update sat unapplied for six weeks. A one-line log closes that gap: every time WordPress, a theme or a plugin updates — or is found waiting — note the date and the version in a shared note. Two minutes, no tooling.
The log pays off twice. It proves the update discipline a questionnaire or an insurer asks about, and when a vulnerability is announced in a plugin you run, the log tells you in seconds whether your version is the affected one — no logging in, no archaeology, just a date and a number you already wrote down.
Sources
The references this guide stands on — standards, specifications and official documentation:
- WordPress Developer Handbook — Hardening WordPress (2025) — the project's own hardening guidance.
- WordPress.org — FAQ: My site was hacked (2025) — the official recovery sequence.