In June 2013, Checkmarx’s research labs ran multiple security scans against the source code of the most popular WordPress plugins.
More than 20% of the 50 most popular WordPress plugins are vulnerable to common Web attacks, such as SQL Injection. In total, 8 million vulnerable WordPress plugins were downloaded.
This report presents the research findings as well as recommendations and mitigation measures for plugin developers, Web admins and platform providers when developing and installing third-party extensions.
Here’s a summary of the findings:
- 20% of the 50 most popular WordPress plugins are vulnerable to common Web attacks.
This amounts to nearly 8 million downloads of vulnerable plugins.
- 7 out of top 10 most popular e-commerce plugins are vulnerable to common Web attacks.
This amounts to more than 1.7 million downloads of vulnerable e-commerce plugins.
- There is no correlation between the number of Lines of Code (LOC) and the vulnerability level of the plugins.
- Vulnerable top 50 general plugin types vary and include ecommerce, content management, site development and social networks plugins.
- Only six plugins were completely fixed in a 6-month time period- although all plugins updated their versions during this time.
It wouldn’t be a stretch to assume that a similar percentage of all the other plugins contain these vulnerabilities.
These findings emphasize, however, a deeper problem than risky plugins. At the root of the problem is the lack of security standards that PaaS-providers (aka app marketplaces) enforce on the apps that they distribute. After all, a developer in a rush will most likely not consider security aspects during the demands of a release. Web admins cannot necessarily schedule immediate updates whether due to lack of security knowledge, admin resources and other scheduling priorities. Unfortunately, the end-user carries the brunt- which undoubtedly is not their responsibility.
So who’s responsible? The app marketplace.
The app marketplaces are in that unique position to set a security policy on the apps that they distribute. The marketplace needs to ensure that only those apps which passed its specific security bar are authorized for the public.
The world is shifting towards software distribution platforms. App marketplaces continue to tell us that their platforms are secure, but don’t buy into those word games. Only if they start enforcing the security of the apps they distribute, we could seriously talk about the security of distribution platforms.
Unfortunately many users don’t think about security when downloading plugins, wrongfully assuming that the repository, marketplace or seller has taken proper care of securing the plugin. This clearly is not the case, which is why we advice that you do a security lockdown every now and then to make sure your site is safe.
If you enjoyed this post, make sure to subscribe to WP Mayor’s RSS feed.