WPScan Security Lab 1.0 banner for a WordPress security testing tutorial

171,132 Requests Later: What WPScan Actually Found in Our WordPress Lab

WPScan Security Lab 1.0 — Part 2

In Part 1, we built a local WordPress security lab on my Linux workstation, Proteus. Docker gave us a disposable place to experiment, and WPScan gave us a way to inspect the installation without bothering a production website or its hosting company.

Then I launched the first scan.

For a while, there wasn’t much to see. When a command-line scanner is busy writing a JSON report, a quiet terminal can make you wonder whether it’s working or contemplating its existence.

Eventually, baseline.json gave us an answer. And some fairly astonishing numbers.

171,132 Requests. Three Minutes. One Very Busy WordPress Installation.

Our first run used WPScan 4.2.0 against the local lab at http://127.0.0.1:8092/. The report recorded 171,132 HTTP requests in 192 seconds—roughly 890 requests per second.

Here’s the response breakdown from our actual report:

  • 169,973 responses: HTTP 404 (not found).
  • 1,147 responses: HTTP 200 (OK).
  • 10 responses: HTTP 403 (forbidden).
  • 1 response: HTTP 302 (redirect).
  • 1 response: HTTP 500 (server error).

The scanner sent about 46 MB and received about 65 MB. On a development workstation, that’s an interesting experiment. On a shared production hosting account, that could be a distinctly unwelcome afternoon.

Why so many requests? I asked WPScan to enumerate all plugins and themes, and I selected mixed plugin detection. That tells it to do more than glance at the home page. It checks potential plugin locations too. Most of those requests return a perfectly ordinary 404 because the thing being tested simply isn’t there.

Lesson one: A high request count isn’t evidence of a compromised website. It is evidence that our chosen scan settings were enthusiastic.

And it’s a good reminder to run noisy experiments on systems we own and control—not casually against a live business website.

What Did It Actually Find?

WPScan grouped four observations under interesting_findings. That heading is important. An interesting finding is not automatically a vulnerability.

1. The Server Told Us What It Was Running

From ordinary HTTP response headers, WPScan recorded:

Server: Apache/2.4.69 (Debian)
X-Powered-By: PHP/8.4.27

That is useful fingerprinting information. It reveals the web server and PHP versions being advertised at the time of the scan.

Is it a security hole? Not by itself. A version number isn’t the same as an exploitable flaw. But I would rather know what my own server is disclosing, and I certainly want to make sure the installed software is patched.

2. XML-RPC Responded

WPScan reported that /xmlrpc.php seemed to be enabled, with 100% detection confidence.

XML-RPC is a long-standing WordPress interface used for certain remote interactions. It can also be an unnecessary attack surface when a site doesn’t need it.

That doesn’t mean the scanner found somebody exploiting it. It means the endpoint responded in a way WPScan recognizes. On a real site, the next question is whether any legitimate integrations still rely on XML-RPC. If not, restricting access may be sensible.

3. The WordPress Readme Was Accessible

It also found /readme.html.

This is more of a housekeeping issue than a dramatic discovery. It’s a standard WordPress file, not a database password or customer list. Still, it’s useful to inventory publicly accessible files and remove unnecessary ones where appropriate.

4. WP-Cron Looked Accessible

The report said the externally reachable /wp-cron.php endpoint seemed enabled. This one carried only 60% confidence.

Interestingly, our Docker configuration had already set DISABLE_WP_CRON to true. Contradiction? Not necessarily.

That setting disables WordPress’s usual automatic cron spawning on page loads; it does not necessarily block somebody from directly requesting the wp-cron.php URL. WordPress documents calling that file directly when using a system task scheduler.

In other words, the scanner measured endpoint behavior. It did not verify how our scheduled tasks were configured.

A Strange Plugin Discovery

The scanner identified Akismet, but didn’t establish its version. A request to its plugin directory returned HTTP 403. That can indicate an inaccessible directory; it doesn’t tell us whether the plugin is active or vulnerable.

Then things got odd. It reported another supposed plugin using a URL as its name:

https://github.com/placetopay/woocommerce-gateway-placetopay

The record includes an HTTP 200 response associated with that GitHub URL. That is not sufficient evidence that the WooCommerce gateway plugin was installed in our clean local WordPress site. The scanner’s discovery needs to be checked against the actual plugin inventory.

This is the kind of thing I want this lab to teach us: security tools are good at producing clues, but you still have to think about the evidence. A confident-looking entry in a JSON file is not a substitute for verification.

Three Themes, No Reported Outdated Flag

