• Technosailor.com
  • Desk of the Editor
  • Venture Files
  • Tech Policy
  • Contenido Español
Technosailor
  • Authors
  • Disclosures
Oct
10
2006

WordPress Plugin Security: Dangerous Combinations

Posted by: Aaron Brazell

I have wrestled with this question since the last entry in this series about WordPress plugin security. As I know this series will be used as a resource for the larger WordPress community, I think it’s necessary to abstract these issues enough that average non-technical users can understand and that doesn’t single out a single issue or two while leaving others unaddressed.

What is a dangerous combination?

Plugins that depend on user permissions
Plugins that grant registered users the ability to do something should be scrutinized. With the advent of the WordPress 2.x series, many plugins that worked in the 1.5.x stream no longer worked as expected. This was because WordPress 1.5 used User Levels, a range of numbers from 0 to 10 that gave people various levels of access. In WordPress 2, user levels were deprecated in favor of Role and Capabilities that gave people roles such as Administrator, Editor, Author, Contributor or Subscriber.

Plugins that rely on user permissions can incorrectly grant access to functionality that is best left to an administrator. For instance, a plugin could place a submenu in the admin panel in the Manage or Options page that could grant access to other features in those areas. By default, WordPress restricts access to these pages to privileged users. A poorly written plugin, could throw all that away.

Careless Use of Role Manager
Owen Winkler wrote a popular plugin called Role Manager which, as powerful and useful as it is (I use it on some blogs), increases the chance of opening up a backdoor for a malicious user. I love this plugin as it allows me the opportunity to tweak user access to WordPress functionality. It even allows me to create whole new roles, such as “Designer” that might give my designer access to the Presentation menu without granting full administrative privileges.

However, if I’m not careful, I could tweak permissions in such a way to allow inappropriate access to areas of my blog. You may think that only a careless blogger allows anyone access to a blog. Some blogs legitimately restrict, say, commenting to registered users and if a user is registered, they have access to a limited admin panel (mostly to change passwords and other user profile options). Use of the Role Manager plugin, in conjunction with item #1 above, plugins depending on user permissions, could open your blog up to a world of hurt.

These are a few dangerous combinations. There are more and I could be even more specific. Maybe another post later on.

Table of contents for WordPress Plugin Security

  1. Understanding Implications of WordPress Plugin Security
  2. WordPress Plugin Security: The Golden Rule
  3. WordPress Plugin Security: What is Dangerous?
  4. WordPress Plugin Security: Dangerous Combinations
  5. WordPress Plugin Security: Less is More
Previous in series Next in series
  • Add to Mixx!
  • Stumble it!
About the Author: Aaron Brazell is the lead editor of Technosailor.com and a social media expert. His passion is to see companies and individuals use the internet and web technologies wisely and effectively to promote their brands and companies. He is Business Development Manager for Lijit and he worked as Director of Technology at b5media from 2005-2008 and is currently an independent consultant.
Tagged: at 11:17 pm -
discussion by DISQUS

Add New Comment

  • Subscribe:  This Thread
  • Go to:  My Comments ·  Community Page
  • Sort thread by:

    Viewing 1 Comment

    Thanks. Your comment is awaiting approval by a moderator.

    Do you already have an account? Log in and claim this comment.

      • ^
      • v
      • Permalink
      • Admin
        • Remove Post
        • Block email
        • Block IP address
      Mike Vincent 15 hours ago 1 point

      Please login to rate.

      Do you already have an account? Log in and claim this comment.

      Superb articles Aaron. One point of interest. Perhaps its just me, but, if your going to do a security article on the dangers of plugins then why not inform people as such rather than ending with this: These are a few dangerous combinations. There are more and I could be even more specific. Maybe another post later on.

      I like many people have been using wordpress for nearly four years now. I have a lot of plugins running, namely for spam and security. But, I have to admit, I'm none to comfortable with that situation. On several occasions I have come to the conclusion that there is something amiss on the blog, but I can't quite put my finger on it. Things are not quite as they seem. Maybe its paranoid, then again, maybe something is amiss? Articles, like yours are a necessary tool for people to sit up and take notice of the dangers that are around.

      Thanks for the articles and I will be keeping a close eye on your blog from now on as it is good to be informed :)

      Many thanks
      reply  edit  flag   record video comment
      /people/ea2694454448dafac75dd13beeb16764/
    discussion by DISQUS

    Add New Comment

    close Joe Chill(joechill)
    konvict

    status via twitter

    Murdering the Wayne parents, creating Batman · 2 minutes ago

    recent comments (follow comments)

      View Profile »
      Powered by Disqus · Learn more
      blog comments powered by Disqus
      Freshbooks
      • Recent Posts

        • Even During a Recession, Small Businesses Still Should Consider Macbooks
        • Non-Competes in a Down Economy
        • Startup Layoffs — The Unkindest Cut
        • BlogHer Comes to DC, Technosailor.com represents 33% of Male Population
        • Why Pay For a Blog Platform?
      • Recent Comments

        Powered by Disqus
      • Tags

        Aaron Brazell Advertising Apple b5media Blogging book conferences Design entrepreneurship Facebook Finance and Funding Google guest_blogging holidays humor hurricanes_and_natural_disasters interesting job Links Marketing Music nfl Op-Ed Perfect Pitch personal politics pr Predictions productivity Programming Security Social Issues Social Media Social Networking social_issues Sports Tech Industry Technology Technosailor Travel twitter unix Venture Files WordPress you_can_blog

      • License Creative Commons Attribution-Noncommercial-Share Alike 3.0 | Copyright © 2004 - 2008 - Aaron Brazell | Managed Hosting by FastServers.Net.