Understanding Implications of WordPress Plugin Security

by Aaron Brazell on September 23, 2006 · 19 comments

Early last year (an eternity ago, it seems), I wrote a series on PHP security that continues to be one of the top recipients of search engine traffic. Specifically, we talked about register_globals, remote file execution and the dangers of FTP.

Yesterday, I posted details about a cross-site scripting (XSS) exploit in a popular WordPress plugin which prompted Podz, support maven for WordPress to challenge the WordPress development community to contribute back to the community by detailing what makes plugins unsafe.

My goal is to tackle every one of his questions in a post dedicated to each question. As I post a new article, I’ll link to it from here so Podz and the rest of the good folks offering support can have a centralized location to find my answers. There may be other developers out there who will contribute to this exercise themselves, and I encourage them to do so.

This is a good exercise because most people think they will never get hacked. It won’t ever happen to me! WordPress as a blogging platform is a pretty secure piece of software. Every once in awhile, a flaw is discovered and patched. However, the plugin hooks allow anyone to write any code to add to WordPress that can make a blog a very dangerous place indeed. Hopefully these posts will demystify plugins a bit and give average folks some clues as to what exactly they are installing when they activate a plugin.

The questions Podz asks are as follows:

  1. What is Dangerous?
  2. Is there a bad combination?
  3. What should we not mix?
  4. How can we tell what is good and bad?
  5. Can we test these plugins to find out?
  6. Who Should we trust and how do we know we can trust them?
  7. How much research is enough?
  8. Should we ever not use plugins?
  9. Is it a permissions problem every time?
  10. What is “Best Practice”?
  11. Which plugins do you think are bad? Why ? Have your changed yours if you use it ?

Some of these questions will be answered overly simplistically, while others will take more in depth. I may even have a guest or two contribute. We’ll see…

Updates: Entries in the Series.

{ 5 trackbacks }

WordPress Plugin Security: The Golden Rule » Technology, Blogging and New Media
September 25, 2006 at 11:03 am
WordPress Plugin Security: What is Dangerous? » Technology, Blogging and New Media
September 28, 2006 at 12:06 pm
WordPress Plugin Security: Dangerous Combinations » Technology, Blogging and New Media
October 10, 2006 at 11:17 pm
WordPress Plugin Security: Less is More » Technology, Blogging and New Media
October 12, 2006 at 1:54 pm
Gefährliche WP-Plugins | nanoblogs[.de]
October 26, 2006 at 4:18 pm

{ 14 comments }

1 Michael Hampton September 23, 2006 at 2:05 pm

This is why I keep my plugins as simple as possible. Obviously it’s not possible to prevent everything in advance, but XSS and the like are low-hanging fruit: anybody writing code should understand them and be able to defend their code from them.

2 Michael Hampton September 23, 2006 at 2:05 pm

This is why I keep my plugins as simple as possible. Obviously it’s not possible to prevent everything in advance, but XSS and the like are low-hanging fruit: anybody writing code should understand them and be able to defend their code from them.

3 Michael Hampton September 23, 2006 at 2:05 pm

This is why I keep my plugins as simple as possible. Obviously it’s not possible to prevent everything in advance, but XSS and the like are low-hanging fruit: anybody writing code should understand them and be able to defend their code from them.

4 Michael Hampton September 23, 2006 at 2:05 pm

This is why I keep my plugins as simple as possible. Obviously it’s not possible to prevent everything in advance, but XSS and the like are low-hanging fruit: anybody writing code should understand them and be able to defend their code from them.

5 Michael Hampton September 23, 2006 at 2:05 pm

This is why I keep my plugins as simple as possible. Obviously it’s not possible to prevent everything in advance, but XSS and the like are low-hanging fruit: anybody writing code should understand them and be able to defend their code from them.

6 Michael Hampton September 23, 2006 at 2:05 pm

This is why I keep my plugins as simple as possible. Obviously it’s not possible to prevent everything in advance, but XSS and the like are low-hanging fruit: anybody writing code should understand them and be able to defend their code from them.

7 Michael Hampton September 23, 2006 at 2:05 pm

This is why I keep my plugins as simple as possible. Obviously it’s not possible to prevent everything in advance, but XSS and the like are low-hanging fruit: anybody writing code should understand them and be able to defend their code from them.

8 Andrew K. September 24, 2006 at 6:42 pm

Perhaps it should be suggested to plugin authors that they request a security review via the forum or IRC? I’m not sure about the forum as I don’t participate, but I know there are more than enough people who can check plugin security on the wp-hackers list and in #wordpress on freenode.

9 Andrew K. September 24, 2006 at 6:42 pm

Perhaps it should be suggested to plugin authors that they request a security review via the forum or IRC? I’m not sure about the forum as I don’t participate, but I know there are more than enough people who can check plugin security on the wp-hackers list and in #wordpress on freenode.

10 Andrew K. September 24, 2006 at 6:42 pm

Perhaps it should be suggested to plugin authors that they request a security review via the forum or IRC? I’m not sure about the forum as I don’t participate, but I know there are more than enough people who can check plugin security on the wp-hackers list and in #wordpress on freenode.

11 Andrew K. September 24, 2006 at 6:42 pm

Perhaps it should be suggested to plugin authors that they request a security review via the forum or IRC? I’m not sure about the forum as I don’t participate, but I know there are more than enough people who can check plugin security on the wp-hackers list and in #wordpress on freenode.

12 Andrew K. September 24, 2006 at 6:42 pm

Perhaps it should be suggested to plugin authors that they request a security review via the forum or IRC? I’m not sure about the forum as I don’t participate, but I know there are more than enough people who can check plugin security on the wp-hackers list and in #wordpress on freenode.

13 Andrew K. September 24, 2006 at 6:42 pm

Perhaps it should be suggested to plugin authors that they request a security review via the forum or IRC? I’m not sure about the forum as I don’t participate, but I know there are more than enough people who can check plugin security on the wp-hackers list and in #wordpress on freenode.

14 Andrew K. September 24, 2006 at 6:42 pm

Perhaps it should be suggested to plugin authors that they request a security review via the forum or IRC? I’m not sure about the forum as I don’t participate, but I know there are more than enough people who can check plugin security on the wp-hackers list and in #wordpress on freenode.

Comments on this entry are closed.

Previous post: Legos

Next post: WordPress Plugin Security: The Golden Rule