frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

PHP 8.2.35

https://github.com/php/php-src/releases/tag/php-8.2.35
349•tuyuri•1h ago

Comments

tuyuri•1h ago
Versions: 8.2.35 8.3.36 8.4.27 8.5.12

Now are available in the php-src github

technoknol•1h ago
can't find it.
petecooper•1h ago
Check the tags:

https://github.com/php/php-src/tags

bombcar•1h ago
What I did on our WordPress boxes while waiting for distro packages (CVE-2026-109618 / CVE-2026-109619)

1. session.upload_progress.enabled = Off, in php.ini and as php_admin_flag in every FPM pool, so per-directory config can't turn it back on. It's one of the two confirmed consumers in GHSA-6wmf, and the validated FPM path depends on it. Almost nobody uses it, and the advisory suggests leaving it off even after patching.

2. Refuse multipart request bodies at the web server, before PHP parses them. All of the GHSA-w8hw out-of-memory strategies go through multipart parsing. On Apache it's a rewrite rule matching a Content-Type of multipart/form-data that returns 403. On Caddy it's a header matcher that responds 403. The cost: every browser upload breaks (media library, plugin zips, importers). Check your public forms first.

3. Check your SAPI. Both bugs have confirmed RCE against mod_php. FPM is narrower: the validated path needs upload_progress, and the early INI consumer only applies if your front end sends PHP_VALUE/PHP_ADMIN_VALUE. To check, grep your Apache, nginx and Caddy configs for it, and run apache2ctl -M | grep php.

4. pm.max_requests = 1 in the pools. A worker serves one request and exits, which breaks the stale-state chain: the "producer" and "consumer" requests must land on the same worker. It costs a fork per request.

5. Lower max_input_nesting_level and post_max_size, per the advisory.

6. Housekeeping that should already be done: no .php served from uploads directories, and remove any stray phpinfo.php. Scanners request it constantly, and it tells an attacker your exact build.

