The Foundry Cyber blog

PHP2Shell: what last week's PHP flaw means for your business website

· 3 min read

Last Wednesday, the team behind PHP pushed out an emergency fix for two serious security holes. If you run a business website, there’s a good chance this affects you, even if you’ve never heard of PHP.

Here’s what’s going on in plain English, and what to do about it this week.

What’s happened

PHP is the software that runs behind most websites. WordPress is built on it, and roughly 7 in 10 websites use it.

On Wednesday 21 October, PHP released urgent fixes for two flaws that researchers have nicknamed PHP2Shell. Put simply, they let an attacker take control of the server your website runs on. No password, no login, nobody needs to click a dodgy link. The attacker just sends the right requests to your site.

Why this one is serious

Security flaws come out every week, and most don’t deserve a blog post. This one does, for four reasons.

What it could mean for your business

Attacks like this aren’t personal. They’re automated, and they sweep across thousands of websites looking for any that haven’t been fixed. Small businesses get hit because they’re easy, not because anyone picked them.

If someone gets in, the usual results are:

If customer data is involved, you may also have to report it to the ICO within 72 hours.

What to do this week

  1. Ask one question. Email whoever looks after your website and ask: “Has our site had the PHP security fix from 21 October?” If they’re not sure, that’s your answer.
  2. Check your version if you can. In WordPress, go to Tools, then Site Health, then the Info tab, and open the Server section. If your PHP version starts with 7 or 5, or is 8.0 or 8.1, it’s no longer supported and needs upgrading, not just patching.
  3. If your site wasn’t fixed last week, have it checked. Ask for a look for signs of a break-in, not just an update. Fixing the hole doesn’t remove anyone who’s already got in.

One more thing. If you’re told there’s nothing to worry about because your site sits behind Cloudflare or a firewall, get a second opinion. Those help, but they don’t fix PHP.

If you’d like us to check your site, see our website security service or get in touch and we’ll tell you plainly where you stand.

For whoever manages your website

Forward this section to whoever manages your website.

All posts

Onboarding new customers now

Not sure where to start? That's fine.

Tell us a little about your business and what you need help with. We'll tell you what we'd recommend, and whether we're the right people for the job.