News for hackers. Stuff that matters.
Re:In Defence of WordPress by falcolas on Thursday May 14, 2015 @09:44PM (#9548539)
Self updating requires overwriting its own files (or access to your FTP credentials). Enabling this goes against almost every website/server hardening guidebook out there.

It also requires allowing loopback HTTP requests in response to every incoming request to implement a pseudo cron system.

There's a good reason most other CMSes don't implement automatic updating.

Re:In Defence of WordPress by mst on Thursday May 14, 2015 @09:59PM (#9548579)
If an attacker has code execution, I've already lost. Whether they have to inject it every time or can write it to the filesystem isn't really the point.

The current system is better than no automatic updates.

One that uses a separate user that has write access would be superior, but many users don't actually have a separate user to cron that job as.

Re:In Defence of WordPress by toast0 on Thursday May 14, 2015 @10:24PM (#9548651)
If the webserver can write to the web root, that means an vulnerability that allows arbitrary writing can be escalated to code injection.

In a same environment, the web user wouldn't be able to write to the file system at all, much less the web root.

Sanity being rate doesn't really justify only offering auto updates to the insane.

Re:In Defence of WordPress by mst on Thursday May 14, 2015 @10:44PM (#9548702)
They created something that makes the most common sort of deployment more secure.

This is a net improvement and therefore entirely justified.

Re:In Defence of WordPress by falcolas on Thursday May 14, 2015 @10:58PM (#9548755)
> This is a net improvement and therefore entirely justified.

The first does not imply the second. "Our bank is secure because we change out the locks every few days. To facilitate this, all of the locks have their screws on the outside - it was too much work to have someone around to open the doors for the locksmiths all the time."

Interested in hearing how many recent vulnerabilities in WordPress were prevented by not allowing arbitrary writes, whitelisting URLs, and blocking a whole mess of WordPress set headers?

All of them which have occurred in the last year. We've kept up-to-date with our updates, but every security vulnerability which has triggered a major or minor update was prevented not by WordPress updates, but by sensible system security.

Re:In Defence of WordPress by dfcowell on Friday May 15, 2015 @10:01PM (#9554738)
I don't think anyone is suggesting that you should compromise your security to enable auto-updating. Automatic updates are never better than correct file permissions.

The point here is that a large number of WordPress sites are running with file permissions such that the web server can write to the web root.

By trying to auto update, those sites with poor file permissions get a minor security benefit (shorter time between patch release and patch application) while all of the installations running with safe file permissions are entirely unaffected.

There's no downside to a secure site having the automatic update code. There's a small upside to an insecure site having it.