~/writing / essay

Two Kinds of Offline

PHP2Shell sent organizations dark on October 21. Some shutdowns were precise risk decisions. Others were a confession that nobody knew what was running.

PHP2Shell sent governments and companies dark on October 21. From the outside, every shutdown looked the same. They weren’t.

On October 21, a lot of the internet went quiet on purpose. Dozens of UK government services went offline. The Dutch NCSC took down its own website, and so did the Dutch House of Representatives. Government sites in Germany, France, Belgium, Finland and Australia followed. CISA told organizations to take PHP systems offline until they were patched. The UK NCSC told them to consider it.

The commentary split predictably. One camp called the shutdowns responsible. The other is starting to call them an overreaction, especially now that some researchers say mass exploitation looks less likely than feared.

Both camps are grading the wrong thing. They treat “went offline” as a single decision. It was at least two.

Patch day was not one day

The official story is simple. PHP disclosed two critical remote code execution flaws, CVE-2026-109618 and CVE-2026-109619, and released fixes on the afternoon of October 21.

The operational story is messier. Amazon saw an exploitation attempt against its honeypots on October 17, four days before disclosure. Details leaked on October 20. And most organizations don’t run PHP from php.net. They run whatever their Linux distribution, control panel, container image or hosting provider ships, and each of those released on its own schedule.

The major distributions had fixed packages out that evening. Some rebuilds arrived overnight. At least one widely used community repository had nothing on release day, and anyone running PHP 7.3 or older got no upstream fix at all.

So for many teams on the morning of the 21st, the situation was a leaked exploit path, no patch they could actually install, and a decision to make.

Precision is the only lever left

When you can’t patch, the quality of your decision depends on how precisely you can answer four questions. Where does PHP run? Which build? Who supplies it? What sits in front of it?

PHP is hard to answer those questions about. It arrives inside a CMS, a vendor appliance, a forgotten marketing microsite, a contractor-built portal. It lives below the level most asset registers reach.

Organizations that could answer quickly made a targeted decision. They took down the handful of systems that were exposed, unpatchable and unprotected, and kept everything behind tested edge protection running. Cloudflare, for one, had WAF rules protecting customers from the early hours of October 21.

Organizations that couldn’t answer made a blanket decision. They switched off everything that might run PHP, because they couldn’t tell which systems actually did.

That’s the difference between the two kinds of offline. The first is risk management. The second is a confession. From the outside, they look identical.

What it looked like at my scale

I’ll leave work out of this. But I run a few sites of my own, and the same questions came up in miniature.

My WordPress sites all sit on Hetzner’s managed webhosting. That meant the PHP patch was never mine to apply. My job came down to checking how Hetzner was handling it and confirming the sites were running on patched builds. Hetzner’s status page showed interim mitigations first, then patched builds across its webhosting and managed servers that evening, with older PHP branches following the next morning. Its cloud and dedicated customers got an email telling them to patch their own servers. Same company, two products, two different owners of the fix.

I also run a few servers of my own. It took one look at my inventory to confirm none of them serve PHP, which is the fastest kind of all-clear there is.

For the WordPress layer, which is mine, I keep things updated as routine, and everything was already at an acceptable level. I updated it all to the latest anyway. That doesn’t touch PHP2Shell, which lives below WordPress. But removing doubt was cheaper than reasoning my way around it.

None of that is impressive, and that’s the point. At my scale, it was two quick checks. At enterprise scale, the same two questions decide whether a team takes three systems offline or three hundred. Who owns the fix? Can we prove where we stand?

The proof gap, live

The second question is harder than it sounds, even after patching.

The major distributions backported the fix without changing the PHP version number. A fully patched server could keep reporting a “vulnerable” version to any scanner that reads version strings. Proving you were fixed meant reading package changelogs, not dashboards.

This is the gap that runs through most security work: the distance between what an organization can prove and what is actually true. Many organizations can show an auditor an asset inventory and a policy with patch timelines for critical findings. Far fewer could have produced, that morning, a reliable list of every internet-facing system running a vulnerable PHP build and the supplier behind each one.

Hindsight won’t help

The overreaction argument will get louder as exploitation numbers come in. Some sites that went dark probably sat behind protections that would have held.

That doesn’t change the decision as it was made. Amazon is telling organizations to look for suspicious activity back to October 17, not to assume they were safe until disclosure. The people making the call on October 21 had a leaked exploit path, uncertain patch availability and incomplete visibility. Judging them by later threat data is like criticizing someone for carrying an umbrella because it didn’t rain.

The useful question isn’t whether going offline turned out to be necessary. It’s whether you took down what you had to, or everything you couldn’t rule out.

This will happen again, faster

The PHP2Shell flaws were found and taken through disclosure with heavy involvement from AI-assisted research. In the long run that helps defenders. It also means the time between “critical flaw in a foundational component” and “working exploit in the wild” will keep shrinking, while the number of those events grows.

If blanket shutdowns are your only response, you’ll be using them a lot.

Before the next one

  • An inventory that reaches runtimes, frameworks and their suppliers. If you can’t query it within an hour, it isn’t an inventory for this purpose.
  • Supplier visibility. For anything managed, know how you will confirm the provider has acted, and how quickly.
  • A pre-agreed kill switch. Decide in advance which services can be taken offline, and by whom, without convening a meeting.
  • Edge protection you’ve actually tested, so virtual patching is a real option rather than a hope.
  • A compromise review before restoring service. A patch closes the door. It doesn’t tell you who walked in before you closed it.

The real scorecard

I don’t think less of anyone who went offline on October 21. For some, it was the only sound decision. Their exposure was real, the fix wasn’t in their hands, and nothing in front of the system would hold. That’s judgment.

For others, going dark was the only option because they couldn’t tell which systems were exposed. They switched off everything that might be affected.

Going dark was defensible. Going dark because you couldn’t see what you had to protect is the finding.

For the board-level version of this question, see The Vulnerability Wasn’t the Incident. The Response Was the Test.


// keep reading