| ▲ | esquire_900 5 hours 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 5 hours ago | parent | next [-] |
| >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. |
| |
| ▲ | bombcar 4 hours ago | parent | next [-] | | 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. | | |
| ▲ | dannyw 4 hours ago | parent | next [-] | | 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. | | |
| ▲ | Maxious 4 hours ago | parent [-] | | 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/ | | |
| ▲ | dwohnitmok 3 hours ago | parent | next [-] | | As I mention elsewhere (https://bugs.php.net/bug.php?id=78876) I'm very confused. Looking at the PHP bug tracker the specific bugs were fixed. So my best guess is that the LLM was able to find alternative variants that still worked? But then the report makes less sense. | |
| ▲ | soulofmischief an hour ago | parent | prev | next [-] | | These illustrations are neat but severely distracting given that each make a mountain out of a molehill. | |
| ▲ | Twirrim 3 hours ago | parent | prev [-] | | Assuming that it could have been spotted in their inbox, amongst a probable flooded of LLM slop like a number of security mailing lists for open source projects that I know of. We've all seen the impact on open source github issues, hackerone etc. The same is happening to standard email disclosure paths. |
|
| |
| ▲ | john_strinlai 4 hours ago | parent | prev | next [-] | | >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 4 hours ago | parent [-] | | and they also have plenty of exposure to their motherships burning money on LLMs |
| |
| ▲ | ferngodfather an hour ago | parent | prev [-] | | I've said elsewhere I am sick to death of reading AI written "security disclosures". Even for genuine issues, it just saps my motivation to fix them. That said, PHP team handled this poorly. How does letting everyone know so they can "prepare" help anyone at all. It just creates panic. |
| |
| ▲ | charcircuit 4 hours ago | parent | prev [-] | | Why does the PHP security team need to acknowledge it and develop the fix? It's open source software. | | |
| ▲ | lokar 4 hours ago | parent | next [-] | | If you want an orderly fast global rollout you need to have the maintenance team and distributors working together. | |
| ▲ | warkdarrior 2 hours ago | parent | prev | next [-] | | So if Wiz produced their own patch to PHP, and Calif produced their own (slightly different) patch, and OpenAI produced their own, which version should I use, as a user of PHP? Should I manually merge them? Is Calif's better than Wiz's? Is OpenAI's better than Calif's? Are they complementary? | | |
| ▲ | sam1714 26 minutes ago | parent | next [-] | | That does happen with downversion software. Red Hat may distribute a backported patch to some component which isn't the same as Canonical or Debian's. Most users, who don't know the answer to your questions, rely on the distro to figure this out (and often pay good money for it). | |
| ▲ | charcircuit an hour ago | parent | prev [-] | | They already were in communication with each other. They could have come together and decided on one that mitigates the issues they've found. |
| |
| ▲ | weird-eye-issue 4 hours ago | parent | prev | next [-] | | So anybody can just push out a new release of PHP? | | |
| ▲ | charcircuit 2 hours ago | parent | next [-] | | Yes, someone could have published a safe version for people to use for the 2 months to get the actual fix done. | | |
| ▲ | john_strinlai 2 hours ago | parent [-] | | >Yes, someone could have published a safe version this is basically the same as releasing a working exploit. | | |
| ▲ | charcircuit an hour ago | parent [-] | | And that's not a bad thing. If it was, the the logical conclusion would be to never publish the fix and don't preemptively patch before active exploitation. | | |
| ▲ | solyin 36 minutes ago | parent [-] | | Yes it is. Say I release a fix. I'm some rando but I go out to the world and say I fixed an issue with php. Use my version instead! Not telling you what I fixed, it's a secret, just trust me. It will take, with LLM help, attackers a couple hours, tops, to reverse engineer my fix into active exploitation. Meanwhile, I'm some rando so no one's even heard of me, people who do hear don't automatically trust me to install my fix, so very few people have my fix. Meanwhile, the exploit is out there thanks to me and people are getting their sites hacked thanks to me. That seems like a problem, no? |
|
|
| |
| ▲ | swiftcoder 4 hours ago | parent | prev [-] | | 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. | | |
| ▲ | LordDragonfang an hour ago | parent | next [-] | | You're confusing PHP the product with PHP the codebase. The former is what is the only relevant part in the security world, where a product is synonymous with its vendor (even FOSS). | |
| ▲ | 0x457 3 hours ago | parent | prev [-] | | Did start writing software this week? |
|
| |
| ▲ | wat10000 4 hours ago | parent | prev | next [-] | | 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. | | |
| ▲ | theboblong 3 hours ago | parent [-] | | I'm glad they didn't do anything disruptive, then. Like wind the world's CIOs up into a frenzy of FUD and bring thousands of servers down in a coordinated panic attack synchronised to the minute. Imagine if they had just patched the code and rolled it out with an advisory?! Oh my GOD! Won't someone think of Sam Altman and his huge pile of debt?! | | |
| ▲ | aDyslecticCrow an hour ago | parent [-] | | Pre AI, silently publishing a fix to a security vulnerability was considered bad practice. Post AI, Its efficiency pre announcing the exploit to bad actors until the official disclosure. You can just watch the diff log of every open source project with a small local model, and look for anything that touches buffers, function pointers, or shell integration. It could be an hour between release of a fix before the exploit starts attacking servers. Guess what also could happen within an hour? A coordinated Internet wide panic that shuts down all vulnerable servers. --- We actually have a recent example. OpenAI hack. An undisclosed vulnerability fix to a image formal lib; packages into debian 12 running in a docker, used by imagemagic, used by discourse running OpenAIs user forum. |
|
| |
| ▲ | justinhj 4 hours ago | parent | prev [-] | | What would you have a security team for then? | | |
| ▲ | 2 hours ago | parent | next [-] | | [deleted] | |
| ▲ | charcircuit 2 hours ago | parent | prev [-] | | To handle the official solution and drive long term changes to reduce similar security bugs from happening again. The current PHP security team does not seem capable to promptly release a fix, so having a community fix first seems preferable. Mitigating a bug and developing a proper solution that is maintainable long term and supports future changes being made to the software take different amounts of time to develop. |
|
|
|
|
| ▲ | dspillett 4 hours ago | parent | prev | next [-] |
| 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 4 hours ago | parent [-] | | 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. | | |
| ▲ | dspillett an hour ago | parent [-] | | > This is not a "concern", this is literally what happens. Sorry, I should have been specific: the concern is that this will happen faster than even the more fastidious admins (or daily or even hourly automated checks) will spot and apply updates. > nowadays even the rumour I think a lot fewer people would have paid attention at all without the rumour. Some ne'er-do-wells might have scanned a larger update for security issues otherwise, but I suspect most of those spending tokens on PHP this week would not have bothered had there just been a standard maintenance release that may or may not have included changes for a security issue that may (but probably not) have been so globally significant. That is, at least in part, why the question of how to manage the release of updates like this is not a settled debate. > then many people will be in no rush to upgrade, and will get pwned. The worst case that we may be heading towards is that for any services on public facing infrastructure we might have to automatically apply updates with little or no time to verify, just to try be ahead of the ne'er-do-wells, with even superficial updates not mentioning the changes until a short time after to avoid giving clues to those who will scan for security issues if any such is mentioned (or nothing is mentioned - saying nothing about a security-only update only works if you say nothing about all updates, and you don't want to hold off on security-only updates on a slow moving project that might not have a non-security patch for quite some time). |
|
|
|
| ▲ | vikramkr 3 hours ago | parent | prev | next [-] |
| It's not possible to publish a security patch for an open source software report without revealing security details anymore (and as of the past couple weeks I would not count on being able to do that for closed source binaries either). The moment you push publish everyone knows previous versions are compromised |
|
| ▲ | stingraycharles 3 hours ago | parent | prev | next [-] |
| “OpenAI and these security companies sat on this for 2 months” I don’t think this what happened at all, and even less so to specifically call out OpenAI. The issue was discovered using their model, it was disclosed, and the PHP team took months to address it. Eventually it leaked. This is a process / people failure that does not involve the people responsible for discovering it. |
| |
| ▲ | flanz_10 25 minutes ago | parent [-] | | this is the same tired conversation whenever coordinated disclosure happens "we the people deserve to know about vulns on day 0" oh yeah? and what happens when a 0 day is released? it's the same ignorance over and over. |
|
|
| ▲ | Avamander 3 hours ago | parent | prev | next [-] |
| You can't do secret releases, people will figure out what you added or changed. But they could have accelerated the patch release once the embargo was broken and rumors of a PoC started going around. There was no need to wait 12+h today until the release. |
|
| ▲ | dannyw 4 hours ago | parent | prev | next [-] |
| 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. |
| |
| ▲ | DaSHacka 3 hours ago | parent [-] | | The NSA does not need to "request" time to use an n-day vuln. They have more 0-days than you can imagine. They literally employ full-time Vulnerability Researchers doing nothing but 0-day discovery and PoC creation 24/7 to add to their horde. Plus contracting with the MIC for their full-time VRs for the occasional project. | | |
| ▲ | bombcar 2 hours ago | parent [-] | | Exactly. Something like this is often the NSA realizing one of their pet vulns is being exploited in the wild by someone “not them” and so they burn it. |
|
|
|
| ▲ | beberlei 4 hours ago | parent | prev | next [-] |
| Php core security team decided who gets to know. The patch was huge it took that long. See PHP foundation blog post on their timeline |
|
| ▲ | pier25 2 hours ago | parent | prev | next [-] |
| > OpenAI and these security companies sat on this for 2 months The PHP team knew about it since September 21st. |
|
| ▲ | 2 hours ago | parent | prev | next [-] |
| [deleted] |
|
| ▲ | chairmansteve an hour ago | parent | prev | next [-] |
| Maximizing the PR value... |
|
| ▲ | Capricorn2481 3 hours ago | parent | prev | next [-] |
| > OpenAI and these security companies sat on this for 2 months, decided for themselves who gets access to an early fix Amazingly, AWS Linux has not been patched yet. |
|
| ▲ | MP_1729 an hour ago | parent | prev [-] |
| Of course it was OAI that decided those things, not the U.S. Government |
| |