Home Blog News & Announcements Vulnerability in WP Super Cache and W3 Total Cache

Identifying Vulnerabilities in WP Super Cache and W3 Total Cache

Vulnerability in WP Super Cache and W3 Total Cache

A very serious vulnerability (remote code execution) was discovered in two of the biggest WordPress caching plugins, WP Super Cache and W3 Total Cache (W3TC). Remote code execution “is used to describe an attacker’s ability to execute any commands of the attacker’s choice on a target machine or in a target process” – Wikipedia.

The vulnerability, which affects every WordPress installation which have comments enabled was reported on the official WordPress.org Forums by a user called Kisscsaby. The whole forum thread can be found here. Well done for the plugin developers who 6 days ago released a new and fixed version of the plugins. You can find a more detailed description of what the exploit was from Frank Goossens’ blog.

The best way to ensure that your WordPress is not vulnerable to remote code execution is to upgrade your WordPress caching plugin.

Test if your WordPress is Vulnerable

To test if your WordPress is vulnerable to remote code execution, try to post a comment with the below syntax in the comment area:

<!–mfunc echo PHP_VERSION; –><!–/mfunc–>

If instead of your actual text you see a number, such as 5.2.17 then your WordPress is vulnerable. The number showing in the comment is the version of PHP you are running. This means that an attacker can pass any commands he or she wants to your server and they will be executed. That is why it is called remote code execution.

Remedy for Exploited WordPress Vulnerability

If you are running one of the vulnerable caching plugin and someone already exploited it, restore a clean backup of your WordPress in an offline location and manually restore back any comments you might have lost. Make sure you update the vulnerable WordPress caching plugin before pushing any updates to the live website. To upgrade your plugin, follow the below links:


Leave a Reply

Your email address will not be published. Required fields are marked *

Stay in the loop

Subscribe to the Melapress newsletter and receive curated WordPress management and security tips and content.

Newsletter icon

It’s free and you can unsubscribe whenever you want. Check our blog for a taste.

Envelope icon

The survey results are in: Find out what your WordPress security gameplan might be missing

Close

The survey results are in: Find out what your WordPress security gameplan might be missing

Uploading Melapress Login Security as a zip file in WordPress
Melapress Login Security in the WordPress plugin repository
Close

Installing Melapress Login Security Free

Congratulations on taking control of your WordPress website's security by implementing robust login and password policies with Melapress Login Security. You can change your login page URL, limit failed login attempts, and reset passwords.

 

Below are two ways to install Melapress Login Security on your website:

Go to your plugin dashboard on your site, then go to "Add New" and then search for Melapress Login Security.

Download the Melapress Login Security plugin zip, then select upload in your plugin dashboard under "Add New".

OPTION 1

OPTION 2

Uploading CAPTCHA 4WP as a zip file in WordPress
CAPTCHA 4WP in the WordPress plugin repository
Close

Installing CAPTCHA 4WP Free

Well done you. You're one step closer to safeguarding your WordPress website from spam and automated attacks with CAPTCHA 4WP. You'll be able to effortlessly integrate CAPTCHA into your forms and enjoy a website with enhanced security.

 

Below are two ways to install CAPTCHA 4WP on your website:

Go to your plugin dashboard on your site, then go to "Add New", and then search for CAPTCHA 4WP.

Download the CAPTCHA 4WP plugin zip, then select upload in your plugin dashboard under "Add New".

OPTION 1

OPTION 2

Uploading WP Activity Log as a zip file in WordPress
WP Activity Log in the WordPress plugin repository
Close

Installing WP Activity Log Free on your website

You deserve a pat on the back for choosing to record user actions and changes on your website. That is the first step towards better user accountability, easier troubleshooting of website security, and many other benefits of issues.

 

Below are the two ways to install WP Activity Log on your website:

Go to your plugin dashboard on your site, then go to "Add New" and then search for WP Activity Log.

Download the WP Activity Log plugin zip, then select upload in your plugin dashboard under "Add New".

OPTION 1

OPTION 2

Uploading WP 2FA as a zip file in WordPress
WP 2FA in the WordPress plugin repository
Close

Installing WP 2FA Free

Congratulations on taking the first step towards enhancing your WordPress site's security with WP 2FA Free! You're now on your way to protecting your valuable data and ensuring peace of mind. No coding or technical knowledge is required.

 

Below are two ways to install WP 2FA on your website:

Go to your plugin dashboard on your site, then go to "Add New", and then search for WP 2FA.

Download the WP 2FA plugin zip, then select upload in your plugin dashboard under "Add New".

OPTION 1

OPTION 2