Top
Best
New

Posted by tuyuri 9 hours ago

PHP 8.2.35(github.com)
Related ongoing thread: Today's PHP security release, and how we're strengthening security - https://news.ycombinator.com/item?id=50182987
943 points | 522 commentspage 3
dataflow 2 hours ago|
Is there a curl command I can use to test if the vulnerability is fully patched on a server (not merely mitigated) without causing any harm?

Note I want it to work with the backports too, not just the latest version.

bstsb 9 hours ago||
i just took down all my PHP sites for the last few hours. they’re proxied behind Cloudflare so i know there were mitigations, but infrastructure can’t be breached if it isn’t running!
indemnity83 4 hours ago||
Similar here, except I didn't want to actually shut down the servers, because then I can't patch them! My solution was to just turn off Nginx, which prevents anything from reaching PHP. Then I stuck a caddy server with a temporary config so we get actual 503 maintenance responses.

It seemed to be helpful for others too so I packaged it up, should work on most Nginx / Certbot servers. hopefully its useful: https://github.com/Indemnity83/popcorn

bombcar 9 hours ago||
Now I need to get the cute name for a vm vulnerability that attacks offline servers ...

awake2death or something

MertsA 3 hours ago||
I once wrote a PoC for reading data off of a dead Open Compute Grand Canyon server that wouldn't boot by sneaking it off of the HDDs through a sideband through the BMC. Never say never.
tikotus 8 hours ago||
Has there yet been any signs of any service actually being successfully hacked due to the vulnerability?
redox99 8 hours ago||
I'd expect agents to be hacking hundreds of thousands of websites as we speak.

They'll of course install a backdoor and patch the exploit so others can't come in. They won't deface the website, so there won't be signs.

tovve 8 hours ago|||
Watchtowr reports yes, but doesn't say where exactly right now: https://watchtowr.com/intelligence/php-cve-2026-109618-faq/#...
decidu0us9034 7 hours ago||
Well they did specify "successfully." EITW is a pretty broad tag, just means attacker are probing servers. I'm not saying it's good but there are usually some pretty big caveats with remote-remote memory corruption, don't know if all the people dooming are aware of that

> Exploit portability and reliability depend on the PHP build, extensions, frontend behavior and allocator layout.

tommek4077 5 hours ago||
This is the real question here. So much panic right now.
janmo 9 hours ago||
Still no release for Ubuntu... They are already half an hour late. Debian got the patch almost immediately...
nairboon 8 hours ago||
The builds are there: https://launchpad.net/ubuntu/+source/php8.5/8.5.9-0ubuntu2.1

https://launchpad.net/ubuntu/+source/php8.3/8.3.6-0ubuntu0.2...

https://launchpad.net/ubuntu/+source/php8.1/8.1.2-1ubuntu2.2...

but nothing shipped yet by their mirrors, unlike debian.

janmo 8 hours ago||
even the security.ubuntu.com mirror doesn't have it yet
nairboon 8 hours ago||
Now they have finally shipped it.
tomkarho 9 hours ago|||
Ubuntu probably started working on a rust based replacement instead: rphp.
heatpump5n 8 hours ago|||
Why are they so slow. My Archlinux is already updated, but I still have to wait because of this.
reddalo 8 hours ago|||
curl -fsSL https://packages.sury.org/php/README.txt | bash

This adds Ondřej Surý's PPA to your system so you can upgrade the packages.

