Elephant in the Server Room: >50% of WordPress Sites Run PHP That's EOL by Jan (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
It doesn't really matter what the PHP project does or doesn't support. RHEL/Ubuntu will get you updates for five to ten years even if PHP drops support after a week, as can the repositories that are derived from them.
If you're running PHP 7.4 on Rocky 8.4, you have nothing to worry about for a couple years, despite what alarmist blogs may be shouting.
PHP's fast pace is good for the language, which has improved immensely over the years, but that doesn't reflect what PHP users have ever been running. For the exact same reason, KDE/Gnome users running this year's or even last year's version are only a small segment of the total user base, despite there not even being any notable LTS support.
Replies (6)
The maintainers seem to have an informal policy of 5% of users running a PHP version is what they should be supporting. It's a chicken & egg though as the quote in the post says, many people don't have the incentive to bother upgrading if it works anyway.
It was a better thing in the past, but after the year WP & PHP has had with increasing vulnerabilities discovered, the if it ain't broke don't fix it mindset seems outdated.
Replies (1)
Every time they refused with "oh buh it's not RFC, no matter near every piece of software does it". For DECADE
When it got standardised into RFC (which was DECADE ago) guess whether they implemented it? Of course not. They started whining "oh but it's from the internet header, someone configuring it wrong might let people spoof IP". Sensible defaults that user could then set up for their env ? who needs that.
Wordpress project is a history of developer incompetency for last 23 years
Replies (4)
Replies (1)
Replies (3)
Continue this thread (1 replies) →
There’s a lot of really poorly designed plugins that improperly use custom post types as storage and assume complex slugs are safe. Ran into one client that had a plugin that generated invoice urls. If they don’t disable this new redirect they will be exposing customer information.
It also seemed to also apply to uploaded media last I checked. That’s one I really hope they filter out by default.
Making things convenient for your particular use case but a potential security issue for many others is not a good tradeoff, and the developers' position is reasonable here.
It is not strange that you have to tell your web server about your load balancer (as well as your certificate name, where to send logs, your application path etc.). For the vast majority of users, there's nothing more to it.
It would be a lot more weird if applications ignored this information and parsed headers with their own logic.
Mate.
MATE.
Both RHEL AND Ubuntu just recently couldn't get kernel CVE fixed for 3 weeks while both Debian and the hackery ones like Arch did that just fine
Replies (2)
Replies (3)
Replies (1)
I have not done proper math, but the delay between kernel tip and backports making their way into default Ubuntu binary repositories has always been like that for me. Sometimes a week early, sometimes a week later, but generally not trending down. And certainly not instilling confidence that the procedures will be ready to deal with a seriously-zomg-RCE bug without deviating from most everything that currently (generally..) prevents shipping broken binaries. (Relatedly, Ubuntu still has that two week update inhibition on Firefox - even though Firefox just reduced release cadence, lol)
Ubuntu took its sweet time testing their kernels, for sure. Doing a release schedule akin to Windows is surely something their paying customers should be annoyed by. However, it's hardly the end of Ubuntu like internet forums seem to think it is.
Hundreds of millions of servers ran vulnerable kernels for weeks and yet there has been no news of worms spreading like wildfire across the internet. Every CVE now claims to be the end of the world and it's honestly tiring to see people fall for grand claims every single time.
have you heard of php2shell for instance? The problem is they don't offer patches to < PHP 8.
I think the only way that's true is if you install a proxy like https://github.com/Qbix/proxy - and even that doesn't protect you from the latest vulnerabilities discovered in e.g. PHP's backtrace for fatal errors.
Replies (4)
Replies (1)
Replies (1)
Replies (1)
This is what my comment is about. Hardening your server is the bare minimum you need to do today, and most certainly does not mean that you are safe.
Replies (1)
Oh, the post is a simple ego ad for a vibe coded mitigation that may or may not accomplish the stated goal, and may or may not introduce a fun new layer with fun new potential issues.
Replies (1)
I’d say making a proxy to help people and giving it away under MIT license is making the situation better for them than being totally exposed. But I’m happy for you tho that you’ve been able to patch your 5.6, your skills are impressive. Or sorry that happened.
Replies (1)
All the way down to 5.6.
I used to maintain several npm packages. As a general rule, I followed the nodejs release schedule. When nodejs versions stopped being officially supported, I stopped supporting them in my packages too. It’s nice to be able to use modern JS features. And nodejs has long, well documented support timelines, including LTS versions.
But it didn’t stop people filing bugs on my packages due to incompatibilities with ancient nodejs versions. One person replied back that they were using the latest version of node that was in their OS package repository. Fully 10 years old or something at that point - and already past its official EOL date. They didn’t have a reasonable path to update. And I’m not interested in supporting ancient software forever, for fun. I told them to use an old version - but it’s got known bugs.
Unless Debian or whatever is going to mirror all of npm, I’m not sure what they expect people to do. For well maintained projects like php and node, you’re generally gonna have fewer problems using modern versions.
https://nodejs.org/en/about/previous-releases
Replies (2)
Seems like by having such long release cycles they are creating maintenance headaches for themselves.
Other people's old runtimes aren't your problem as an OSS maintainer, of course. However, WordPress supports PHP 7.4 for all recent versions. Other projects and plugins might not be so generous, but whether or not this is a problem will depend on a case-by-case basis.
Debian doesn't vendor all NPM packages, but they do vendor hundreds of them: https://pkgs.org/search/?q=node-
Replies (1)
Replies (1)
Possibly writing better contracts that allow us to shut the site down if they down update, or building in enough margin to cover annual updates (prices us out n% of the time) might have been mitigations. It's actually been surprising how many clients have called to see if their sites are vulnerable in the wake of recent events.
The cost of keeping a Wordpress site up to date is not as simple as keeping PHP up to date. There is a lot of QA involved, and breakages still happen frequently. I'm not the expert in that area - my job is to make it possible to run the latest PHP.