Changelog · Lab Notes

How We Mapped Customer Exposure to php2shell

Jeff Babb ·

On Oct. 21, within hours of the php2shell advisory, any Xora customer running the impacted versions of PHP had a finding in their dashboard and an email in their inbox. php2shell has no safe test, so the check could not ask the server. It read the PHP version from the source and build files we already had access to scan. This post covers how that worked, and what a version check can and cannot tell you.

What Is php2shell?

php2shell is two unauthenticated remote code execution (RCE) flaws in the PHP runtime itself: CVE-2026-109618, a memory corruption during request startup, and CVE-2026-109619, a use-after-free (UAF) that reuses freed memory left behind by an earlier request.

Both rate CVSS 9.2, both fire before any application code runs, and both reach every way PHP serves web traffic: mod_php, PHP-FPM, php-cgi, FrankenPHP, and LiteSpeed. The fixed releases are 8.2.35, 8.3.36, 8.4.27, and 8.5.12. Every supported branch below those releases is exposed, and so is everything back to 5.4 on branches that will not get a fix.

As of Oct. 23, no reliable public exploit has been verified. A proof-of-concept tool surfaced when the embargo broke, and watchTowr says it has reproduced both bugs in its own lab. watchTowr also reports that its honeypot network observed exploitation of both CVEs on Oct. 21, without saying whether any attempt succeeded. Amazon Threat Intelligence reports an attempt in its honeypots dated Oct. 17, four days before public disclosure.

Without a safe check, some operators chose certainty over uptime. BambooHR took its platform offline in the US, Canada, and Ireland for about six hours on October 21 to patch, telling customers, “We know this interrupts essential work, including payroll.” The Netherlands’ DigiD login system and MijnOverheid portal, Finland’s public-facing government services, and the Flemish government also went offline to patch. When you cannot test for a bug safely, a planned outage is one way to know the patch is in.

Why There’s No Clean Check

Most vulnerabilities give you a safe way to ask “am I exploitable?” A SQL injection answers a time-based query. A server-side request forgery calls back to a host you control. php2shell offers nothing like that, because the event that would confirm it is the same event that corrupts the worker.

The confirming request and the damaging request are the same request. So the only useful signal left is the version of PHP a server is actually running.

That signal is slippery. Plenty of well-run servers set expose_php off, so the version never appears in a response header at all. The ones that do expose it often report a distribution package string, and distributions backport security fixes onto an old version number, so “8.3.12” from one vendor can be patched while the identical number from upstream is not.

What We Did About It

Within hours of the advisory, we ran a php2shell check across all customer applications, without waiting for anyone to ask. It reads the PHP version a deployment runs and compares it with the fixed releases, the same comparison a careful operator would make by hand.

The check is not the clever part: it reads the PHP version a deployment is running and compares it against the fixed releases, the same thing a careful operator would do by hand.

What mattered was that it was already wired into every scan we run, so the moment the advisory was real we could sweep the whole fleet at once and flag exposure across it, rapidly notifying our customer base.

Where the check found a PHP runtime in the vulnerable range, it raised the finding in that customer’s dashboard and emailed the owners. We kept those findings honest about what the evidence supports: a floating base image can be patched or exposed depending on when it was last rebuilt, so most of what we sent tells the customer they are likely exposed and asks them to confirm the patch level, not that they are breached.

What It Doesn’t Do

It does not prove the bug at runtime. No reliable public exploit has been verified yet, and we will not send an unverified one to a live system. You get a version judgment, not a demonstrated exploit. The check also reports one PHP runtime finding per application, so a service behind it that runs a different PHP build can be missed.

If you run PHP, the move is the one the advisory already named: get to 8.2.35, 8.3.36, 8.4.27, 8.5.12, or your distribution’s patched package, which may keep an older version number. Then look back: if you were exposed, start your investigation no later than Oct. 17, the earliest attempt reported so far, and move that date earlier if new reports show earlier activity.

Everything short of that is a way to spend time you do not need to spend.

Filed under Changelog, Lab Notes