nairboon 8 hours ago||
Just make sure to have the ca-certificates fixes already...
dmtroyer 9 hours ago|||
if it makes you feel any better, the official dockerhub images aren't ready yet either.
janmo 9 hours ago|||
They had almost a full day to prepare for this...
bombcar 8 hours ago||
I'm starting to suspect that they actually got the notice the same time we did, because if they got the patches there should be no reason it wasn't already built and ready to go (unless they're scared that "our build servers are public and everyone will know" so they literally held everything off until the release which seems so counterproductive as to be ... well, open-source silliness).
b112 9 hours ago|||
If you mean docker official images, it's just the "community" maintaining it, eg "some dudes". By no means should you consider it a mechanism to get timely security updates, I've seen horrible lag on that before.

Most of docker is like this. Images provided by volunteers, and not related to the project. Using docker images you don't maintain yourself, and at least don't upgrade yourself, is not the best recipe for security.

(It's pretty trivial to build your own)

TimWolla 3 hours ago|||
> If you mean docker official images, it's just the "community" maintaining it, eg "some dudes".

This is false. The Docker Official Images team (i.e. the folks with write access to the docker-library/* organization) are Docker employees.

andix 8 hours ago||||
I wasn't aware of that. So I guess it's generally better to just use plain debian images and just install the required packages with apt.
vbezhenar 8 hours ago||
There are different approaches and it all comes down to who you trust. I don't think there's universal answer. If you have money, find image provider who's serious about security and hopefully they'll provide patches images quickly. Otherwise using Debian packages is a good default I think.

Honestly I don't even understand why so many docker images prefer to build software from sources, rather than just installing them from debian repositories.

andix 8 hours ago||
> I don't even understand why so many docker images prefer to build software from sources, rather than just installing them from debian repositories

Because Debian uses older relases and a lot of custom patches. One example: Nodejs still doesn't have Typescript support in the Debian packages.

Distribution packages vs. official build from source has both pros and cons.

bombcar 8 hours ago||
And if you're using a docker package it's often JUST BECAUSE the host Debian/Ubuntu server is out of date for things you need, and Docker's the easiest way to "patch" that.
dmtroyer 8 hours ago|||
welp, I guess I should have done my research into what "docker official images" actually means.
b112 9 hours ago|||
Debian has had the patch for days, as have other main distros, and tested and prepared the release. That's why it was instant.

Unclear why Ubuntu is lagging.

openclawuser 8 hours ago||
Why do people still use Ubuntu?

They gave away CDs 20 years ago for free. Cooool.

Fedora is best for desktop.

Debian for servers that never need updates (but I even use Fedora for server now adays)

compass_copium 8 hours ago||
Desktops don't need updates either ;)

Debian on the desktop is the best computer decision I ever made

devtor 5 hours ago||
Interview with two of the discoverers: Breaking Down PHP2Shell with Sagi Tzadik (Wiz) & Thai Duong (Calif)

https://www.youtube.com/watch?v=lfEtbrz4-zY

goryramsy 6 hours ago||
CISA published an advisory half an hour ago:

https://www.cisa.gov/news-events/alerts/2026/10/21/critical-...

petecooper 9 hours ago||
>Given the severity of these vulnerabilities, the PHP security team provided minimal source-backports for PHP 7.4, PHP 8.0, and PHP 8.1 to help people building from source or without access to an LTS vendor.
aurareturn 7 hours ago||
And there were people who thought Project Glasswing was a stunt.
Amsozzer 9 hours ago||
Since I have to go through a bunch of php repos today at work I ended up releasing a CLI tool that automates that process by listing out the steps you need to take to stay away from the vulnerability. Here's the link incase it helps anyone https://github.com/Amsozzer1/php2shell-repo-audit
trollbridge 8 hours ago|
Dude, today of all days is not when I'm going to trust some random CLI tool that was vibed out. I'm not saying your work isn't helpful, but it would probably be a lot better to just release your prompts you used to build this and let others build it on their own.
Trufa 8 hours ago|||
I really like the idea of sharing details prompts/specs.

It feels like many times PRs could just be that.

trollbridge 5 hours ago||
People would be embarrassed of their prompts or they'd be trivially simple.
Amsozzer 8 hours ago|||
makes sense, will release the docs. thanks!
rob 8 hours ago||
I wouldn't listen to him. This is very helpful to people that might be managing dozens or hundreds of servers and need a way to quickly figure out things. It's literally open source and we can point our agent to it and have it examine the source code for anything that looks suspicious first. No need to sit here for a couple hours trying to go back and forth and create something that you already took the time to do. Thanks for the work!
ckbkr10 8 hours ago|
Sury released backports for older versions, as always hes incredibly reliable.
More comments...