14 Mar 2022

Our Proactive Monitoring Caught an Authenticated Option Deletion Vulnerability in the FastDev WordPress Plugin

One way we help to improve the security of WordPress plugins, not just for our customers of our service, but for everyone using them, is our proactive monitoring of changes made to plugins in the Plugin Directory to try to catch serious vulnerabilities. Through that, we caught a variant of those vulnerabilities, an authenticated option deletion vulnerability in the plugin FastDev.

We now are also running all the plugins used by customers through that on a weekly basis to provide additional protection for our customers. [Read more]

11 Oct 2017

Authenticated Option Deletion Vulnerability in My WP Translate

Recently we went to check on a report of a cross-site scripting (XSS) vulnerability in the plugin My WP Translate and while looking into that we noticed that there were a number AJAX accessible functions that didn’t have the proper protection so that anyone logged in could access them. That is an all too common situation. On a lot of websites that wouldn’t matter much since the only user account is an Administrator, so that if someone gains access to the account they can do whatever they want already, or only trusted individuals have accounts. For websites that do allow untrusted users to have accounts taking extra precautions when it comes to plugins is a good idea. That can include limiting the number of plugins you use and for the highest assurance getting a security review done of them (we do security reviews of plugins suggested/voted for by our customers and also offer a separate service if just want to purchase a review).

Often times the intended functionality of an AJAX accessible function is dangerous for lower level users to have access to, but it is also possible that the code can used to take other action they intended. In the case of this plugin we found that it is possible to use one of those functions to delete WordPress options (settings).  As we discovered with a very similar vulnerability more than a year ago, that can be used to disable a website with a single request. [Read more]

28 Jun 2016

Authenticated Option Deletion Vulnerability in Social Media

Recently we found that the plugin Social Media and Share Icons (Ultimate Social Media) contained an authenticated option deletion vulnerability. The Social Media plugin is based on the code base of that plugin and contained the same vulnerable code. The only difference being that function is named sfsi_plus_DeleteSkin() in this plugin, that is located in the file /libs/controllers/sfsi_iconsUpload_contoller.php.

Proof of Concept

The following proof of concept will delete the siteurl option wp_options table, when logged in to WordPress. [Read more]

28 Jun 2016

Authenticated Option Deletion Vulnerability in Social Media and Share Icons (Ultimate Social Media)

Recently we have been finding a lot of vulnerabilities in WordPress plugins through monitoring our websites for what look to be requests related to hacking attempts against plugins that don’t have known vulnerabilities and then checking over the plugins for exploitable vulnerabilities. That has lead to us finding quite a few vulnerabilities in the current versions of plugins. In attempt to catch more of this type of issue we have been looking around for more data so that we can catch more of these vulnerabilities. That lead us to look at the Social Media and Share Icons (Ultimate Social Media) plugin, despite it looking like it might not have been the target of a hacker. While reviewing that we found a fairly serious vulnerability, though not one that hackers would likely be interested in exploiting.

One of things we review during this type of check is AJAX accessible functions since we have seen those to be a frequent source of issues. Despite the fact that that all of the functions look to be intended only to be accessible to Administrator level users, no check was being done to insure that lower level users were not accessing them. Most of them were still protected to an extent due to fact that a valid nonce was being checked for. That wasn’t the case for the function sfsi_DeleteSkin(), which is located in the file /libs/controllers/sfsi_iconsUpload_contoller.php. While that function is intended for deleting custom skins for the the plugin, the code allows you to delete any option from the wp_options table, since it doesn’t do anything to limit what you can pass to the delete_option() function: [Read more]