Timthumb script version 1.3.4 have a serious security vulnerability

I have just received this email about the potential vulnerabilities brought by the timthumb script used on my wordpress blog. “There have been reports that versions prior to 1.3.4 of timthumb script have a serious security vulnerability that allows hackers to access sensitive information from your web server via the script.” Now what you need to do based on this email is update your current template to its latest version or fully overwrite the timthumb.php file on your server with this one: http://timthumb.googlecode.com/svn/trunk/timthumb.php. Applying this fix or update is highly recommended, you better act now. Check out the email from elegant themes after the break to find out more.

You are receiving this email because you are an active member of ElegantThemes.com. In the past, our themes have used a popular image re-sizing script called Timthumb (http://www.binarymoon.co.uk/projects/timthumb/). The script is used by millions of sites and is quite popular in the WordPress themeing community. That being said, it was noted yesterday that a vulnerability exists within certain versions of the script (http://code.google.com/p/timthumb/issues/detail?id=212)

, and therefore this vulnerability may also exist in your theme (depending on when you last updated it). While that author has provided a fix, it is highly recommended that you update all of your EelgantThemes themes to their latest versions. The latest versions of our themes no longer utilize the timthumb script and therefore are not subject to this security hole.

Regardless of when you last updated your theme, I would strongly suggest that everyone update their themes to the latest version and insure that the timthumb.php file and your /cache folder have been removed. To update your theme and remove the file, simply delete your current theme via the Appearances > Themes section of the WordPress Dashboard. Then you can re-download the theme from the members area and re-upload it normally:


The latest theme versions require that your thumbnail images be hosted on the same domain name where WordPress is installed. If you were previously using timthumb.php to allow external image source by editing the file’s $allowedSites array, then these thumbnails will no longer function.

Before updating the theme, make sure that you are using the latest version of WordPress. I would also disable all of your plugins temporarily before doing any update to insure that no compatibility issues exist. Remember to always keep WordPress, your Themes and your Plugins up-to-date to help protect yourself against any vulnerabilities.

This security flaw also applies to all of your inactive themes as well. If you have any theme, even if it is inactive, that contains the timthumb.php file then you are potentially at risk. I would suggest deleting all of the themes that you are not using in addition to updating the ones that you are. This file is very common throughout all WordPress themes, not just Elegant Themes.


  1. good words
    thank you