News for hackers. Stuff that matters.
Re:WordPress Is in Trouble by karaterobot on Monday January 13, 2025 @03:07PM (#42688340)
I've had a Wordpress blog for about 25 years. This makes me want to turn off automatic updates, since I'm worried he might just go nuclear and flip some sort of kill switch that bricks every blog, or push some ridiculous anti-Wordpress Engine banner to every installation. Of course, not keeping WP up to date is very risky as well.

I'm not even insensitive to his position, even though I don't know full details. But, he's the one acting irrational in all this, so he's the one I'm most scared of.

Re:WordPress Is in Trouble by internetter on Monday January 13, 2025 @03:34PM (#42688798)
Consider a static site. They cannot be hacked, they are cheaper to host, and once the files are generated they are immutable
Re:WordPress Is in Trouble by daitangio on Monday January 13, 2025 @04:13PM (#42689432)
With isso for comments!
Re:WordPress Is in Trouble by prepend on Monday January 13, 2025 @03:43PM (#42688954)
They can certainly be hacked, just like any static site. Web servers have vulnerabilities.

And the files can certainly be edited as they aren’t immutable.

They are less resource intensive and easier to maintain, but aren’t immune.

(Running mostly static sites converted from Wordpress sites, but also running 10 year old+ word press sites that haven’t been changed in forever)

Re:WordPress Is in Trouble by RandomDistort on Monday January 13, 2025 @03:48PM (#42689030)
You aren't wrong, but if you use Cloudflare Pages with a static site the only job you have to do for a static site is make sure your Cloudflare account is secure with 2fa etc. Cloudflare will handle the security of everything else.

If you have Wordpress exposed to the internet, there's a lot more security stuff to deal with.

Re:WordPress Is in Trouble by pier25 on Monday January 13, 2025 @04:05PM (#42689303)
Even if it's remotely possible to hack Nginx... what's the motivation to hack a static site?

There's no DB with juicy data and no compute to abuse for mining crypto or running DDOS attacks.

Re:WordPress Is in Trouble by arccy on Monday January 13, 2025 @04:15PM (#42689472)
trick users into clicking malicious links, host ads, seo link farm, host other questionable content, or some people just like to deface websites
Re:WordPress Is in Trouble by mfkp on Monday January 13, 2025 @04:20PM (#42689550)
Usually SEO spam link insertion and generic Viagra spam redirects...
Re:WordPress Is in Trouble by prepend on Monday January 13, 2025 @04:25PM (#42689606)
Similar motivation as hacking a Wordpress site, putting seo spam out there.

There’s less payoff, but people still do it.

Re:WordPress Is in Trouble by pier25 on Monday January 13, 2025 @04:53PM (#42689931)
yeah but the difficulty in hacking Nginx vs Wordpress must be orders of magnitude more difficult though
Re:WordPress Is in Trouble by dowager_dan99 on Monday January 13, 2025 @04:47PM (#42689866)
you can change the payload sent to users, static or not. If you serve javascript you're serving dynamic, runtime dependency injecting code.
Re:WordPress Is in Trouble by andrewflnr on Monday January 13, 2025 @03:59PM (#42689206)
You're not wrong, but compromising a server that exposes nginx configured for static files, sshd, and nothing else is at least an order of mag or two harder. Probably no one is going to drop an nginx 0day on your blog.
Re:WordPress Is in Trouble by dustyharddrive on Monday January 13, 2025 @04:38PM (#42689776)
And you can run one written in a memory-safe language, like Caddy.
Re:WordPress Is in Trouble by moralestapia on Monday January 13, 2025 @03:50PM (#42689058)
Good luck hacking an html file served through nginx.
Re:WordPress Is in Trouble by crowcroft on Monday January 13, 2025 @04:28PM (#42689639)
The web server can be hacked so it serves something other than the static HTML you uploaded but there is no 'app' to hack, there's a whole class of problems that can happen on WordPress that can not happen with static sites.

What would hacking an HTML file even mean.

Re:WordPress Is in Trouble by amyames on Tuesday January 14, 2025 @12:08AM (#42693908)
I already had to switch a public facing site to a static site because it was getting defaced every 1-3 years.

The first time I caught them in the act and pulled the NIC on it because from file names it looked like CSAM was being uploaded to it.

After the third time I went static and never looked back.

Comments and search never worked right (or depended on the Wordpress box being reachable by the public at the admin URL anyway.) went through algolia, disqus, updates inevitably broke them again

Between all that and the corporate behavior im ready to move on from WP. The site in question hasn’t been online for several months now and the more I read about this the more I went, it’s time to find something else for this need

Re:WordPress Is in Trouble by magicalhippo on Monday January 13, 2025 @04:38PM (#42689774)
I had a website got hacked when the FTP server running on the shared host got exploited. They added some malware injection code to the index.html file.

After that I added a cron job that compared the hash of the index.html with a precomputed value. Didn't change often enough to be a hassle.

Re:WordPress Is in Trouble by Nectar0516 on Monday January 13, 2025 @11:54PM (#42693809)
Or you can just pay someone to host it and maintain and support the web server for you, for a lot cheaper (often free, like Github Pages).
Re:WordPress Is in Trouble by eslaught on Tuesday January 14, 2025 @12:11AM (#42693920)
Other siblings have piled on this, but let me just add:

Your source of truth for a static site will never be the deployed contents of the server (even if you do go that route). It will be your local Git repo or possibly your upstream Git forge.

Even in the rare case that such a simple case gets you hacked, you can throw away your entire setup and start over quite easily. Whereas all of the Wordpress/Drupal/etc/etc. options I'm aware of will require you to do your own database backups, if you are self-hosting, or else you are simply hosed (as the attacker could corrupt or erase the source of truth).

If you are with a hosted solution then obviously your security (and backups) will be as good as their security/backups, and all of this will be moot except for pricing.

Re:WordPress Is in Trouble by prepend on Tuesday January 14, 2025 @07:28AM (#42696430)
I understand all this. I didn’t say that static sites are easy to hack or valuable, I responded to GP’s claim “They cannot be hacked”

I think static sites are a good technique that has vastly improved security over dynamic sites, but thinking that using them makes you invincible is faulty.

Re:WordPress Is in Trouble by philistine on Tuesday January 14, 2025 @12:11PM (#42700236)
If it makes you as vulnerable as S3, that's as close to invincible as you're going to get.
Re:WordPress Is in Trouble by prepend on Tuesday January 14, 2025 @05:07PM (#42704588)
Depends on where you host.
Re:WordPress Is in Trouble by philistine on Wednesday January 15, 2025 @11:50AM (#42713406)
The whole website is on Amazon S3, that's where you host it!
Re:WordPress Is in Trouble by prepend on Tuesday January 21, 2025 @10:11AM (#42780942)
I host dozens of static sites, none of them run on s3.
Re:WordPress Is in Trouble by philistine on Tuesday January 14, 2025 @12:10PM (#42700214)
The beauty of a static site is you can then put it on something like Github Pages or S3 to give the responsibility of the server to someone else.
Re:WordPress Is in Trouble by CIPHERSTONE on Monday January 13, 2025 @03:47PM (#42689002)
This 100%. Host on github and use ghpages and Jekyll with either github supported themes or a theme of your choice.
Re:WordPress Is in Trouble by ptx on Monday January 13, 2025 @03:43PM (#42688945)
What about using distro packages? That would insulate you from upstream suddenly turning malicious.

I'm not sure if Debian's packages are kept up to date with security patches, though. The latest changes to the wordpress package[0] were in December 2022 and and May 2024.

[0] https://metadata.ftp-master.debian.org/changelogs//main/w/wo...

Re:WordPress Is in Trouble by alexvitkov on Monday January 13, 2025 @04:10PM (#42689385)
I certainly trust Debian maintainers slightly more than this guy, but I wouldn't say switching the right to push things to your computer from one set of people you don't know to another set of people you don't know "insulates" you from malicious updates.