News for hackers. Stuff that matters.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by Roritharr on Sunday April 22, 2018 @03:30AM (#16895129)
This, to me, is the main reason why it's a bad idea to host and maintain a presence with a CMS yourself. Most likely you are not an entity that has the capabilities necessary to do so, neither are most of the Hosters that even offer "managed Drupal/WordPress/... Hosting".

It takes a relatively large team to reliable shield software as complex as modern CMS from abuse and the mitigations have to be employed so timely that one cannot wait until this is high enough on someone's to-do list that has to do this for 10 different CMS.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by borplk on Sunday April 22, 2018 @08:08AM (#16895820)
Yes and people don't understand this.

If you try to bring it up there's always some inexperienced overseas contractor with 6 months of experience who will say "It' s a few clicks to install and a few plugins to protect the security 100% no problem, what's so difficult? why do you make a big deal out of it?".

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by bhldr on Sunday April 22, 2018 @11:49AM (#16896665)
Say hypothetically if a got my Drupal site for cheap and now I'm hacked. I pay someone another $100 to install the patch and get rid of the malware, I still come out ahead.

What's my incentive to do things differently?

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by thaumaturgy on Sunday April 22, 2018 @02:29PM (#16897666)
> and get rid of the malware

This is the catch. Depending on what was done to your site, there's no "getting rid of the malware" for $100.

Those cheap hosting providers don't provide automated backups of your database. You probably have a backup of your site's files -- that's probably not perfectly current, but close enough maybe -- but I bet you haven't got regular backups of your database.

Drupal is one of those many CMSs that stores tons and tons of code in the database, including executable PHP. So how do you go about ensuring that all of that is clean, and changing all the passwords that may've been compromised, and making sure there are no other backdoors or shells left behind, for $100?

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by jrs95 on Sunday April 22, 2018 @03:01PM (#16897863)
> Drupal is one of those many CMSs that stores tons and tons of code in the database, including executable PHP.

This is horrifying. Why was this ever done?

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by about_help on Sunday April 22, 2018 @03:13PM (#16897938)
As with the majority of security issues it was done for convenience. Not every user has access to the hosting provider so it was done out of convenience.

Thankfully they removed this option in Drupal 8, the latest version. You could also restrict users from accessing the functionality so it wasn't that terrible. In practice few sites actually use the option, but when they do it can make troubleshooting a giant pain in the ass.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by nicksantamaria on Monday April 23, 2018 @06:58AM (#16902222)
The fact that php.module ever existed in the codebase is a downright travesty. As soon as any privileged user was compromised (i.e. someone with "administer users" or "administer site configuration" permissions) the attacker had arbitrary remote code execution.

My projects had a patch to remove that entire module from core on each build.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by chrismorgan on Sunday April 22, 2018 @10:12PM (#16900017)
One example I did many years ago: I want to make this download page vary what it serves by user agent, providing instructions for any things they’ll need to install first (because .NET stuff used to go in the user agent string), and providing the appropriate download link for their platform. Most of this could be done in JavaScript, but there was at least one part of the mix that couldn’t be, but could still be detected from the server.

Now which is easier—make a new module to serve this page or filter the output of that page, or just enable PHP code for this page, and write it directly in PHP on this page only?

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by borplk on Sunday April 22, 2018 @03:03PM (#16897880)
I've never seen someone make an informed trade-off decision like that and acknowledge it.

Instead they just believe that they are 100% secure then when they get hacked they act all surprised and with great hypocrisy say "security is our number one priority at shitshow.com. we take security extremely seriously.".

Otherwise I'm not suggesting that there's some great incentive. As we've seen with huge hacks like Equifax and many more companies we know right now they just get a slap on the wrist and so they continue to try to use "we are sorry" PR statements after the fact as their strategy.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by Roritharr on Sunday April 22, 2018 @01:14PM (#16897172)
That's like asking, what's the worstcase of my email account being hacked?

There's a spread between your life is ruined and nothing happens at all and it entirely depends on what you've done with the account/site.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by homero on Sunday April 22, 2018 @12:02PM (#16896739)
Defacement of your site, Google delistment for hosting malware, email blacklist for spam
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by treve on Sunday April 22, 2018 @12:26PM (#16896872)
I've seen plenty of sites survive these types of exploits just fine.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by zamber on Tuesday April 24, 2018 @09:09AM (#16912204)
Still, I for one wouldn't want to be on a receiving end.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by lsc on Sunday April 22, 2018 @03:41AM (#16895158)
Seems like the right thing to do for most CMS type situations is something that generates the site offline... and only uploads a static site to the web.

Something like jekyll or something.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by jmknoll on Sunday April 22, 2018 @05:15AM (#16895383)
I'm a big fan of Jekyll (and more recently, Gatsby), and I think you're correct in saying that in most cases where a CMS is used, a static site generator would be a better option.

However, I see a couple of problems standing in the way of more widespread adoption of static site generators:

1) I've never seen a static site generator that non-technical users felt comfortable with. Programmers like terminal interfaces. Your average user in 2018 has probably never opened the terminal.

2) Possibly even more significant, I don't think the people making the choice to use a CMS for a simple business-info or blog site are aware of the trade-offs that they're making, or of the benefits that a static site will provide down the line. For a lot of small business owners I've spoken with, Wordpress is basically synonymous with "web presence."

I wonder if there's a market for a web-based GUI like what Wordpress provides, but which runs jekyll under the hood and uploads the files to s3 or something like that. Is this what companies like Squarespace and Wix do?

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by hunvreus on Sunday April 22, 2018 @06:26AM (#16895545)
The first point is why I built Jekyll+ [1], which I initially built for the new Starbucks' website [2] (which runs on Jekyll). It supports multilingual content and we're now adding a whole bunch of new features (you can check the TODO list in the README [3]).

We also have a pretty neat solution for site generation/hosting (JekyllPro) which is rolling out next month.

Using these two, none of the contributors realize they're using Jekyll. It's not as user-friendly as Squarespace, but it's pretty darn good.

1: https://github.com/Wiredcraft/jekyllplus

2: https://wiredcraft.com/blog/the-new-starbucks-cn-website-bol...

3: https://github.com/Wiredcraft/jekyllplus#todo

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by bloopernova on Sunday April 22, 2018 @01:57PM (#16897436)
Just wanted to say that I really admire Jekyll, and Jekyll+ looks very nice too.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by IloveHN84 on Monday April 23, 2018 @12:19AM (#16900495)
And the jelyll-admin dashboard is pretty nice
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by benaiah on Sunday April 22, 2018 @05:30AM (#16895417)
The project I work on, Netlify CMS (https://www.netlifycms.org/), is almost precisely what you described in your last paragraph.I say "only" because it only officially supports GitHub as a backend at the moment, from which you can deploy to a host. (I'm also currently working on supporting more backends, so that will change soon.) The CMS is an open-source (MIT license) CMS built as a static web page which connects to an API for an arbitrary backend from your browser and edits the content stored there - from there, you can build the content with whatever static site generator you want. This lets you build sites that non-technical users can keep up-to-date without tying yourself to a specific tech stack for the actual website.

(disclaimer: Netlify employee)

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by StavrosK on Sunday April 22, 2018 @06:21AM (#16895531)
Please put that description somewhere on the site. I tried to try out Netlify CMS there times because I love Netlify the service but couldn't figure out what it is any of those times.

That said, it didn't help that you don't support Gitlab, which is where all my sites are, and which is the more important reason why I couldn't get it to work.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by rainbowmverse on Sunday April 22, 2018 @03:56PM (#16898196)
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by benaiah on Sunday April 22, 2018 @06:24PM (#16898988)
Yup, improving backend support (and refactoring the backend API to make developing custom backend support easier) is currently my top priority. Initial GitLab support (without the editorial workflow) is very close to being complete - I hope to be releasing an initial PR this coming week if all goes as planned. My latest update in that thread is here: https://github.com/netlify/netlify-cms/pull/517#issuecomment...
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by petepete on Sunday April 22, 2018 @08:38AM (#16895909)
I'm a huge fan of Netlify, everything you guys do is great.

We (Graphia) took a similar approach for our document management system. Essentially it looks and acts like a regular CMS but it sits on top of a git repo instead of a database; and publishes via Hugo.

It's not intended to be a fully-fledged CMS but the API would support it without much work; the UI is definitely the time consuming portion.

http://www.graphia.co.uk for anyone who is interested, not quite ready for prime time just yet. Soon.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by benaiah on Sunday April 22, 2018 @07:04PM (#16899185)
That sounds really similar to Netlify CMS, especially the use of Git for content storage+version history and the focus on a decoupled UI for editing content. It's really cool to hear from somebody exploring the same space! Git as a backend for content is a really interesting concept that's worked very well for us so far, and I'd be interested to hear how you're implementing that and what issues you've run into. The internationalization approach you describe on the features page is pretty intriguing as well - that's a feature that we should improve our support for in Netlify CMS.

Feel free to ping me using the contact info in my profile or at @benaiah in our Gitter room (https://gitter.im/netlify/NetlifyCMS) if you're interested in discussing this elsewhere.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by Y14NZZRhRT5 on Sunday April 22, 2018 @05:53AM (#16895464)
Why not use wordpress as the backend for your static site? The user can create pages and posts like normal and once they are done you can build the static page from the wordpress api.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by sleepychu on Monday April 23, 2018 @02:21AM (#16900939)
If you give the user wordpress one day they are going to ask "Why doesn't my dynamic plugin work?"
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by mattkevan on Sunday April 22, 2018 @08:59AM (#16895976)
There’s a few services like Forestry.io and Cloudcannon that provide a friendly editor interface to Jekyll.

Forestry + Netlify + Bitbucket is a good combination.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by tootie on Sunday April 22, 2018 @10:44AM (#16896370)
Some players are moving into this space. Headless CMS providers like Contentful or Prismic let you build a very nice content entry UI and asset manager. Then you can consume content dynamically via the API or set up triggers to build the site statically whenever content is updated.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by dreamfactored on Sunday April 22, 2018 @06:22PM (#16898976)
> set up triggers to build the site statically whenever content is updated

That's not only the same gnarly problem as cache invalidation but with a metric ton of filesystem writes on top of it.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by rainbowmverse on Sunday April 22, 2018 @03:59PM (#16898212)
Both of these appear to be aimed at developers.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by tootie on Sunday April 22, 2018 @06:01PM (#16898865)
They definitely appeal to IT teams which is a very different sales pitch than you would see for most enterprise CMS products, but rest assured the actual product is very user-friendly. The content entry UI is very straightforward and has easy to use hooks to live preview like any other CMS.

I spent a lot of years working in tech consulting and did a lot of CMS integrations. We desperately wanted to push clients to Contentful and away from ornery beasts like AEM, but Adobe can sell AEM by saying it's part of the "marketing cloud" and that it's magic power is in user engagement and analytics and whatever other marketingspeak lies. Contentful was the developer favorite, but it was hard to convince businesses it was in their best interests even though it totally was.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by pg_bot on Sunday April 22, 2018 @09:44AM (#16896129)
There definitely is a market for a product like this. I think the best thing would be a native app with deep git integration. Engineers can see the entire project and edit templates while end users get a GUI to drag and drop those templates to make an article. The output from the user is encoded to either json or protobufs, and then passed through a function that outputs html which is then uploaded to s3. Everything would be under version control so you could just operate as if it were a custom designed webpage. You could fund development by having a store that takes a cut of templates that other people create.

I would work on this if I wasn't already running another startup.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by rainbowmverse on Sunday April 22, 2018 @03:49PM (#16898159)
Publii looks promising, but while it's "open source," the source is all wrapped up in an Electron app that could easily be reclosed at a later date.

There's also Netlify CMS, but I haven't done much with it. I think the GitHub requirement puts people off, and work on the GitLab--which has free private repositories--support issue is slow.

What we need is something like Publii that's not packaged in a way that's obviously meant to make closing the source easy. That story is too old, and too common, to believe their intentions are good.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by foepys on Sunday April 22, 2018 @05:31AM (#16895421)
With something like Hugo, you only need a single executable and all you have to do is decide on a theme, write Markdown files, and compile it on a shell/cmd/powershell with a command you can save in a text file for later reference.

Imho if you are really wanting to write a blog and host it yourself, this should not be too hard to learn. Wordpress doesn't install itself automatically, either.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by setquk on Sunday April 22, 2018 @07:01AM (#16895625)
Dreamweaver was a pretty good static site generator for non technical users.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by DonHopkins on Sunday April 22, 2018 @10:02AM (#16896202)
As long as we're mentioning old obsolete but "revolutionary at the time" site generator tools, there's Adobe PageMill and SiteMill.

https://en.wikipedia.org/wiki/Adobe_PageMill

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by ct520 on Sunday April 22, 2018 @12:13PM (#16896790)
Frontpage was uhh
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by setquk on Sunday April 22, 2018 @12:49PM (#16897007)
It worked. Occasionally.

I remember having to purge front page extensions off many a server. Cathartic feeling that one.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by arca_vorago on Sunday April 22, 2018 @11:17AM (#16896518)
As a sysadmin who has seen and fixed drupal/wp/joomla/dreamweaver etc nightmares, I personally have settled on a combination of emacs org-mode html export (don't forget how beautiful the latex export can be!, and that you can run programs inside org-mode, and the google calendar integration, etc) and asciidoc and asciidoctor(nicer default html export settings, but I suggest custom pure css3/html5 no js!).

That said, back on subject:

Look, this is the main reason you devs tend to hear disdain from us sysadmins when we hear you want to run some new webservice in whatever language fad of the day (node, python, perl, php, asp.net, ruby, scala, go, etc) instead of generating files with your app that can then be serviced to the user using the tried and true tools (apache, nginx, hiawatha, haproxy etc) that have had sometimes decades of public internet exposure to claw thier way through.

Ah, but what about $functionality. Most webdevs think they need a scripting language backend when they really don't. There are uses for it and it has it's place, but it's been way overdone.

Relevant discussion: https://groups.drupal.org/security/faq-2018-002

Sidenote: I think everyone should check out hiawatha webserver, over at (https://www.hiawatha-webserver.org/). Hugo wrote it with security in mind and it by default addresses many things that no other webserver does. It's also gplv2 (which is a big deal for me), and it's performance is second to none. I'm not a big php person, but if I were to be doing a webapp where a backend like that would be needed, I would probably try to go PHP-FPM with hiawatha(mbed TLS)/haproxy and a really nicely hardened boxen and edge firewall(you are using nftables now right?).

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by shendryl on Wednesday April 25, 2018 @08:29AM (#16920888)
If you like Hiawatha, you should take a look at Banshee (https://www.banshee-php.org/). A secure PHP framework made by the same person as Hiawatha. A good alternative for Drupal, Wordpress and other pieces of spaghetti code.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by arca_vorago on Wednesday April 25, 2018 @11:15AM (#16922249)
Yeah I like it but I have tended to prefer to use static pages for the very reasons mentioned. I'll have to try it again sometime. I really wish Hugo would explain why he took it MIT though... as I've been working hard at what I call gnu'izing my stack.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by indigodaddy on Sunday April 22, 2018 @02:03PM (#16897482)
Source for the Hiawatha performance claim?
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by arca_vorago on Sunday April 22, 2018 @10:05PM (#16899994)
Well it's a bit old now but a few years ago on the Hiawatha blog a test of load under attack was done and Hiawatha was able to handle a simulated (d?)dos very well.

I'm on mobile but a quick ddg show: https://www.hiawatha-webserver.org/weblog/64

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by bastawhiz on Sunday April 22, 2018 @11:37AM (#16896599)
Somewhat tangential anecdote:

I used to work a LONG time ago for a company that built Yahoo Small Business ecommerce websites. They used a tool called RTML ("Robert T Morris Language"), which was essentially HAML, powered by Perl, and constructed using a GUI (no text editor interface). Select where you want a node > New node > select node type > Save...each action was a full page load. The process was excruciating, and I was in charge of developing tools to automate the upload of "template" files from the developer's machine to the client's Yahoo Small Business store.

At the end of the day, the customer would load up all their goods into the Yahoo database and hit "Publish", at which point a multi-hour job would kick off to run their RTML against the database. The result was a completely static ecommerce website. Only the cart/checkout pages were dynamic, and those were using shared code.

The development process was a nightmare. The client experience was really bad (want to fix a typo? You're going to wait a couple hours). But I'll be damned if it was possible for anyone to hack those things. There was nothing to hack.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by stephenr on Sunday April 22, 2018 @04:15AM (#16895239)
Im pretty convinced static site generators should be the default first choice for most sites.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by StavrosK on Sunday April 22, 2018 @06:22AM (#16895536)
I've recently found the perfect middle ground: Django with Wagtail and Bakery. Django is Django, Wagtail is a very well designed CMS, and Bakery allows you to export Django views as static files. That way, I managed to convert my dynamic website to a static one with a few lines of code (basically a loop that iterates over all URLs on my site).
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by bonesss on Sunday April 22, 2018 @05:02AM (#16895343)
Especially if you're popular and want to scale.

Turning that CMS into a distributed publishing platform is tricky, but scaling static content is easy-mode from top to bottom.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by Roritharr on Sunday April 22, 2018 @04:15AM (#16895238)
That's of course a good solution but then you want your Ajaxy Web 2.0 Things in there, some more complicated forms maybe and you start looking at something that takes quite some effort to build compared to what you get from WordPress/Drupal etc.

Funnily enough, having worked on all kinds of websites for the past 15 years, i'm still at a loss when asked what the all-round good solution is.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by andybak on Sunday April 22, 2018 @04:26AM (#16895265)
Maybe the problem is the phrase "all round". There are trade offs to be made and complex cost/benefit calculations that are required.

To further complicate things, things change. A website that was a perfect fit for a Wordpress template easily grows beyond that. And a site that seemed ideal for a custom Django/Rails backend might eventually settle into the kind of functionality groove where you begin to wonder if an off the peg solution might not have been a better idea.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by jlgaddis on Sunday April 22, 2018 @04:42AM (#16895301)
WordPress at least automatically updates itself. There's been a few times when auto updates broke but, overall, it has been a tremendous help in reducing the number of exploited web servers out there.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by scandox on Sunday April 22, 2018 @06:52AM (#16895605)
Whenever I try to sell this internally we fall down on plugins. Marketing are using hundreds of them that we can’t replicate.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by arbie on Monday April 23, 2018 @03:14AM (#16901141)
Hundreds!?

Is there significant overlap in their functionality?

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by scandox on Monday April 23, 2018 @04:57AM (#16901718)
I have no idea. We more or less took one look at all the crazy sh*t they were doing with pixels, trackers, inbound marketing, outbound marketing, SEO, sitemaps, special codes for FB, GA, dynamic landing pages...

You know it's all trivial garbage...except if you want to replace it you need to support it, train them to use these tools and at every point you're going to encounter this resistance about WHY you're doing it and you say well security and speed and they're like it's fast enough and we've never been hacked.

So until the site grinds to a halt and they get also get hacked they basically view you as a blocker.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by dreamfactored on Sunday April 22, 2018 @06:12PM (#16898914)
That's how the early CMS's like Vignette worked and they evolved to solutions like WP and Drupal which are better for the web publishing use case - easier to maintain, develop, and capable of real-time UGC and publishing (real-time is crucial for SEO in commercial publishing).

Static site generators are simply a file-system caching layer. Drupal used to have one of those and it was a terrible idea as the number of page variants on a commercial site very quickly hits file-system limitations and performance is appalling. Better to use a proper CDN for a similar result but with massively reduced latency due to content being served from the edge.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by sphix0r on Sunday April 22, 2018 @04:12AM (#16895227)
This.

Most websites are mainly read only anyway. No need to throw in a programming language and store the data in a database.

The thing is, non-tech savvy people should be able to use(and deploy) and understand the static-web generators.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by tenken on Sunday April 22, 2018 @10:05AM (#16896213)
Grav CMS is interesting.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by pathartl on Monday April 23, 2018 @12:23PM (#16904824)
I've always wanted to try it. I'm more interested in Statamic which is premium, but seems better supported and I'd be more comfortable putting clients on it. From an outside perspective without having used either, that is.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by fabian2k on Sunday April 22, 2018 @04:31AM (#16895277)
The original Drupalgeddon vulnerability was seriously problematic in the speed of exploitation. The automated exploits were developed only hours after the announcement, and ~7h later as far as I remembered widespread enough to consider all unpatched installations compromised.

This exploit was far more lenient in timing, there was an advance notice of a serious vulnerability, and the automated exploits were weeks later this time.

There are certainly many people running a CMS themselves that don't have the capabilities to keep them reasonably secure. But it's not that hard if you have a reasonably small attack surface, e.g. few plugins and no user-generated content/accounts. And of course you need to subscribe to the relevant security mailing list.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by Roritharr on Sunday April 22, 2018 @05:00AM (#16895339)
Sure I could run a CMS reasonably secure Drupal Site. But I'm at a successful startup, have had years of experience hardening Websites and know my it-sec hygiene. This also makes me not the target audience for CMSes like Drupal. Most of us agree that having static site generators are a much better solution for most use-cases. The people needing WordPress and Drupal don't know what Usecases they need, they are exploring the possibilities often times.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by stesch on Sunday April 22, 2018 @05:30AM (#16895416)
My last employer didn't understand this.

Currently they have to deal with at least 5 different CMS, 4 shopping systems, and some hand made sites with at least 4 different frameworks. 2 backend languages. And legacy code with self written frameworks in PHP 4 on at least 2 important sites.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by snowwrestler on Sunday April 22, 2018 @01:37PM (#16897308)
Most CMS security is basic stuff like file permissions (where Wordpress sites often get into trouble), applying community patches quickly (both Drupalgeddons), and managing JS library dependencies (a notable hole in the Drupal patching ecosystem).

It takes some expertise to do these correctly, but it's not rocket science. I taught myself and have self-hosted Wordpress and Drupal sites for 8+ years with very few security incidents.

That said, I'm moving my Wordpress and Drupal sites to platforms like WP Engine and Pantheon. But not because of security concerns--because the platforms will accelerate our development process by making it easier for developers to create staging instances and deploy to production.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by themodelplumber on Sunday April 22, 2018 @10:25AM (#16896292)
> modern CMS

I'd change that to "enterprise CMS". Experienced sole proprietor web devs have often moved to lightweight, non-enterprise, non-feature-packed CMSes, this being one reason.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by askvictor on Sunday April 22, 2018 @07:39PM (#16899347)
Which leads to concentration of hosting to a handful of large enough providers (e.g. AWS, Google, Azure)? I completely get your point, but struggling to see a way forward here.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by avttre on Sunday April 22, 2018 @08:48AM (#16895930)
Windows gets exploits too, but that doesn't mean it'd be a good idea to replace it with Chrome OS and lose all the software that doesn't exist out of Windows.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by gr__or on Sunday April 22, 2018 @09:04AM (#16895990)
I think for a lot of people it'd be an excellent idea to do just that.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by ozarius on Monday April 23, 2018 @08:37PM (#16908833)
+1million
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by TekMol on Sunday April 22, 2018 @03:53AM (#16895180)
> It takes a relatively large team to reliable shield software as complex as modern CMS from abuse

No. The article is about a security holes from 2014. It does not need a team to keep your software updated. I have been running a bunch of CMS for many years now and keeping them updated takes me almost no time. If I accumulate all the time I spent on it, it's probably a day per year or so.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by Operyl on Sunday April 22, 2018 @03:57AM (#16895185)
The article references holes from 2014, but was primarily talking about the most recent one in March of 2018.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by TekMol on Sunday April 22, 2018 @03:59AM (#16895195)
My mistake. But it still holds that keeping a single system up to date takes like a few hours a year max. The updates themselfes are usually done in minutes. Only once every few years there will be some issue that takes you some hours to deal with.
Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by lsc on Sunday April 22, 2018 @04:10AM (#16895221)
>But it still holds that keeping a single system up to date takes like a few hours a year max

This... simply isn't true.

Sure, you can just set your system to update and reboot once a week, and then when an update is incompatible with some of your software, well, spend the time to clean up the mess.

This is going to break every few years, and that mess is going to take significant effort, especially if you haven't touched that software for a few years.

A more proactive approach is to watch the security mailing lists, updating when appropriate, but that's an hour or two a week of effort... remember, you have to keep your full stack updated; your cms, your webserver, your os, etc, etc... you need to watch for holes in each of these things, then when there is a hole, you need to figure out if applying the update will break your current configuration, and then apply said update

Either way, it's a significant amount of skilled labor.

Sysadmins don't get paid what SWEs get paid, but we ain't free.

To go deeper into what others will respond to this with, yes, distributions cover some of this. But consider that every few years your distro will go out of support.... and you will have to figure out how to upgrade that, which is often pretty painless, but it does require either a high tolerance for risk or a lot of reading.

Then consider that other bits under your stack; your webserver, your php, your cms, all those packages/versions are sometimes changed mid-release and often changed on those major releases.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by snowwrestler on Sunday April 22, 2018 @01:45PM (#16897344)
This is all true, but it's not unique to CMS software. Everything you write here is true of operating hosted software in general.

Hosting a Drupal site on Pantheon or Acquia does NOT relieve the site owner of testing and applying patches, fixing the site when a patch breaks something, etc.

In terms of hosting, the LAMP stack itself is very stable; setting Linux, Apache, and MySQL to auto-apply stable updates is very unlikely to break Drupal. Even in PHP, going from 5.x to 7.x required some careful testing, but minor updates are generally fine.

The security advantage of open-source CMS software is that the community update process reminds site owners to do this stuff, and gives them the code to do it.

In contrast, a custom-developed CMS can sit there with security holes in it for months or years, and the owner will have no idea until their site is hacked.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by Roritharr on Sunday April 22, 2018 @04:06AM (#16895213)
Once is enough though. Most entities aren't equipped for 8 hour turnaround times to update something that can be 24/7/356.

Think about all the schools that paid someone once for this. The Solution is easy but the structure of responsibility is not there.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by TekMol on Sunday April 22, 2018 @04:12AM (#16895228)
Schools? Hmm...

    it's a bad idea to host and maintain
    a presence with a CMS yourself
I would have thought saying so on Hacker News addresses the readership of Hacker News. Aka myself. So I objected.

Talking about schools. I would say it depends. If the kids run the CMS I would say the learning outweights the downsides of having some VM hacked that only holds public information. So for a CMS with public information I would say: Let the kids have fun with it!

There might also be use cases where that's not a good idea. Really depends on what the CMS is used for.

Re:“Drupalgeddon2” touches off arms race to mass-exploit pow... by Roritharr on Sunday April 22, 2018 @04:33AM (#16895282)
Well I'd guess many readers such as I have worked for schools, churches and other institutions that needed a website, it's a very common type of customer. The hard problem is, you can't usually really help them with this level of problem with their level of budget for it when choosing the common CMS Solutions.