Avatar of David

ClassiPress 3.1.4 = TimThumb Security Patch

August 17, 2011 | David | Updates

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.


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

Popular Marketplace Items

  • mappress-thumbnail


    MapPress is a plugin which adds Google Maps and pin points to your ClassiPress theme.
  • Shortys Vantage Logo

    Shortys for Vantage

    A tool for sorting listings, seo and targeted ads.
  • $49


    A rich, stylish, professional & clean responsive design child theme for ClassiPress.
  • thumbnail

    Ad Injector

    Inject adverts directly into listings and search results. Works with multiple themes.
  • fire-starter

    Fire Starter

    An SEO plugin that simplifies webmaster-related tasks.
  • $39


    A clean, sleek, and modern designed child theme for JobRoller.
  • ACFhyperlink-thumbnail

    ACF :: Hyperlink

    Convert values of an ad or profile custom field into a fully customizable hyperlink.
  • slider-ultimate-thumbnail

    Slider Ultimate

    A unique featured ads slider for ClassiPress.
  • screenshot


    A conversion focused responsive Clipper child theme with premium features.
  • bump ad

    Bump Ad

    Give users the ability to bump their ads back to the top.
  • dear-seven-responsive-multipurpose-theme-thumbnail


    A responsive multi-purpose WordPress theme for business or personal portfolio.
  • Jibo Child Theme


    A beautiful, well-crafted, responsive child theme for ClassiPress.

13 Responses to “ClassiPress 3.1.4 = TimThumb Security Patch

  1. Avatar of altor25


    6/11 Joined

    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?

    • Avatar of David


      7/10 Joined

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

  2. Avatar of gayanb

    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 ?

    • Avatar of David


      7/10 Joined

      @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.

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

    • Avatar of Shannon Dunn


      3/11 Joined

      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.


  4. Avatar of procyon

    1 Comment

    12/10 Joined

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

  5. 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.


    • Avatar of David


      7/10 Joined

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

      Anonymous likes this.

  6. Avatar of andreio

    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 …

    • Avatar of Shannon Dunn


      3/11 Joined

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

  7. 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?


Discussion is closed.