ClassiPress 3.1.4 = TimThumb Security Patch

Many of you have likely heard about the recent TimThumb security vulnerability and we wanted to address the issue as well. Timthumb is a popular image resizing script that is used in many WordPress themes (including ClassiPress).

Recently a vulnerability was discovered within the script that allows hackers to upload and execute arbitrary PHP code within your TimThumb cache directory. It can potentially hijack your website and bring down your WordPress site.

This vulnerability exists in ClassiPress versions 2.9.3 or higher (the majority of our customers) so it’s highly recommended to upgrade immediately. The author has provided a fix and we quickly rolled out a patch to address this. The latest version of ClassiPress (v3.1.4 or higher) is no longer vulnerable.

Who does this affect?

Any customer using ClassiPress version 3.0 or higher. We introduced TimThumb in ClassiPress 3.0 to replace a different image resizing script. It is basically there to support legacy ads (2.9.3 or earlier) so the majority of you don’t even need it.

How can we fix it?

The easiest way is to just upgrade to 3.1.4. If you don’t want to upgrade and you purchased 3.0 or higher, then at the very least, delete /classipress/includes/timthumb.php and empty the /classipress/includes/cache/ folder (delete all files in there). If you don’t see a cache folder you can skip that step.

Customers who purchased 2.9.3 or earlier

You likely have legacy ads which require TimThumb to work correctly. Upgrading to 3.1.4 is ideal but if you don’t want to upgrade, then at the very least, upgrade your /classipress/includes/timthumb.php to the latest version and empty the /classipress/includes/cache/ folder (delete all files in there). If you don’t see a cache folder you can skip that step.

  1. Login to your WordPress back-end
  2. Go to appearance => editor and find “timthumb.php”
  3. Replace the entire code with the updated TimThumb

How can I get the fix?

It can be downloaded from your customer dashboard. You can either apply the patch or install the full theme again. The release notes go into detail as to what is included in the update.

What else was done?

In addition to fixing the TimThumb security vulnerability, we have done an overall security sweep and tightened things up. This update makes ClassiPress the most secure release we’ve done to-date.

Important

Delete any old versions of ClassiPress you may have sitting on your web server. They are susceptible to being exploited even though they may not be your active theme. You should only have the latest version on your site.

  1. Login to your WordPress back-end
  2. Go to appearance => themes
  3. Delete any old versions of ClassiPress. Make sure not to delete your active version.

We’re sorry for the inconvenience but please make sure to upgrade ASAP to avoid your site from being hacked.

Your rating: none
Rating: 0 - 0 votes

 Comments (13)

  • customer
    altor25

    I noticed that if you just want to fix the Timthumb issue fall under ‘Customers who purchased 2.9.3 or earlier’ you can just replace the code.

    I currently have 3.1.3 installed, am I also able to implement this quick fix?

    Like
    Anonymous likes this.
    • author
      David

      @altor25, yes as long as you replace it with the latest version of TimThumb (linked above).

      Like
      Anonymous likes this.
  • gayan

    I got 3.1.3 and I deleted the file(timthumb.php). But I cannot fine a folder as “/classipress/includes/cache/”. Do I need some setting to enable caching ?

    Like
    Anonymous likes this.
    • author
      David

      @gayan, if you don’t see a cache folder, you can skip that step. If TimThumb was never used (which it sounds like is your case) then the cache folder would have never been created.

      Like
      Anonymous likes this.
  • Jackson

    Why did it take so long to notify users of this vulnerability?

    Like
    Anonymous likes this.
    • Shannon

      A user posted in the forum about this vulnerability. As soon as we heard, we got to work on a patch and released just a couple of days later. At the same time, we did security review so we could tighten up any other possible issues with the same security patch.

      If You have not downloaded the security patch yet, we strongly suggest doing so now.

      Like
      Anonymous likes this.
  • customer
    procyon

    can you post the 3.1.3 upgrade guide since there were a few files that were modified.

    Like
    Anonymous likes this.
    • author
      David

      @procyon, it’s the same process as upgrading to 3.1.4. You can read the release notes to see which files have changed.

      Like
      Anonymous likes this.
  • Jacgo

    My classipress is 3.14 and just installed few days ago.

    but Hostmonster noticed me yesterday they found exploitable timthumb.php file(s) on my account. It is highly recommended update these files to the latest available version to prevent possible compromise.

    Do I need to update again? or there is other newest timthumb.php or classipress version will be released for this case.

    Thanks!

    Like
    Anonymous likes this.
    • author
      David

      @Jacgo, 3.1.4 has the latest version of TimThumb so you should be fine. 😉

      Like
      2 people like this.
  • Kreativ Theme

    Apparently many wordpress theme use TimThumb since I’ve seen the security news on several other website … and I think it’s cool that all themes developers are so fast when it comes to security issue to be fixed …

    Like
    Anonymous likes this.
    • Shannon

      Thanks, Kreativ Theme. We try to do all we can to keep our themes as secure as possible.

      Like
      Anonymous likes this.
  • AReis

    I’ve just replaced my timthumb.php with the updated version. No cache dir found so I guess I was lucky…
    Does anyone know of a scanner that can help us make sure we’ve got this covered?

    Thanks,
    AReis

    Like
    Anonymous likes this.

Discussion is closed.