Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Survey Finds Most WordPress Blogs Vulnerable

Posted by kdawson on Thu May 24, 2007 12:10 PM
from the somehow-not-a-surprise dept.
BlogSecurity writes "Security analyst David Kierznowski shocked bloggers yesterday with a survey showing that 49 out of the 50 WordPress blogs he checked seem to be running exploitable versions of the widely used software. He said, 'The main concern here is the lack of security awareness amongst bloggers with a non-technical background, and even those with a technical background.' Mr Kierznowski also uncovered recent vulnerabilities in WordPress plugins that ship by default with the software, adding: 'WordPress users developing plugins must be aware of the security functions that WordPress supports, and ensure that these functions are used in their code.'"
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by iknownuttin (1099999) on Thursday May 24 2007, @12:13PM (#19256093)
    So, how's a huge problem? If anything, some blogs need to be hacked to have some decent content on them!
    • by speculatrix (678524) on Thursday May 24 2007, @03:23PM (#19259205)

      at my previous job there had been a programmer who used the same password for *everything*, and I do mean everything... from the mysql logins (both "root" and regular webapp), web site logins, shell accounts and the ssh passwords needed to move data around!

      I discovered he had a blog site, and guess what, his standard password worked on that too, both to login as him and as admin. Whilst tempted, I neither added nor deleted anything on his site, but I *did* go occasionally go through his blog posts and correct his spelling and grammar! He must have noticed because after many months of occasionally tweaking his content, the login finally stopped working. Yes, I'm talking about you, "smurphy" :-)

    • Newsflash: bloggers are idiots. Film at 11.
  • irony? (Score:1, Interesting)

    where is this article hosted? [blogsecurity.net] yes, wordpress powered site!
    • Re: (Score:2, Insightful)

      by Anonymous Coward
      Is there really a problem if he's running his site on a non-vulnerable version? He's merely pointing out that there are a large number of Wordpress-powered sites out there that are vulnerable. Not ironic in the slightest.
  • How do you fix it? (Score:3, Interesting)

    by jshriverWVU (810740) on Thursday May 24 2007, @12:18PM (#19256189)
    As a wordpress user how do you fix it? I only blog to keep in touch with family and friend who live out of state. But it's been a fun project, though if it is easily exploitable I'd like to know how to fix it, and not just "you're site is EZly hax0red"
    • by packetmon (977047) on Thursday May 24 2007, @12:38PM (#19256513) Homepage
      http://www.infiltrated.net/docs/modsecips.html [infiltrated.net] step by step... If its your own server... If not have the admin slap on mod_security for you and add the same rules in my previous post on this page... www.infiltrated.net/admin.php go for it... That's how I add content. There are a lot of variables to prevent against injections, etc.

      Block Spam injections [pathf.com]

      Directory traversal attacks SecFilter "\.\./"

      XSS attacks
      SecFilter "<(.|\n)+>"
      SecFilter "<[[:space:]]*script"

      SQL injection attacks
      SecFilter "delete[[:space:]]+from"
      SecFilter "insert[[:space:]]+into"
      SecFilter "select.+from"

      Too many times there are clueless admins (not you per se). But this also tends to be one of the grips on the Ubuntu Document [infiltrated.net] people flame me for. If *semi* even experienced admins can't lock a machine down... Imagine when Ubuntu on Dell becomes the next hot thing. Flame as much as you'd like facts are facts
      • Re: (Score:2, Informative)

        by Anonymous Coward
        Mod security is an even bigger joke than your ubuntu article! [securityfocus.com] No web app should be vulnerable to directory traversal, XSS or SQL injection in 2007. If developers have made these simple mistakes, there's a strong possibility they made others that a band-aid will not fix.

        Users should 'fix' wordpress by keeping upto date with the latest stable versions of PHP and wordpress; security is a process and not a product. Personally I wouldn't use wordpress, it may be one of the better written PHP web-apps but unfortu
        • Your words are contradictory... You state Mod security is an even bigger joke than your ubuntu article! blah blah cry cry.. Then state keeping upto date with the latest stable versions... blah blah So does that mean if you kept up to date with mod_security its still a joke. A system is only as secure as you make it, and FYI I'm very aware of the pros and cons with modsecurity, PHP and most CMS systems in general. So your point is what.
              • Dude mod_security *is* a joke. Its a band aid solution.

                What would do if a security flaw was found in your blog?
                a) Update to the latest version.
                b) Make a mod_security rule to block it.

                If you choose a) then mod_security is redundant.
                If you choose b) then your a idiot.
                • Re: (Score:3, Insightful)

                  With a decent set of rules, mod_security isn't a joke. Who's to say that a nice 0-day won't pop up during that time you've decided to be out of the country? If your site is popular enough, boom, you're exploited before you have a chance to patch. There's a few rules that you can make that are generic enough to stop most basic automated attempts and simple POCs. These could give you enough spare time to patch the required item(s). Don't ever forget that security is an onion concept. Many layers helps, as if
    • I maintain several WordPress blogs so this is of interest to me. Thank you.

      On the other hand, my wife needs to write some WordPress blogs for a client and neither she nor the client want to "play computer." They just want to add content. I was looking around for what would essentially business class WordPress hosting. They don't want bluehost or dreamhost at $7/mo and you get to run Fastastico, they just don't want to do that.

      Can anyone recommend a good, high quality, WordPress hosting company that handles
  • self-updating (Score:3, Insightful)

    by dr_hooch (203015) on Thursday May 24 2007, @12:18PM (#19256201)
    Maybe Wordpress could offer tools to help users better manage updates. Firefox does a great job these days.
    • Re: (Score:3, Insightful)

      Maybe Wordpress could offer tools to help users better manage updates. Firefox does a great job these days.
      An Application messing up files past my package-management system? Not on my system.
  • Now I have to stop posting replies on Slashdot, or the script kiddies might hack my site.
  • by Bogtha (906264) on Thursday May 24 2007, @12:23PM (#19256283)

    I think it's about time web applications like WordPress included an update service. Put update notifications into an Atom feed pointing to tarballs incorporating an update script, patches, etc, and label them as security/minor/major. Have the system periodically retrieve them, automatically apply the security updates, and prompt the admin next time he logs in to apply the others.

    The only difficulty is that the developers need to have proper release management. No more bundling security fixes into whatever the latest development version is. No more releasing updates that fiddle with styles at the same time as fixing serious bugs. I don't think that's feasible for many web applications, but it's certainly achievable for bigger projects like Wordpress.

    I can't think of any web application that does this already off the top of my head. Does anybody know of any projects doing this?

    • I can't think of any web application that does this already off the top of my head. Does anybody know of any projects doing this?

      The closest thing I can think of is that there is a module for drupal that will check for updates and inform you. Last I checked it would give you download links, but that's as close as it got to installing them. I wrote a module installer at one point (I think there is one, but I actually did an integration job) but then a better release monitor was released, and so I abandoned

      • Re: (Score:3, Insightful)

        The default login screen for Wordpress does indeed automatically inform you of new updates. The problem is, it doesn't really seem to explain them properly. If I load it up right now, there's a notice telling me that Wordpress 2.2 was released 9 days ago. If I originally installed Wordpress longer than 9 days ago, this notice should be enough to tip me off that there's a new version available. Nowhere, however, does it explain that the 2.2 release supercedes the 2.1.3 release and that the 2.1.3 release shou
        • The Drupal module tells you when there are critical security-related updates, so it had that much up on Wordpress, but that's about it.
            • What should I do when I see a post containing gross factual inaccuracies moderated as "informative"?

              That's a great question. I don't have a good answer. Perhaps I will change my sig a touch. Something to the effect of that the fact that it does not go to metamoderation provides only for abuse.

              There really ought to be other downward moderations, but while there isn't a "just plain wrong", one _has_ to use "overrated". One might posit that for every type of moderation there ought to be an equal and opposite

    • Simple Machines [simplemachines.org] does a decent job. Usually releasing patch files that you download from their site via the admin panel or uploading them directly and installing them.
    • Re: (Score:3, Insightful)

      I think it's about time web applications like WordPress included an update service.

      It depends on what you mean. Wordpress already tells you when a new version is available. What it doesn't do is automatically install it for you. In the case of PHP apps, this is a good thing. (At least, as far as running a PHP app in the first place can be considered a "good thing".)

      Wordpress installations rarely run the vanilla software. Usually the look has been customized by modifying templates and/or plugins have been ad

      • Re: (Score:3, Insightful)

        Wordpress provides an easy-to-use interface to do this, but it doesn't help anything if you upgrade your system. Your look and customizations will go "poof!" the moment you untar that new version.

        Actually, this isn't true -- provided you use some common sense about how you customize your Wordpress blog. It doesn't make a lot of sense to go ahead and apply all your customizations to a theme called "default," for example (though I'm sure that lots of people do this). When you go and untar the new version,

        • But if you had taken the time to make a copy of the default theme before you started mucking with it -- into a directory called, I dunno, "mytheme," perhaps -- your theme wouldn't get overwritten by anything in the tarball and your look and customizations would still be there as soon as you upgraded your database.

          That's assuming, of course, that you can use the old template. The new versions might contain changes to the modified files that can't be simply copied over.

          Not that I'm disagreeing with you about

          • That's assuming, of course, that you can use the old template. The new versions might contain changes to the modified files that can't be simply copied over.

            They might. In practice, they seldom seem to -- Wordpress may change but the APIs seem pretty stable. But, yeah, this is one of the things that makes Wordpress sort of a PITA.

    • From a technical point of view, this isn't usually possible. On most servers, web applications don't have the permissions to update themselves - the PHP scripts are run via mod_php as the 'httpd' or 'apache' user, while the scripts themselves are owned by whatever Unix account was setup to own and manage the domain. Sure, some hosting services run PHP scripts as the Unix user who owns the domain, but they seem to be in the minority.

      The updates are better done by the hosting control panel, assuming that i

      • Most applications that do update checks I've used only do so from the administration interface. e107 and jforum both check for updates. (php and java apps) Its possible to do the checks. However, downloading updates means the webapp has to have space to download files automatically. From a security perspective, it seems stupid to add this feature unless the webapp already needs writable space. The update feature could introduce an additional attack vector.
  • Securing LAMP (Score:5, Informative)

    by packetmon (977047) on Thursday May 24 2007, @12:24PM (#19256317) Homepage
    Securing LAMP [infiltrated.net] Mod Security [modsecurity.org] Its so simple a fix with mod_security...

    SecFilterSelective REQUEST_URI /admin.php chain
    SecFilterSelective REMOTE_ADDR "!^YOUR.IP.ADDRESS$" redirect:http://www.infiltrated.net/sorry.jpg
    SecFilterSelective ARG_username YOURUSERNAME chain
    SecFilterSelective REMOTE_ADDR "!^YOUR.IP.ADDRESS$" redirect:http://www.infiltrated.net/sorry.jpg

    Where your IP address and your username are the only ones to allow anything to the admin page. Anything else gets redirected elsewhere.
      • Yes, that is a simple solution for most people and saves having to load up your network stack with mod security. Of course renaming the admin directory/login script will keep 99.999% of hackers out, as well as making it less than obvious that you are running wordpress (remove wordpress from any of the pages). Security by obscurity will keep all the script kiddies off your website and the serious guys are attacking stuff like banks not blogs.
        • Not always the case. Depending on which PHP CMS you use, many reference admin.php which means you would have to do something like... find . -name "*.php" | perl -pi -e 's/admin.php/newname_of_page.php/g'
      • I only allow access to the admin pages when the client presents a known SSL certificate: Securing WordPress 2 Admin Access With SSL [blackdown.de]
  • by umrguy76 (114837) on Thursday May 24 2007, @12:26PM (#19256361) Homepage
    At least the WordPress site offers easy to follow directions.

    http://codex.wordpress.org/Upgrading_WordPress [wordpress.org]
  • SQL injection? (Score:3, Informative)

    by tcopeland (32225) <[tom] [at] [infoether.com]> on Thursday May 24 2007, @12:28PM (#19256375) Homepage
    An article about a Wordpress vulnerability [blogs.com] from last month sounded like a SQL injection flaw, and Secunia has a bunch listed here [secunia.com]. Mostly DOS and cross-site scripting... plus some "unspecified"...
  • Wordpress (Score:3, Interesting)

    by wumpus188 (657540) on Thursday May 24 2007, @12:33PM (#19256431)
    The problem with WP that it is a major pain in the ass to update, especially if you're running somewhat customized installation. Besides, most bloggers are not technical people and just use whatever version someone installed for them (or installed by their provider).
    • The problem is that even if someone is technical, they're either too busy blogging, or too busy *not* blogging to care. Wordpress has had a lot of vulnerabilities recently, so these results are no surprise at all.
    • Just for the record, as far as I can tell, Wordpress 2.2 was not a security fix. It includes new features and addresses bugs, but I looked through the list of tickets closed in the release of 2.2 and did not see that any security issues were addresses by that newest version. 2.1.3 was a security fix, which users were advised to install promptly (and I did)

      2.2 fixes bugs I never noticed and new features I didn't immediately need, so I can see why even good blog administrators might have waited to upgrade
    • I use DreamHost, they make updates to WordPress pretty simple.
  • by madsheep (984404) on Thursday May 24 2007, @12:54PM (#19256769) Homepage
    This will sort of mirror what I've responded with on Full Disclosure. The first issue is that there really are not any details on this "survey" that was done. I am pretty sure I could conduct a survey that had 1000 WordPress blogs where only 1 of them was a vulnerable version. I am not saying there aren't plenty of older/vulnerable versions out there, but I think you get the point. The second issue is that relying on your extraction of a version number does not mean it's actually vulnerable. Patches or other mitigations could be in place.

    So if it's news to you that people run old and/or vulnerable software, then this might be something new. Otherwise it's just what I would expect.
  • I hope blogger isn't that vulnerable! Perhaps Google is better at security than WP guys.
    • Re: (Score:2, Insightful)

      What? It's not under WP's (or Google's) control if people who run their blogging software themselves don't remember to update often. All WordPress.com blogs are automatically updated to the latest version. This is about people who have a WordPress blog on their own webspace.

      This doesn't have anything to do with the WordPress crew sucking at security, just their users.
  • I'm the first to admit that I would love an automated update for Wordpress - the current manual updates are just enough of a pain that invariably they get delayed.

    That said, let's get some perspective on what is described by the author as "a desparate (sic) attempt to try and educate WordPress Plugin developers to some of the common security problems that can occur."

    From a quick reading of the guy's postings, these weaknesses really only allow one thing: Admin access to the Wordpress site.

    For the v
  • Clueless people running $software don't keep it up to date! Film at 11!

    You either do it yourself and accept the consequences, or find a host with a clue. wordpress.com will even host it for you for the ultra-easy-free option (though they'll charge for extra features).

    Just like... well, everything else you might run on a server. Including the OS.

  • As someone who has just recently been hacked (Druapal 5.1, not WordPress, but I almost went that direction) I can say that I've recently seen my fair share of hacked Wordpress sites (via links to/from referrers) that have been listed as 'defaced' with, "Attack Technics : FTP Protokol" listed on the bragging-rights page. In my particular case it was because my hosting service allows anonymous FTP uploads(?!) with no 'correct' way to disable it (???!!!) -- my solution was to allow 0KB of FTP transfer for anon

    • In my particular case it was because my hosting service allows anonymous FTP uploads(?!) with no 'correct' way to disable it (???!!!)

      So, this had nothing to do with Drupal, right?
  • by moore.dustin (942289) on Thursday May 24 2007, @02:13PM (#19258033)
    So Wordpress is not secure and its users do not know how or perhaps do not even care to make it secure. That, to me, means that if WP does not change its delivery and security by default, tons of blogs will be compromised. That therefore means the market will be wide open for a service that has a secure code base that can be updated easily.

    Good riddance if that is the case. If they cannot adapt to the needs of its users, they deserve what will come to them, though their users do not :(
    • Open Source Software - Pointing out gaping-security-holes-that-you-can't-do-much-about -until-the-software-is-updated-in-a-week's-time-by -some-volunteer-on-the-friendly- community-forum-of-said-software you mean that OSS?
      • lol.. pretty much.

        And mods, my original post is not flamebait... but the truth. It's one of the reasons to use OSS. If it has security holes, you're free to find them yourself.
        • Re: (Score:2, Insightful)

          Your original post would be more applicable to closed source software than open source. If a hole is reported in open source software you CAN do something about it immediately if you want.