Latest / Decrypted: The UK Cyber Briefing / PHP's two critical flaws, and the question of where you run it
Transcript
- 0:03This is Decrypted. Wednesday, the twenty-first of October, twenty twenty-six.
- 0:08This is the evening edition.
- 0:12P H P's two critical flaws, and the question of where you run it.
- 0:18P H P, the language behind a very large share of the web, shipped emergency releases today for two critica
- 0:26l flaws. They're C V E twenty twenty-six, one zero nine six one eight and C V E twenty twenty-six, one zero ni
- 0:36ne six one nine, the public reference numbers every known vulnerability gets.
- 0:41Either can allow unauthenticated remote code execution, or R C E, meaning a stranger runs commands on your we
- 0:50b server without logging in.
- 0:52The N C S C, the National Cyber Security Centre, part of G C H Q, said today that organisations using any ver
- 1:01sion of P H P are affected.
- 1:03The patches exist. The hard part is the gap between a patch and a patched estate.
- 1:10So, how does the bug actually work?
- 1:13Picture a restaurant where each waiter carries one tray per customer.
- 1:18When the kitchen runs out of space mid-order, P H P's emergency routine, according to its advisory, abandons
- 1:26the tray half-prepared. Clearing the table then trusts the tray was set out properly.
- 1:32It wasn't. So a careful attacker can arrange for the leftovers to be their own instructions.
- 1:38That's the first flaw, a memory shortage handled badly.
- 1:44In effect, the server's own housekeeping becomes the attacker's tool.
- 1:49The second is a cousin. State left over from one request survives after its memory is freed, and the next re
- 1:57quest on the same worker reuses it.
- 1:59In plain terms, one careless request poisons the next.
- 2:04P H P rates both 9.2 on the C V S S severity scale, the zero-to-ten score, using version 4.
- 2:140. It validated full exploitation over H T T P against mod_php, where P H P runs inside the web server.
- 2:23It also reports a lab exploit for the second flaw against F P M, the other common mode.
- 2:30So, what are defenders seeing?
- 2:33The fixed releases are 8.5.
- 2:3612, 8.4.27, 8.3.36 and 8.2.
- 2:4335. Neither P H P nor the N C S C claims confirmed attacks in the wild.
- 2:49BleepingComputer reports that Cloudflare's chief technology officer said attacks were already under way befor
- 2:56e the patches landed. We haven't verified that, so treat it as a claim.
- 3:01P H P says there are no complete mitigations, and updating is the only safe choice.
- 3:07Temporary measures, such as disabling session upload progress, are only partial.
- 3:13A web application firewall, a filter in front of a website, may buy time.
- 3:19Now, what's the lesson from Secure by Design?
- 3:23The deeper problem is visibility.
- 3:26Many organisations can't say where P H P runs.
- 3:29The intranet, the appliance that bundles it, the supplier's portal.
- 3:34The flaws sit in the runtime itself, so a perfectly written application inherits them.
- 3:40The N C S C's advice starts with finding every P H P system, internet-facing first, and watching for updates
- 3:48from vendors whose products embed it.
- 3:50If you can't update, it says consider taking the system offline.
- 3:55Failing that, check for backdoors with an N C S C-assured incident response provider.
- 4:00Secure by Design here means three decisions made before the emergency.
- 4:05Keep an inventory that includes bundled components, not just software bought by name.
- 4:10Require suppliers by contract to tell you within hours which runtimes they ship and when they've patched.
- 4:16Build a web tier you can take out of service without a board meeting, and rehearse that once.
- 4:22None of it is costly in a quiet week.
- 4:26All of it is dearer to invent at midnight.
- 4:29As always, this is opinion, not advice.
- 4:33That was Decrypted. The written version and every source are linked in the show notes.
- 4:39Thanks for listening.