Dutch National Cyber Security Center is Offline because it uses PHP
Posted by jacquesm 1 day ago
Comments
Comment by geerlingguy 1 day ago
Comment by Parae 1 day ago
Comment by geerlingguy 1 day ago
Comment by reddalo 1 day ago
Comment by geerlingguy 1 day ago
I've seen a number of notifications on X and Bluesky of people taking their sites offline, though. Supposedly Cloudflare is providing all customers a WAF rule that will mitigate the exploits they've been able to see so far (though they mention, this is not full protection—patching is still required).
Comment by vanderZwan 23 hours ago
Comment by mkesper 1 day ago
Comment by graemep 1 day ago
The only significant thing lost of comments, but they have been getting more spammy over the years. Its actually better now too in many ways and I fixed various issues during the move.
Comment by geerlingguy 1 day ago
Comment by woile 1 day ago
Comment by CodeCompost 1 day ago
Comment by eddythompson80 1 day ago
Having static site generator still require an admin endpoint that end users can use to author, publish or otherwise manage the content. Pushing that to a local tool means now you need to somehow synchronize that content across all of the end users devices without git. Not to mention if there is no server side component that means the client needs to have full permission to publish content on the server. Until recently ssh was the only option. Maybe someone could vibe an iroh app that gives you a vpn'd server side app without that now.
Comment by gadders 22 hours ago
(So old.....)
Comment by mkesper 23 hours ago
Comment by pessimizer 22 hours ago
The first site I put up professionally was a handrolled static generator written in PHP for a state website. Users just edited text files, triggered a rebuild, and then there was a sync to prod if staging looked fine. They could even add new sections by creating new subdirectories, and Imagemagick would automatically conjure new menu buttons and the code would put them in the right place.
> Pushing that to a local tool means now you need to somehow synchronize that content across all of the end users devices without git.
This is not hard. Rsync? Rsyncd?
> Not to mention if there is no server side component
Why would there be no server-side component? What does that even mean? Just give them a script to trigger if you don't want them to have permission to do anything. Give them another script to revert if you don't want to get any emergency calls.
This is not advanced technology. Weird to talk about it like it's impossible.
> never useful or actually serious
So strange. That site was so simple to deal with that it stayed up for a decade after I left. Ancient technology.
Comment by eddythompson80 22 hours ago
Thanks for proving my point.
> This is not hard. Rsync? Rsyncd?
How do I do that on an iPad or an Android?
> Just give them a script to trigger if you don't want them to have permission to do anything.
uhhh, what permissions does that "script" have? or is that your /wp-admin equivilent?
> So strange.
Indeed.
Comment by lp92 17 hours ago
Comment by eddythompson80 17 hours ago
Comment by mkesper 23 hours ago
Comment by SAI_Peregrinus 19 hours ago
Comment by apexalpha 1 day ago
Unfortunately my static HTML is pre-rendered by a PHP engine before being served.
Comment by Cthulhu_ 1 day ago
These particular vulnerabilities affect PHP scripts accepting POST requests as far as I've been able to gather so far.
Comment by cm-t 1 day ago
It's a static web site generator, powered by php :)
Comment by ltbarcly3 21 hours ago
Comment by ltbarcly3 21 hours ago
Comment by moi2388 18 hours ago
Comment by stingraycharles 1 day ago
I think, given the (supposed) seriousness of this issue, it’s an adequate response. I suspect Cloudflare et al will have rules added to their managed WAFs within a few hours after release as well.
That said: it seems like the core issue is that they can’t release PHP publicly without revealing the exploit, wouldn’t it have made more sense to coordinate in the background with these organizations, and important distros, so that this could have been patched without revealing the exploit?
Comment by jerf 22 hours ago
Basically, it's only possible in our imaginations where we don't have to get into the nitty-gritty of exactly who gets what notifications. It isn't possible in reality for something this large and consequential.
Comment by jaydenkieran 1 day ago
But they say it's a stopgap and still advise patching. It makes sense, since their tweet also says "are updating mitigations as new vectors show up" so it seems like there are many ways to exploit this, whatever it is.
Comment by apexalpha 1 day ago
Comment by trollbridge 1 day ago
Comment by meffmadd 1 day ago
Comment by martijnvds 1 day ago
Comment by stingraycharles 1 day ago
Comment by rapnie 1 day ago
Europa.eu and all related subdomains were down very early CEST morning. They run Drupal.
Comment by sam_lowry_ 1 day ago
Dark day for Drupal and Wordpress, heh
Comment by p-e-w 1 day ago
This is like a Health Ministry recommending leech therapy to its employees.
Comment by sam_lowry_ 1 day ago
Anyway.
CCB is overtly a marketing organization, not an IT security one.
IIRC they don't even host their own website, The Chancellery of the Prime Minister does it for them.
Comment by Avamander 1 day ago
That's reducing things too far. "What car manufacturer hasn't had car crashes?" All cars are equally safe?
There's a vast difference between different languages and CMSs and how likely it is for critical flaws to occur. PHP has a horrible track record and continues to surprise us negatively.
Comment by nolok 21 hours ago
Comment by Avamander 17 hours ago
Comment by brazukadev 23 hours ago
Comment by freecodeio 1 day ago
Comment by jjice 1 day ago
Comment by forgotaccount3 1 day ago
I just don't think it's the developer's responsibility.
Depending on the size of the team of course, but the work that developer's do comes from someone else. Empower me to make decisions and I'll make them, but don't blame me for the choices other people make if you won't empower me.
Comment by jjice 1 day ago
That said, if they're software packages from something like Node or PyPI, I do think that it falls on the developer. If the point is that leadership needs to give devs the ability to act on that, that's very fair.
Comment by Terretta 23 hours ago
So I'd agree it isn't not a coder or developer's responsibility when they're given a bill of materials and told how to build, but it is an engineer's responsibility. Comp should recognize that as well.
Comment by expedition32 1 day ago
When a doctor makes a mistake they get to practice medicine in Peru for the rest of their life.
Comment by Cthulhu_ 1 day ago
Comment by bombcar 1 day ago
Once it's out it's likely to be an easy "disable this damnable feature nobody needs" as usual.
Comment by rocky_raccoon 1 day ago
There's no such thing as PHP 6. There's no such thing as PHP 9.2.
Comment by esseph 22 hours ago
Comment by rocky_raccoon 21 hours ago
Comment by WJW 1 day ago
Comment by jacquesm 1 day ago
Comment by piker 1 day ago
[EDIT: I see I may have erroneously extended your criticism to sites other than NCSC, for which it does make sense. I would still defend using PHP.]
Comment by spockz 23 hours ago
Comment by WJW 23 hours ago
Now are there more powerful tools out there that result in more scalable websites? Sure. My personal sites are built around static site generators for that exact reason. But none of better tools are as easy to understand for non-programmers as wordpress or one of the other click-and-drag CMS tools.
Comment by baaym 1 day ago
Comment by fhdkweig 22 hours ago
Sometimes, they just want to send spam. Ages ago, someone got a hold of our company's webserver and all they used it for was sending a ridiculous volume of emails. Our ISP spotted the traffic spike and pulled our server off the network.
Comment by WJW 1 day ago
Comment by BlackRabbit1 1 day ago
Comment by tosti 1 day ago
Comment by freshpaint 1 day ago
Comment by tosti 1 day ago
Comment by p-e-w 1 day ago
Comment by Ambroos 1 day ago
Announcing when this patch is going to be released should leave a much shorter vulnerable window with the exploit out in the wild than releasing it immediately and hoping people update before they're a target.
Comment by hmry 1 day ago
So they need to give time for infra people in all different time zones to wake up, learn about the announcement, and plan how to patch it.
The intended course of action is 1. take down website a few hours before the fix drops 2. apply the fix 3. only make website public again after it has been fixed
Comment by NiloCK 1 day ago
Scheduled release gives the option to turn things off on a set schedule while applying patches.
e: turns out several people answered this. Whoops.
Comment by worldsavior 1 day ago
Comment by jayknight 1 day ago
Comment by HelloUsername 1 day ago
Comment by aequitas 1 day ago
Comment by amosj 1 day ago
> Today, a remote code execution vulnerability was found in PHP, called php2shell. [...] Since explain xkcd is affected by this exploit, I have decided to take the wiki down until tomorrow.
Comment by dmitrijbelikov 1 day ago
Comment by Hamuko 1 day ago
Comment by genxy 19 hours ago
Comment by louwrentius 1 day ago
Comment by Avamander 1 day ago
In any case, memory-unsafe codebases will continue to be a significant danger. Be it in interpreters or anywhere else. Just like they have been for the past 20+ years.
Comment by jonwinstanley 1 day ago
Comment by lp92 17 hours ago
Comment by phplovesong 1 day ago
Comment by 2OEH8eoCRo0 1 day ago
Comment by panstromek 1 day ago
Comment by 4ggr0 1 day ago
Comment by gaiagraphia 1 day ago
>Safely ahead in a digitally resilient Netherlands.
Things being offline seems like a daily occurrence recently. Is it a co-incidence? Is it AI? Are Russia/Iran doing an e-blitzkrieg?
If it's a combination of all three, surely nation states are going to unleash everything possible right now and do as much damage before the world adapts and becomes resilient?
If the latter, would be interesting to put an actual cost on all this downtime and whether it's actually making any impact, or is just noise/free training.
Comment by rasz 1 day ago
Comment by phplovesong 1 day ago
Comment by ltbarcly3 21 hours ago
Comment by jacquesm 17 hours ago
Comment by dortesedixson 1 day ago
Comment by andsoitis 1 day ago