WordPress.org

Ready to get started?Download WordPress

Forums

Repeatly Hacked (4 posts)

  1. Rebecca Putinski
    Member
    Posted 7 years ago #

    My sites have been hacked three times within the past week. They're both wordpress 2.0 (I haven't upgraded yet, but I feel I should if this problem were to be solved with the upgrade...) sites. Frankly, I'm getting very worried since one of the hackings involved my entire hosting account being taken over. Is there a serious flaw in wordpress?

    Has this happened to anyone else?

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    There have been many flaws in WordPress over time, but it is extremely rare for WordPress to have a bug critical enough to enable a remote takeover.

    What's most likely is that somebody got into another account on your shared server and was able to read and overwrite your files because you have incorrect permissions on those files. Set everything to 644 by default (your wp-config.php file should be 600, or 640 or 644, whichever is the lowest that allows the blog to continue to function). Some directories you may need to make 755. Occasionally (rarely) you may need to make one 775 or even 777. But those should be few and far between.

    If you're running WordPress 2.0, you should upgrade to at least 2.0.8. There are some security issues that have been solved since 2.0. I would hold off on the 2.1 upgrade for now, unless you enjoy fiddling with things. :)

  3. Rebecca Putinski
    Member
    Posted 7 years ago #

    I just upgraded to 2.1 and that worked out fine. I had 2.0.8 before too. The first hacking I experienced I contacted my host immediately and they claimed it was my fault. :|

  4. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    Of course they did. That's what they always do. But they're the ones with the log files, so if they don't tell you *how* you get hacked, then them telling you that it's your fault is less than helpful, isn't it? If you point that out and they refuse to show you relevant log files showing how you got hacked, then you need to switch hosts. That's my advice.

Topic Closed

This topic has been closed to new replies.

About this Topic