I just double checked wp-config.php for WPTavern.com and yes, the permissions are set to 0644. Phew :)
I just double checked wp-config.php for WPTavern.com and yes, the permissions are set to 0644. Phew :)
So the speculation that if you're on a server where some idiot has set their config file to 755, the whole server is endangered is BS?
(and of course I checked mine too ;) )
Veeeeerrrrry interesting...
How about a big, annoying, nag banner on the back-end that is visible anytime wp-config.php file permissions are set to anything unsafe?
(I'm envisioning a plug-in here. I need to look into how to display - and edit - file permissions from an options page in the back-end. Do any other plugins do this?)
WP TurnKey - Turn-Key WordPress installation and maintenance services
WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins
WP Super Cache does this. I'm sure others do, too, but I'm familiar with that one having the nag screen.(I'm envisioning a plug-in here. I need to look into how to display - and edit - file permissions from an options page in the back-end. Do any other plugins do this?)
WP TurnKey - Turn-Key WordPress installation and maintenance services
WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins
Yeah. When you install it, it says 'Hey, the files aren't writeable. Do this.' You set 'em, it installs, then it says 'Hey, your files aren't secure! Do this!'
In each case, it gives you the exact chmod to run to fix the problem.
WP TurnKey - Turn-Key WordPress installation and maintenance services
WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins
The wpmu installer has always nagged about the file permissions and given a reminder to set it back.
There was another article written that said the users involved had changed the permissions on the file themselves.
Edit: article here with some quotes from Barry. http://www.darkreading.com/database_...SSfeed_DR_News
Son of Edit: cracked a thousand posts, woot!
Last edited by andrea_r; 04-12-2010 at 05:30 PM.
Weird. I wouldn't have thought many people would have had their file permissions set like that.
Does this mean that they think that WordPress should not allow users to use a more permissive permissions setup than 644? ie: it should spit out an error when users set it to something higher?The researchers who discovered the attacks say a design flaw in the WordPress blogging platform was the underlying problem because by default it allows users to set up permissions that let anyone read their blog's wp-config.php file configuration files
What do other web softwares do? I assumed the way WordPress did it was a fairly standard par for the course approach to such things.