dwedge•1h ago
This is just Claude output. Did you verify anything or just rehash the links?
mistertrotsky•54m ago
HN should ban comments that are just Claude output
whycome•44m ago
I’d rather just some sort of tag. Because sometimes it can be useful. This is a case where the community here can scrutinize the output and actually pull out useful data or steps or even starting points when information is coming in so fast for a developing story/issue
bombcar•38m ago
The (pretty obviously Claude'd) responses with actual steps you could take to mitigate were 1000% more useful to me than the "SHUT EVERYTHING DOWN WE'RE GONNA DIE" and the "stop posting AI slop" posts were, that's for sure.
dwedge•17m ago
It was your response. Of course you prefer your response.

The fact is you had no idea how useful or dangerous your advice was. PHP maintainers said to shut it down, how many people followed your advice instead? Did it work or just leave them vulnerable? Do you know?

Because you're heavily implying that the people who knew about the details of the vulnerability were panicking and thank god we had you with an LLM

throawayonthe•
k1kingy•1h ago
Does anyone know how long it takes for the ondrej/php repo to be patched usually?
longwave•1h ago
Ondrej has already said "deb.sury.org will carry packages as they are built".

https://codeberg.org/oerdnj/deb.sury.org/issues/145#issuecom...

dstu•11m ago
You can see them building here, it looks like most should be ready within the next few minutes:

https://launchpad.net/~ondrej/+archive/ubuntu/php/+builds?bu...

00deadbeef•1h ago
I installed the updates 18 minutes ago, they're live.
gregoriol•45m ago
Definitely not available yet, launchpad says last builds are from 2026-10-12
leoprctmp•28m ago
use packages.sury.org instead

follow https://packages.sury.org/php/README.txt

tux3•1h ago
Advisories with the details are public:

https://github.com/php/php-src/security/advisories/GHSA-w8hw...

https://github.com/php/php-src/security/advisories/GHSA-6wmf...

simias•1h ago
>PHP uses longjmp()

Well off to a good start here.

fock•58m ago
did I skim this correctly that with the mitigation shared this does not (yet) impact fpm-usage and classic CGI (vs. mod_php) is not impacted either?
Maxious•45m ago
No, every platform affected.

> Who is at risk: all PHP installations serving web requests, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed.

https://www.php.net/archive/2026.php#2026-10-21-5

charcircuit•1h ago
https://github.com/php/php-src/commit/01a40e89fbfc499936e3b0...

What everyone is looking for.

CodeCompost•1h ago
It says "3 days ago". The tag is 2 days old.

I assume it just got pushed?

invokestatic•1h ago
Yeah… it was patched in the source 3 days ago. Check the linked GHSA.
ytxm•1h ago
Click the associated tag:

> This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Glorious. Today of all days it would genuinely give me pause for caution.

edit: yeah, really not feeling that: https://github.com/php/php-src/compare/php-8.2.34..php-8.2.3...

Hopefully just a mistake? But looks like a botched release at the least

OJFord•1h ago
Same on the older few. I'm not sure I understand it though, seems strange you can have a tag for a commit that's only present in a fork?

Is it perhaps a bit misleading, and only means that there's no branch containing that commit?

cyberclimb•57m ago
It can mean either, it's a consequence of how github optimized their backend storage so a 100 forks of a repo initially take up the same space as 0 forks
drdec•48m ago
main (or master) is just another branch to git.
abbbi•1h ago
debian trixie just rolled updates.
Instantnoodl•1h ago
Can confirm. Just updated to fixed version
technoknol•1h ago
when's bookwarm coming?
abbbi•46m ago
packages are building:

https://buildd.debian.org/status/package.php?p=php8.2&suite=...

kps•42m ago
Already, including backports to 7 and 5.
Pxtl•24m ago
Debian always seems to be the grown-ups. I'm a Linux novice so I couldn't get Nvidia drivers working on it but that's the only reason it's not running on my desktops.
bstsb•1h 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!
bombcar•54m ago
Now I need to get the cute name for a vm vulnerability that attacks offline servers ...

awake2death or something

magar_fos•1h ago
C'mon Ondřej..
lousken•4m ago
it's out?
cowlevel•1h ago
So they've added malloc fail checks and tests for malloc fail throughout.

Is this even reachable on Linux due to overcommit? Maybe by attempting a single extremely large allocation?

antiloper•53m ago
PHP is tracking its own memory usage internally with limits configurable via php.ini.
dmtroyer•1h ago
Have we ever seen the "get ready for a security release tomorrow" email before?

https://www.php.net/archive/2026.php#2026-10-20-1

bombcar•53m ago
Many vendors do it, but on a set schedule "patch Tuesday" and some will release vague "mitigation steps" but honestly those usually come with the patch.
nr378•1h ago
Looks like a co-ordinated disclosure between Wiz, Calif and OpenAI:

https://www.php2shell.com/

https://www.wiz.io/blog/php2shell-php-rce

https://calif.io/php2shell/

https://openai.com/index/coordinated-disclosure-of-critical-... (not yet live)

https://thephp.foundation/blog/2026/10/21/todays-php-securit... (not yet live)

darkwater•59m ago
Why is WordPress out of that list? Isn't it the single major PHP installation in the whole Internet across hosted and self-hosted instances?
bombcar•55m ago
Because the CEO of Wordpress has gone insane, basically.
nicce•42m ago
Automattic is on the list, tho.
trollbridge•54m ago
Well, WP is just a program written in PHP.
EGreg•1h ago
For anyone who can't patch their PHP for some reason, here is a proxy that eliminates the threat for you -- it's open source, you can add it to your servers:

https://news.ycombinator.com/item?id=50181752

https://github.com/Qbix/proxy -- open source MIT licensed, I made github actions compile it as a Cosmopolitan binary so it can work across many operating systems (thanks Justine)

I wrote it so I could deploy it myself on our old nginx + php-fpm setups, thought I would share. It should work with all top servers (nginx, apache, caddy etc)

julkali•57m ago
Please stop pushing your slop to profit off the situation.
EGreg•55m ago
You know, normally I'd be okay with these comments, but in this case you're actively hurting a lot of people by this bullshit. Many people need something other than patching PHP.

It's free and MIT licensed, open source and it is currently the only alternative to patching your PHP. The "profit" is for people who don't get PWNED today!!!

Many people can't patch your PHP. If you can't be bothered to even look at the repo, you may want to sit this one out.

https://github.com/Qbix/proxy

klausa•51m ago
In what circumstances would you be unable to patch your PHP, but able to stand this proxy in front of it?
petecooper•1h 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.
dstu•59m ago
So far Ubuntu LTS isn’t picking up the new packages for me via apt update, and Laravel Forge appears completely unresponsive as a result of being flooded by people trying to update their servers.
janmo•46m ago
They had plenty of time to prepare for the release, what a shit show
Neil44•38m ago
Same, I'm spamming the apt update and so far nothing on 22.04 or 24.04 lts
trollbridge•29m ago
And I'm maintaining a box on 18.04 over here, and lo and behold its Pro subscription isn't showing up as active, so I couldn't get the update even if they do release it.

Going to migrate the box to Debian in-place. (Or Gentoo, the way things are currently going.)

Amsozzer•59m 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•30m 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.
Amsozzer•26m ago
makes sense, will release the docs. thanks!
rob•23m 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!
Trufa•13m ago
I really like the idea of sharing details prompts/specs.

It feels like many times PRs could just be that.

iamcreasy•57m ago
Does anybody know when Amazon Linux 2023 will get this release?
alidl•54m ago
Thread here: https://github.com/amazonlinux/amazon-linux-2023/issues/1148
DonHopkins•54m ago
Time to restart Apache again!

"I'm not a real programmer. I throw together things until it works then I move on. The real programmers will say 'Yeah it works but you're leaking memory everywhere. Perhaps we should fix that.' I’ll just restart Apache every 10 requests." -Rasmus Lerdorf

bombcar•52m ago
Amusingly enough restarting php after each request seems to block the issue
cholmon•50m ago
Ondrej might appreciate some monetary love on a day like today.

https://www.patreon.com/cw/oerdnj

aftergibson•34m ago
Not even $700 a month? Seriously, there must be thousands of highly profitable companies depending on this guy’s maintenance. Once this is all sorted, please hassle your employers to give something back to him!
bombcar•27m ago
Someone tell Ondřej to sell some self-published "guide to PHP" for $200 and we can easily expense that.
sixhobbits•15m ago
Yeah this, I always see so much hate towards businesses for finding tax loopholes or not donating etc but people forget that businesses are made of individuals with their own often conflicting subgoals, but overall has to try to maximize profit so they will never voluntarily pay more tax than legal minimum or be philanthropic if they do not have to or do not benefit explicitly.
rvz•47m ago
PHP is done.
antiloper•39m ago
Just how debian was done after weak keys, OpenSSL was done after heartbleed, or Windows was done after (rolls dice) the print spooler RCE
AznHisoka•11m ago
And how Crowdstrike was done after their fiasco 2 years ago...
rkozik1989•33m ago
People have been saying this for the past 16 years, but the reality is once a system is in production over time it becomes increasingly risky to replace it. Because over the life of a piece of software you make tons of small fixes, resolve bugs, adding customer-specific functionality, etc. that you'd completely overlook when planning our requirements for a rewrite. Which is a big problem when other systems are dependent on the software operating a specific way i.e. APIs, web services, and so forth. Not to mention the economics of a rewrite also has to make sense. Nobody is going to spend 2-3 years recreating what they already had and get no additional functionality out of it. Certain software basically has to get so bad that literally anything replacing it is better than what came before for replacing it to be the right approach.
myko•8m ago
always was
mrits•
Xyrren•47m ago
https://ubuntu.com/security/CVE-2026-109618#status fixes have been back ported in Ubuntu LTS versions just now.
f311a•46m ago
This reminds me of the old days when PHP was such a vulnerable language.

By simply searching for websites that used local includes to load other pages, you could get RCE.

At this point, running webapps in JS workers/sandboxes sounds like a good idea. Vendors take care of patching.

dannyw•29m ago
Have a search for V8 RCE/CVEs over the past year.
ckbkr10•29m ago
Sury released backports for older versions, as always hes incredibly reliable.
jdw64•29m ago
What I've been feeling lately is that security vulnerabilities will inevitably keep being discovered, and I worry whether humans can ever patch all of them.
torbengee•21m ago
Looks like the upgrade instructions for PHP 8.3 for Fedora 39 and earlier are not working ... yikes.
basilgohar•20m ago
This is obviously bad, but in my 20 years of hosting with PHP, I've never had to take the steps of taking down servers preemptively. It's not good, but honestly, and I think the way this was handled could leave a lot to be desired, I think this might be the "worst" we've had with PHP, and it took a while to get here.
danso•4m ago
FWIW this is the most mainstream vulnerability in the new era where everyone has access to AI agents that have the potential capability to find and widely exploit the vulnerability far faster than the past timeframes for disclosure and patching.
julian9499•19m ago
Anyone know when amazon linux 2023 is releasing updates?
theturtletalks•16m ago
If open source has these vulnerabilities, imagine proprietary ones.
spenvo•11m ago
how does Docker not yet have a new, official PHP image ready, given such a big heads up? https://hub.docker.com/_/php Nuts this wasn't ready to flip on at :00 (or even earlier given the PoC exploit and even the official PHP fixes were out well before). Now we are 52 minutes past due. (posting comment again, because the other thread i posted in was marked as dupe.)
phplovesong•4m ago
This is pure gold. A critical vuln like this is such classic lolphp. Luckily you can port away from PHP pretty easily with AI.

PHP 8.2.35

https://github.com/php/php-src/releases/tag/php-8.2.35
356•tuyuri•1h ago•146 comments

PHP2Shell: AI uncovers critical RCE in PHP

https://www.wiz.io/blog/php2shell-php-rce
182•danlark1•1h ago•45 comments

DuckDB 2.0.0 LTS "Cinnamon Teal"

https://duckdb.org/2026/10/21/announcing-duckdb-200
76•nnx•1h ago•5 comments

Eight Bits of Trust; eMudhra's CA keys cracked in milliseconds

https://scotthelme.co.uk/eight-bits-of-trust-emudhras-ca-keys-cracked-in-milliseconds/
509•hkc•5h ago•227 comments

Patch the Planet: global response coordination as agents uncover vulnerabilities

https://openai.com/index/coordinated-disclosure-of-critical-vulnerabilities/
68•nr378•1h ago•32 comments

Qwen3-Coder writes less secure code when told it's for a US persona

https://www.hirundo.io/blog/qwen3-coder-vulnerabilities
183•mattifrank•2h ago•93 comments

Most advice is right for the person giving it

https://coached.com/essays/most-advice-is-right-for-the-person-giving-it/
71•rohanm93•1h ago•53 comments

The No Kings Takedown Is Why You Shouldn't Rent Your Megaphone from Zuck

https://www.techdirt.com/2026/10/20/accident-or-not-the-no-kings-takedown-is-why-you-shouldnt-ren...
115•robtherobber•1h ago•49 comments

Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor

https://safedep.io/litellm-pypi-compromise-credential-stealer-backdoor/
14•abhisek•1h ago•2 comments

LayerFS: The filesystem for AI coding agents

https://layerfs.ai/
40•l2dy•2h ago•19 comments

C++ futures part 1: The mental model

https://devblogs.microsoft.com/oldnewthing/20261012-00/?p=112767/
16•ibobev•1d ago•2 comments

9 Mothers (YC P26) Is Hiring in Austin, TX

https://9mothers.com/careers
1•ukd1•3h ago

Upcoming critical PHP security release (CVE-2026-109618 / -109619)

https://news-web.php.net/php.announce/509
1398•xd•18h ago•592 comments

The Future of CSS

https://www.joshwcomeau.com/css/interop-2027/
510•soheilpro•13h ago•210 comments

Whatever Happened to Fire Escapes

https://practical.engineering/blog/2026/10/20/whatever-happened-to-fire-escapes
117•sohkamyung•4h ago•73 comments

Way to Play Super Mario 64: On Apple Vision Pro

https://www.pagetable.com/303
107•frizlab•2d ago•37 comments

Show HN: SimCity, but with Permits

https://permit.petercai.com/
871•pcai•20h ago•394 comments

Dutch National Cyber Security Center is Offline because it uses PHP

https://www.ncsc.nl/actueel
215•jacquesm•2h ago•72 comments

Using thousands of AI agents to uncover new leads in biological data

https://openai.com/index/scaling-ai-research-for-complex-biological-data/
14•raahelb•1h ago•0 comments

eMudhra intermediate CA compromise

https://emudhra.we-have-a-problem.com/
1123•galadran•1d ago•431 comments

Muse exposes users' personal and business secrets when they share conversations

https://arstechnica.com/security/2026/10/meta-muse-exposes-users-personal-and-business-secrets-wh...
279•gumby•14h ago•129 comments

The Decoherence Trap

https://maevyn.codes/decoherence
108•cassianoleal•2d ago•46 comments

Voxtral 3

https://mistral.ai/news/voxtral-3/
738•ilreb•23h ago•185 comments

The Lucrative World of Literary Scams

https://www.thedial.world/articles/news/ai-book-scams
32•samclemens•2d ago•4 comments

Show HN: Sumi.css – CSS Framework

https://github.com/vladocar/Sumi.css
7•bepero•2h ago•3 comments

Feds suspect ransom negotiator ran ShinyHunters extortion site

https://krebsonsecurity.com/2026/10/feds-suspect-ransom-negotiator-ran-shinyhunters-extortion-site/
244•Bender•16h ago•122 comments

Good type against all odds

https://unsung.aresluna.org/good-type-against-all-odds/
172•firloop•13h ago•15 comments

The Other Epidemic: Trying to get off benzodiazepines

https://www.thebeliever.net/the-other-epidemic/
241•gaplong•16h ago•195 comments

In Hilbert space, all things are quantumly possible

https://www.quantamagazine.org/in-hilbert-space-all-things-are-quantumly-possible-20260826/
123•unprovable•13h ago•65 comments

Google open-sources TorchTPU, a native PyTorch back end for TPUs

https://github.com/google-pytorch/torch_tpu
369•ilreb•22h ago•79 comments
38m ago
https://news.ycombinator.com/newsguidelines.html#:~:text=Don...
DonHopkins•50m ago
Why don't you do something useful and rewrite it so it's not claude output any more, but says the same thing in a way that you're satisfied with?

Then your own comment would not be such low effort and useless human slop.

Do you agree or disagree with the comment's claims? Did YOU verify anything? Let's all hear you fact check and proofread and reword what it said so it matches your standards, instead of just listening to you bitch and complain without offering any useful information.

Or do you not actually know anything about PHP administration, programming, and security, so you're only capable of information-free drive-by anti-ai posts, without any other useful content or corrections?

Ball's in your court.

bombcar•49m ago
It's just Claude output of what I've done; the other URL has the basics.
ImJamal•50m ago
They have hosted instances as well though. Not sure their market share though.
dspillett•46m ago
One of the most common PHP based applications out there, therefore a good comms channel (via their forums and any mailing lists, both public and for people who have managed instances with them or are otherwise paying for support contracts) to make sure people are aware of the need to update. That would make the company one worth keeping in the loop, if only in one direction, I would have thought?
trollbridge•31m ago
Well, it would help if WP were actually controlled by one entity, but currently it's dominated by factions and infighting.
dspillett•16m ago
Fair point. I thought that had died down, though for some years I've not had reason to keep particularly informed about the state of WP so I could be missing a lot of hot gossip.
12837615•29m ago
WordPress is down right now. A bit late for patching though ...
LoganDark•29m ago
I agree, WordPress should be like the first thing they point out. I'd imagine most WordPress users don't even know it runs on PHP
chinathrow•57m ago
> Over the past two months, we led a coalition of maintainers, researchers, and security providers to address critical vulnerabilities in PHP, an open-source programming language used to run websites and web applications.

And they botched this as someone talked. To me this looks like they used this for a PR stunt and aimed for an RCE.

nicce•49m ago
Wiz is owned by Google and Argon gets the main credits. So difficult to tell these days. But AI is obviously useful here.

Edit: was looking Wiz post when citation was from OpenAI

chinathrow•48m ago
Of course it's useful, but you can't absolutely not leak something as big as this.
janmo•47m ago
They haven't even been able to release the patch on time. Ubuntu still hasn't it
hdgvhicv•44m ago
I had an email from usn recently
dspillett•38m ago
Debian has, though only for current stable (updates for oldstable and oldoldstable apparently about to drop) which might imply they had no advanced access to the update so could not pre-test and release immediately upon the coordinated announcement.
nolok•24m ago
Sury is up for all versions too
rob•29m ago
Not true. I was able to `aptitude update` and `aptitude full-upgrade` before 10:00 AM EST (9:50 AM) and received the new php8.* packages and upgraded fine.
kijin•10m ago
Anyone using a non-default version from the semi-official PPA by Ondrej Sury is still waiting for an update.

The launchpad server is throwing 503 errors all over the place, so that's probably the reason for the delay. Sury's own repo has the fixes all right.

cpncrunch•4m ago
Still no update for ubuntu 20.04 which has support via ESM, even though the patch is available for php 7.4. There are a lot of people using older servers which still have ESM support.
anon1642•32m ago
I heard this was leaked several days early and that’s why folks seem to be on the back foot.

I’d press go too - if something this big was known to some but not all…

We’ll all get through together

giancarlostoro•22m ago
If I understood the timeline correctly, there was an announcement made somewhere that an RCE would be announce w/ a patch, and the internet just scanned the entire codebase, they really fumbled this for the sake of having a PR post for OpenAI.

On the other hand, I don't mind AI companies doing this sort of thing, I'm sure a lot of our internet infrastructure could benefit from these sorts of fixes and changes.

Maxious•17m ago
The somewhere was a loser on this very website https://daubois.dev/blog/cve-2026-109618-php2shell-rumors/
novafacing•7m ago
This post reads like pure slop to me
ndiddy•10m ago
One security firm included "session.upload_progress.enabled", "session.use_strict_mode", and "php-fpm" in the SEO tags for their initial disclosure that a vulnerability existed after the HN post came up. I imagine this was a good hint. https://web.archive.org/web/20261021005246/https://sansec.io... https://x.com/its5q/status/2112700519261032497
tetraodonpuffer•52m ago
surprising it took nearly a month to acknowledge the bug

August 24, 2026: Wiz Research reports the vulnerabilities to the PHP security team.

September 21, 2026: PHP acknowledges the reports and begins developing a coordinated fix.

bramhaag•48m ago
Took them almost 7 years even. According to the Calif write-up it was already reported in 2019 (https://bugs.php.net/bug.php?id=78876) and 2024 (https://ostif.org/php-audit-complete/).
polishdude20•43m ago
Lol wait so OpenAI's LLM to discover this vulnerability most likely just looked it up in an old forum post?
charcircuit•34m ago
That's what my agent did to find a UAF. It just took a public one from calif off the internet and found it still flagged asan.
pixl97•30m ago
This isn't a terribly uncommon method of 'discovery'. In maths and sciences there have been tons of papers that have highlighted something new but were never really connected to anything else and then largely forgotten. Later they are picked up by someone else and connected to a much bigger whole.
hobofan•20m ago
It's only one piece in the full exploit chain.
akersten•28m ago
No way to prevent this, says only language where this regularly happens
phplovesong•3m ago
LOL

PHP will always be the slop before AI.

esquire_900•47m ago
I feel like all "non-inner-circle people" here are taken for a laugh. OpenAI and these security companies sat on this for 2 months, decided for themselves who gets access to an early fix, and then leave the rest out to dry while they failed to properly contain it.

The official interim fix for php8.5 [1] could have been published 24h ago, or even 2 weeks ago, without revealing any security details. Specifically once the POC came online. Would have been significantly more useful than these polished blogs.

Perhaps I'm missing something here, but the costs (dev/sre time, missed sales, potential data leaks and hacks) of the way that this was handled is significant.

[1] https://github.com/php/php-src/security/advisories/GHSA-6wmf...

john_strinlai•42m ago
>OpenAI and these security companies sat on this for 2 months

these security companies reported it 2 months ago. it took a month for the php security team to acknowledge it and another month for the php team to develop & release the patch.

if you're going to be upset at anyone it should not be the reporters.

>The official interim fix for php8.5 [1] could have been published 24h ago, or even 2 weeks ago, without revealing any security details.

publishing the fix = publishing the security details.

charcircuit•35m ago
Why does the PHP security team need to acknowledge it and develop the fix? It's open source software.
weird-eye-issue•32m ago
So anybody can just push out a new release of PHP?
swiftcoder•12m ago
Sort of by definition of open-source, yes. It's just that nobody downstream is likely to accept Joe Public's random fork of PHP.
lokar•29m ago
If you want an orderly fast global rollout you need to have the maintenance team and distributors working together.
justinhj•22m ago
What would you have a security team for then?
wat10000•17m ago
What's the other choice? OpenAI et al could have developed a patch (for all we know they did) but you need the PHP team's participation to get it out. The alternative would be to fork the project and put up a forked release with the fix, which would have been incredibly disruptive.
bombcar•31m ago
This really sounds to me like "they filled out some webform" or "sent an email to security@php that read like any of the ten billion we found vulnerability in your code please send money emails they get.

If I had details on a RCE like this I'd report it but if I got no response for a WEEK I'd be trying other venues.

john_strinlai•23m ago
>This really sounds to me like "they filled out some webform" or "sent an email to security@php that read like any of the ten billion we found vulnerability in your code please send money emails

i highly doubt it. these are pretty big names in the security sector who have plenty of experience reporting high severity vulns.

fock•9m ago
and they also have plenty of exposure to their motherships burning money on LLMs
dannyw•20m ago
I imagine more details will come out over the coming days, but it’s not uncommon for severity to be under-estimated in the beginning; and then “oh shit” as you dig deeper.

We don’t know when it went from a “memory safety issue” to “php2shell/RCE”.

Calif’s report is a little light on timelines, but reading between the lines, it seems they took a while to turn this into an actually exploitable vulnerability.

Finally, at least pre-LLM (and maybe a bit outdated now), responsible security disclosure norms is that you usually do wait for vendor (up to 90d) if there’s no signs of active exploitation. Even if it’s a RCE. Actually, especially if it’s a RCE.

The last thing you wanna do is go pinging random non-security PHP contributors or maintainers and have it leak with zero patch. That is truly the worst outcome.

Yes, this is bad, but also, it’s apparently been bad for decades; and it could’ve been much worse.

dannyw•32m ago
Maybe the NSA ‘requested’ some time to use the exploit on some high value targets.

Sure, it’s PHP, but plenty of companies or organisations might have some PHP running somewhere; and once you’re in, lateral movement becomes a lot easier.

dspillett•20m ago
One concern with the current environment is that as soon as a release comes out for such an important open source project, people will immediately point bots at the release to look for changes that might be related to existing security issues. This means that putting out a quick out-of-band release is guaranteed to result in people racing to exploit the problem before many even know there is an update out.

Whether keeping the update quiet and including it in the next normal release, where there are more trees obscuring the wood that is the security concern, and announcing the bug a short time later once anyone using distro updates or otherwise keeping on top of things have updated, would be safer overall than what has happened today is up for debate. I can think of arguments in both directions.

--------

[1] which does have a slight whiff of AI marketing about it - would a human-found issue, without the option of a big AI company to claim some credit, have been handled differently?

chilmers•3m ago
This is not a "concern", this is literally what happens. Even prior to AI vulnerability scanning, release notes and diffs for any normal release or security patch of popular software were analysed and used to develop exploits, which could then be applied against non-upgraded instances. Nowadays, AI is doing this en masse and automatically producing exploits. And, as has been demonstrated, nowadays even the rumour of a major security bug is enough for people to find it, as people will immediately burn huge volumes of tokens looking for it.

Nor can you just keep it quiet and smuggle it out in a regular release as you suggest. For one thing, changes in important software are be linked to commits and have pull requests, reviews, etc. Changes without these will immediately raise suspicion, as either a malicious change snuck into a release, or as a "quiet" fix to a major vulnerability, completely undermining the purpose of keeping it quiet in the first place. Moreover, major vulnerability fixes cannot be "quiet", because the whole point is to get as many people as possible to upgrade as quickly as possible. If PHP (or whoever) push out a release containing a major security fix, but don't make this clear, then many people will be in no rush to upgrade, and will get pwned.

consp•27m ago
> https://www.php2shell.com/

Boy, do I hate these PR websites masquerading as vulnerability reports. It's slop all the way down with these companies.

Pxtl•27m ago
Thank you, Wiz Khalifa.
wildmXranat•12m ago
Yet it was leaked and I can't see a single "Here's this piece of code you can run to validate the fix actually works"

It's like slop for infosec markters

pluc•9m ago
Wiz Khalif AI
bombcar•48m ago
The one we're in right now, where we're waiting for vendors to rebuild the packages (I'm ass-blasted that the delay to 14:00 UTC wasn't for the vendors to build packages but seems to be a PR stunt?).
kalleboo•42m ago
Apparently they didn't even use the time to prepare the docker images
antiloper•43m ago
Surely the "structual fix" for a use-after-free is a pile of unreviewed C code! I don't see any problem here.
EGreg•40m ago
It's free, MIT open source. It was the best I could do. Run it under a Linux user with no permissions to access anything. All it's supposed to do is proxy requests. Don't give it access to any files.
import•49m ago
Hi, your build is failing my friend.
EGreg•46m ago
You're right – need to fix the Cosmopolitan build in GitHub actions. On it!

UPDATE: Just going to ship a Linux binary for now, that's where most hosting is. Almost no one hosts from a MacOS or Windows machine. The Cosmo binary was overkill here.

2m ago
always will be
Maxious•13m ago
According to this post, one of the researchers was a former PHP security lead who already knew about the bug since 2004. So I'd assume they would be taken as credible by the current team https://calif.io/php2shell/