WPScan identified Twenty Twenty-Five as the main theme and also detected Twenty Twenty-Four and Twenty Twenty-Three. None was marked outdated in the report.

The report also included theme version numbers and WordPress.org metadata that didn’t agree perfectly for every theme. That is another reason to compare scan output with the site’s actual installed inventory and available updates.

One more detail: the top-level WordPress version field was null. The scan did not establish a WordPress core version in that field. It would be a mistake to fill that gap by guessing.

Good News About Backups? Not Quite.

The report listed no discovered configuration backups and no database exports in the locations it checked.

That’s encouraging, but it doesn’t prove sensitive files cannot exist elsewhere. It means this particular scan didn’t find them with these checks.

The Most Important Result Was Missing

Here’s the line that matters most:

No WPScan API Token given, as a result vulnerability data has not been output.

Our JSON report contains empty vulnerability arrays. That does not mean WPScan checked every component against known vulnerabilities and found nothing. It means the vulnerability-data lookup was unavailable in this run.

WPScan can do discovery without an API token. To associate the discovered versions with vulnerability records, however, the tool needs access to its vulnerability database API. WPScan documents a free API allowance, subject to its current terms.

Lesson two: “No vulnerabilities reported” and “No vulnerability data available” are two very different statements.

We’re not going to put a big green SECURE stamp on this installation simply because the report contains empty arrays.

How to Read Your Own JSON Report

You don’t need a giant dashboard just to answer the first few questions. From the lab directory, this small Python script summarizes the report using nothing beyond Python’s standard library:

python3 - <<'PY'
import json
from pathlib import Path

report = json.loads(
    Path("reports/baseline.json").read_text()
)

print("Target:", report["target_url"])
print("Requests:", report["requests_done"])
print("Elapsed seconds:", report["elapsed"])
print("HTTP statuses:", report["response_status_codes"])
print("Core version:", report.get("version"))

for item in report.get("interesting_findings", []):
    print(
        f"- {item['type']}: {item['to_s']} "
        f"(confidence {item['confidence']}%)"
    )

print("Vulnerability API:", report.get("vuln_api"))
PY

It’s not a vulnerability assessment. It’s simply a repeatable way to see what the scanner actually recorded, without scrolling through hundreds of lines of JSON.

What About That One HTTP 500?

Out of 171,132 requests, one returned an HTTP 500 server error. That’s worth noting, not sensationalizing.

The report does not tell us which application error caused it. A single error during an aggressive scan is not enough to identify a security weakness, and it certainly doesn’t prove the website crashed. If it repeats during a controlled follow-up, we’ll correlate it with Apache, PHP, and WordPress logs.

What We’ll Do Differently Next Time

Now that the first baseline exists, I have a much more useful checklist for the second pass:

  • Verify the inventory. Compare detected plugins, themes, and WordPress core version with what the WordPress dashboard actually reports.
  • Check the questionable observations. Confirm the XML-RPC and WP-Cron behavior, and investigate the plugin entry that points to GitHub.
  • Add vulnerability data. Configure a WPScan API token securely, without putting it in a public repository or screenshots.
  • Reduce unnecessary noise. Try a narrower, passive scan and compare its coverage and request count with our 171,132-request baseline.
  • Look at logs when something repeats. An isolated HTTP 500 is a note; a reproducible error with a cause is something we can work on.

And before pointing this at any real business site, there’s another piece of housekeeping: review WPScan’s license and any commercial-use terms. Tool availability and permission to use it commercially are separate questions.

The Real Point of This Exercise

The most useful thing we learned wasn’t that XML-RPC exists or that a readme file is accessible. It was how to separate what a scanner observed from what we can responsibly conclude.

That sounds obvious until a report presents 171,132 requests, several high-confidence detections, a mysterious plugin, and a collection of empty vulnerability arrays. It’s tempting to treat all of it as a verdict.

It isn’t. It’s the beginning of an investigation.

Next we’ll make the lab more representative of the sites we maintain, work with a sanitized copy of a real WordPress installation, and start comparing what the scanner can see with what is actually installed.

I’d much rather learn those lessons on Proteus than on somebody’s production website.

Software should eliminate work, not manufacture more of it. That includes security software.

WPScan Security Lab 1.0 — Part 2 of the Business Aggravations series. Read Part 1: Build Your Own WordPress Security Testing Lab.

Further reading: WPScan user documentation · WordPress documentation: WP-Cron and system schedulers · WPScan 4.x scanning options

Got a business aggravation of your own?

Tell me what's driving you crazy. Sometimes the solution is simpler than you think. Your message goes directly to me, not into public comments.

Private inquiry. Please don't include passwords, payment details, or sensitive customer information.