Security Leadership

Your Website Probably Runs PHP. Here’s What a Small Contractor Should Check This Week

If your company has a website, there’s a good chance it runs on PHP. WordPress does, and so do a lot of client portals, intranet tools and the admin pages on network appliances. On October 21 the PHP project fixed two flaws that let an attacker run their own code on a web server without logging in. If you’re a small contractor, this is a week to check, not a week to assume your host has it handled.

What happened

The two vulnerabilities are CVE-2026-109618 and CVE-2026-109619, which people have started calling PHP2Shell. The PHP project rates each one 9.2 out of 10. Its advisory says every PHP installation serving web requests is at risk, whether it runs under PHP-FPM, Apache’s mod_php, php-cgi, FrankenPHP or LiteSpeed. It considers mod_php the most exposed, with a working exploit that fires before any of your application code runs.

The fixed versions are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Treat any earlier release on those branches as vulnerable. PHP 8.1 and older no longer get updates from the PHP project at all, though some Linux distributions and long-term support vendors have backported fixes.

CISA put out an alert the same day. It said it hadn’t seen exploitation yet, and told organizations that can’t update right away, or that still run PHP 8.1 or earlier, to take those systems offline until they’re patched. Singapore’s Cyber Security Agency and NHS England issued their own alerts.

Amazon’s threat intelligence team added the detail that changes how you should read all of this. Its honeypot network caught an exploit attempt on October 17, four days before the flaws were public. More attempts came in the early hours of October 21, before the embargo lifted, and new proof-of-concept exploits were being used against its sensors within hours of disclosure. Amazon’s advice is to start any investigation from October 17, not from the announcement date.

Then on October 23, the PHP project followed up with advice to switch off a feature called session upload progress until its next regular release, because of a related, much narrower issue now tracked as CVE-2026-115560.

The same week, Jason Clinton, Anthropic’s deputy chief information security officer, posted on X that “as bad as things have gotten in the past 4 days, they are going to get a lot worse before they get better.” His advice to security leaders was to go to their boards and ask for help right now: “Not for AI, for the basics.” He didn’t name PHP, but a critical flaw in a language that runs a large share of the web, exploited before it was announced, is about as basic as it gets.

Who’s actually responsible for patching

Before the checklist, one question that saves a lot of time: whose job is this? For most small contractors the answer is split three ways, and each piece needs a different phone call.

If you’re on a managed WordPress or website host, the host runs PHP and patches it. Your job is to confirm it happened. If you’re on a basic shared or virtual server plan, the provider may patch the operating system but leave the PHP version to you, often as a setting in a control panel. If someone built your site and left it running on a server in your name, nobody is patching it unless you make it someone’s job. That last situation is more common than people like to admit, and it’s the one that gets hit.

The same split applies to every other system on your list. A vendor’s appliance gets patched when the vendor ships an update and someone installs it. A tool your team self-hosts gets patched by whoever set it up, if they still work for you.

The five checks

None of these need a security team. They need someone who knows where your systems are and is willing to ask a few direct questions.

1. Find everywhere PHP runs

Start with the obvious one: your public website. Then think wider. Client or vendor portals, a time-tracking or ticketing tool on a server in the closet, a customer-facing form someone built years ago, the web interface on a firewall or storage box. CISA’s alert makes the point that PHP is often a component inside other software, so it won’t always show up as “PHP” in anyone’s inventory.

If you run your own servers, php -v on each one tells you the version. For a website, the response headers sometimes give it away, though a well-configured server hides them:

curl -sI https://www.yourcompany.com | grep -i x-powered-by

If that returns a version number, you’ve learned two things: what you’re running, and that the server is telling everyone else as well. Setting expose_php = Off in php.ini stops that.

2. Patch, then restart

Update to one of the fixed versions. Linux distributions received the patches before the announcement, so for most servers this means running your normal package update. The step people forget is restarting PHP-FPM or the web server afterward. Until the old worker processes are gone, the old code is still the code serving requests.

