Page 11 of 26 FirstFirst ... 91011121321 ... LastLast
Results 101 to 110 of 255

Thread: Webhosting Companies And Security Related Attacks

  1. #101
    Jeffro's Avatar
    Jeffro is offline WPTavern Forum Admin
    Join Date
    Jan 2009
    Location
    Ohio
    Posts
    2,358

    Default

    I just double checked wp-config.php for WPTavern.com and yes, the permissions are set to 0644. Phew :)

  2. #102
    Ipstenu's Avatar
    Ipstenu is offline Big Tipper
    Join Date
    Feb 2010
    Posts
    368

    Default

    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 ;) )

  3. #103
    chipbennett's Avatar
    chipbennett is offline WordPress Legend
    Join Date
    Feb 2009
    Location
    St. Louis, MO
    Posts
    1,993

    Default

    Quote Originally Posted by Jeffro View Post
    ZDNet is reporting on the security lapse and based on the info they gathered from two other places, the culprit appears to be database credentials stored in plain text in wp-config.php with incorrect permissions set.

    http://blogs.zdnet.com/security/?p=6111
    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

  4. #104
    Ipstenu's Avatar
    Ipstenu is offline Big Tipper
    Join Date
    Feb 2010
    Posts
    368

    Default

    (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 Super Cache does this. I'm sure others do, too, but I'm familiar with that one having the nag screen.

  5. #105
    chipbennett's Avatar
    chipbennett is offline WordPress Legend
    Join Date
    Feb 2009
    Location
    St. Louis, MO
    Posts
    1,993

    Default

    Quote Originally Posted by Ipstenu View Post
    WP Super Cache does this. I'm sure others do, too, but I'm familiar with that one having the nag screen.
    It nags on file permissions?
    WP TurnKey - Turn-Key WordPress installation and maintenance services
    WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins

  6. #106
    Ipstenu's Avatar
    Ipstenu is offline Big Tipper
    Join Date
    Feb 2010
    Posts
    368

    Default

    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.

  7. #107
    chipbennett's Avatar
    chipbennett is offline WordPress Legend
    Join Date
    Feb 2009
    Location
    St. Louis, MO
    Posts
    1,993

    Default

    Quote Originally Posted by Jeffro View Post
    I just double checked wp-config.php for WPTavern.com and yes, the permissions are set to 0644. Phew :)
    Mine was also set to 644, but I changed it to 640, just to be extra-secure. :)
    WP TurnKey - Turn-Key WordPress installation and maintenance services
    WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins

  8. #108
    andrea_r's Avatar
    andrea_r is offline WordPress Rockstar
    Join Date
    Jan 2009
    Location
    Eastern Canada
    Posts
    1,325

    Default

    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.

  9. #109
    Ryan's Avatar
    Ryan is offline WordPress Legend
    Join Date
    Jan 2009
    Location
    New Zealand
    Posts
    2,797

    Default

    Weird. I wouldn't have thought many people would have had their file permissions set like that.

  10. #110
    Ryan's Avatar
    Ryan is offline WordPress Legend
    Join Date
    Jan 2009
    Location
    New Zealand
    Posts
    2,797

    Default

    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
    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?

    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.

Page 11 of 26 FirstFirst ... 91011121321 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •