Aug 3, 2011

Timthumb Security Update

Timthumb Security Update  阅读原文»

We have received an email from Nick Roachandtoday on the security update on all ElegantThemes premium themes caused by the Timthumb image re-sizing script. In case they might have miss out Nick’s email, here is the email




You are receiving this email because you are an active member In the past, our themes have used a popular image re-sizing script called 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 (, 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 has 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.


I am sorry for any inconvenience this has caused.


Best Regards,
Nick Roach

Meanwhile, we have also received another email from VaultPressteamwhereby the security vulnerability can be fixed by referring to steps as below.

We recommend deleting timthumb.php or thumb.php if your site will work without them. If the file exists in a theme or plugin that you're no longer using you may want to remove the entire theme or plugin directory. After you remove the TimThumb library make sure you check that your site is still working correctly.

If you must use TimThumb please make sure to update the file with thelatest versionand remember to check the TimThumb site regularly for updates. You should also setALLOW_EXTERNALtofalseand find the$allowedSitesarray inside the file and remove the domain names to prevent remote file downloading.

Make sure this constant is set to false:

define( 'ALLOW_EXTERNAL', false );


$allowedSites = array ( '', '', '', '', );


$allowedSites = array();

If you ever need our assistance on this security update, please contact our technical team at


该邮件由 QQ邮件列表 推送。
如果您不想继续收到该邮件,可点此 退订

No comments:

Post a Comment