If something genuinely can’t be patched this week, the PHP project lists configuration changes that cut off specific attack paths, including setting session.upload_progress.enabled=0 and restarting every worker. Its advisory is blunt that these “do not make an installation safe.” They buy time. They aren’t a fix.

3. Ask your host, in writing

Most small contractors don’t run their own web server. A hosting company or a managed WordPress provider does. Good hosts patch quickly, but “we’re on it” isn’t the same as “done,” and you should know which one you’ve got.

Send a short email: which PHP version is my site running right now, when was it updated to a fixed release, and has anything unusual shown up in the logs since October 17? Keep the reply. If you ever have to explain your response to a customer or an assessor, a dated answer from your host is worth more than a recollection.

4. Look for signs someone got in first

Because exploitation started before disclosure, patching closes the door but doesn’t tell you whether someone already walked through it. The usual leftover from a PHP compromise is a webshell, a small PHP file an attacker drops so they can come back whenever they like.

A few practical checks:

  • Look for PHP files modified since October 17 in places PHP files shouldn’t appear, like an uploads folder. On a Linux server, find /var/www -name "*.php" -newermt 2026-10-17 is a reasonable start, adjusted for wherever your site lives.
  • CISA suggests watching for PHP worker processes launching shells or downloading tools. A web server process that starts bash, curl or wget deserves a hard look.
  • Amazon suggests searching form-upload requests in your web logs for the string PHP_SESSION_UPLOAD_PROGRESS.
  • Check for new admin accounts on your WordPress or other content management system.

If you find something, stop and get help before you start deleting files. You’ll want the evidence, and the next step depends on what the server is connected to.

5. Know when the 72-hour clock starts

If you hold DoD contracts with DFARS 252.204-7012 in them, you have to report a cyber incident to DoD within 72 hours of discovering it, if it affects a covered contractor information system or the covered defense information on it. You also have to preserve images of the affected systems for at least 90 days, and you need a DoD-approved medium assurance certificate to file the report at all. I walked through the clause in DFARS 252.204-7012 in plain English.

The clock starts at discovery, not at the attack and not when you’ve finished investigating. So it matters what that web server actually is. A brochure site hosted by a third party, holding nothing but public marketing pages, usually isn’t a covered system. A server inside your network that also hosts a customer portal, or one that shares credentials with systems where controlled data lives, may well be. Work that out now, while nothing is on fire. If you wait until you find a webshell, you’ll be deciding under a 72-hour deadline.

After the patch

Two follow-ups are easy to miss.

The October 23 advisory is a good example of how these things unfold. The original fix closed the main paths, then the PHP team found a narrower variant that only applies when an application changes its session settings at runtime in a particular way. They judged it unlikely in practice and are holding the full fix for the next regular release, with the advice to keep session upload progress switched off until then. Expect more of this. Big vulnerabilities attract researchers, and follow-on findings in the weeks after are normal.

The second is the calendar. PHP 8.2 reaches end of life on December 31, 2026. If you just patched an 8.2 site, you’ve bought about ten weeks before that branch stops getting fixes. Plan the move to 8.3 or later now, while you’re already thinking about it, rather than discovering it during the next emergency.

Clinton’s post put the rough horizon at around eighteen months of this kind of pressure. I don’t know if that’s right, and neither does anyone else. But it’s a reasonable planning assumption for a small company: the pace of serious, quickly exploited flaws isn’t going to drop next quarter.

Why this one matters for small contractors

Big companies will patch PHP2Shell through a change process they already have. Small companies tend to find out about flaws like this when a customer asks, or when something breaks. The difference between those two isn’t money. It’s knowing what you run and who’s responsible for it.

That’s what Clinton’s advice comes down to. A ten-person firm doesn’t need an AI security strategy this week. It needs an inventory of what’s exposed to the internet, a named person who patches it, and a host that answers email. If this week showed you that you don’t have those things, that’s the useful part. Fix that, and the next critical flaw becomes an afternoon’s work instead of a scramble.


Where to go next


Discover more from CyberCloudAI.tech

Subscribe to get the latest posts sent to your email.

Scroll to Top