Our Privacy Policy describes who collects the data, why and for how long.

The site ran on outdated PHP with 21 updates waiting

In short

The site ran on a PHP version that has not received security fixes for several years, and 21 updates were waiting in the dashboard. Two utility plugins were permanently switched on: one for copying and moving the site and one for replacing text across the whole database. Logins could be checked from outside, and the server sent no security headers at all. We updated PHP, WordPress and the plugins, removed the unnecessary tools, changed the passwords and closed the ways to guess logins.

Conditions we worked in

First we checked the site from outside and reviewed the dashboard in read-only mode, without changing anything. We started the repair with a full backup of the files and the database. We tested the new PHP version and the updates on a copy of the site first, and installed them on the live site only once the copy worked without errors.

What we found

We list the issues from the most urgent. Technical details that could help an attacker stayed in the report for the client.

A PHP version without security fixes

What it was. The site ran on PHP 7.4. PHP is the language WordPress is written in, and this version has not received security fixes for several years.

What could happen. Vulnerabilities found in this version will no longer be fixed. New plugin versions also often require a newer PHP, so the old version was blocking their updates as well.

How urgent. High: fix within 2 weeks.

Evidence. The "Site Health" screen in the WordPress dashboard.

21 pending updates

What it was. 21 updates were waiting in the dashboard, and almost every plugin had a newer version. Plugin versions were visible in the addresses of the site's files.

What could happen. Plugin updates often fix published vulnerabilities. Since the versions were visible from outside, anyone could check which fixes the site was missing.

How urgent. High: fix within 2 weeks.

Evidence. The list of updates in the dashboard and the versions in the addresses of the site's files.

Tools for copying the site and replacing content switched on permanently

What it was. Two utility plugins were permanently switched on. The first makes full copies of the site for moving it, and the second replaces text across the whole database in one click. Next to them sat three deactivated plugins that nobody used.

What could happen. The copying plugin saves an archive with the site's files and database on the server. Such an archive, left in the wrong place, can be downloaded by anyone, as in our story about a database backup. The text replacement plugin changes the whole database at once, so a mistake or a hijacked account can break the entire site. Every unnecessary plugin, even a deactivated one, is extra code in which a vulnerability can appear.

How urgent. Medium: fix within a month.

Evidence. The list of plugins in the WordPress dashboard.

Logins that could be checked from outside and no security headers

What it was. The old remote publishing interface (XML-RPC) was active, and the list of accounts could be read from outside in two ways. The server sent none of the 6 common security headers.

What could happen. XML-RPC allows many passwords to be tried in a single request, and the list of accounts shows which logins exist. Without security headers the browser gets no instructions on how to protect visitors, for example from the site being embedded in someone else's frame.

How urgent. Medium: fix within a month.

Evidence. The response headers of the home page and public WordPress addresses checked without logging in.

What we did

First we made a full backup, then we updated the software, cleaned up the plugins and secured the login, and finally we checked the site from outside.

Backup

  • Before starting, we made a full copy of the files and the database and stored it off the server, so the previous state could be restored if anything went wrong.

PHP, WordPress and plugins

  • We moved the site to PHP 8.3, so the server receives security fixes.
  • We installed all 21 pending updates of WordPress, the theme and the plugins, so known vulnerabilities are fixed.
  • We tested every change on a copy of the site first, so the live site kept working without interruption.

Plugin clean-up

  • We removed the copying and moving plugin together with its backup folder, so there is no archive on the server to download.
  • We removed the database text replacement plugin, because it is only needed while a site is being moved.
  • We removed three deactivated plugins, so there is less code on the server to look after.

Passwords and login

  • We changed the passwords of the administrator accounts and the access details for the hosting, the file server and the database, so old details no longer open the site.
  • We replaced the WordPress login keys, so all earlier sessions expired.
  • We limited the number of login attempts, so passwords cannot be guessed endlessly.
  • We turned off XML-RPC and hid the list of accounts, so outsiders cannot check which logins exist.

Server settings

  • We added 6 security headers, server settings that tell the browser how to protect visitors.
  • After the work we checked the site from outside: the headers are sent, and XML-RPC and the list of accounts do not respond.

Result

  • Pending updates in the dashboardBefore: 21After: 0
  • PHP version on the serverBefore: 7.4After: 8.3
  • Security headersBefore: 0 of 6After: 6 of 6
  • Utility plugins switched on permanentlyBefore: 2After: 0
What we checkedBeforeAfterHow we checked
Pending updates in the dashboard210the list of updates in the WordPress dashboard
PHP version on the server7.48.3the "Site Health" screen in the dashboard
Security headers0 of 66 of 6the response headers of the home page
Utility plugins switched on permanently20the list of plugins in the dashboard
Ways to check logins from outside30XML-RPC and two public addresses with the list of accounts, without logging in

What the client gained

The site runs on a supported PHP version, and WordPress and the plugins are up to date. The server no longer has tools for copying the site and replacing content, or plugins that nobody used. New passwords and replaced login keys shut out anyone who knew the old details. Logins can no longer be checked from outside, and the browser receives security headers.

Which package would catch this today

Some of these issues are visible from outside, and some only in the dashboard.

FindingFrom which packageWhy
No security headersQuick checkThe Quick check checks the response headers of the home page.
Outdated pluginsWebsite reviewPlugin versions were visible in the addresses of files, so the review compares them with the manufacturers' releases and with databases of known vulnerabilities.
XML-RPC and the list of accounts available from outsideWebsite reviewThe review checks these addresses without logging in.
PHP versionFull audit with accessThe dashboard always shows the PHP version. From outside it is visible only when the server reveals it, and then the Quick check already reports it.
Number of pending updates and utility pluginsFull audit with accessThe full list of plugins and updates is visible only in the dashboard.

What to ask your contractor

You can ask these three questions to the company that runs your website.

  1. "Which PHP version does my site run on, and until when does that version receive security fixes?"
  2. "How many updates are waiting in the dashboard, and who installs them?"
  3. "Do you remove plugins for copying and moving the site once the work is done?"

We write more about how sites are taken over through outdated plugins in the article on WordPress break-ins through plugins, and about old PHP in the glossary entry Outdated software and your server's PHP version.

Why no name

We do not give the client's name or industry, because we describe how their site is secured.

Check for free whether your website has similar problems: enter its address and you will see the first results in about a minute.

The check is free and needs no account, e‑mail or passwords. It analyses your website through the eyes of an ordinary visitor, without touching its code. Rules of the check