[TimThumb Vulnerability] iframe hack
I am hosted on Bluehost.com. I was speaking to a customer service rep today. He said he noticed this appearing in an iframe on a non-Wordpress site. I have this on some of my sites also. I would appreciate any information anyone has.
I ha have re upload all wp sites and now is all ok. One one non wp site I notice the same thing but I did the same like and wit wp sites.
Good luck Miles.
I just got this exact iframe hack on my wordpress site. I have scoured many many files, run antivirus/malware checks on the whole site without any success. I am hosted with VentraIP.com.au. This seems like a new hack given OP posted 2 hours ago. I noticed this just yesterday.
Look in config.php
There is somwhere else, still looking. I don’t know how they hack the site…
I also re-uploaded my WP files, and everything seems to be in order again – for now at least!
Interesting, seeing the same iframe code in some of my Joomla sites too.
I’m not sure what it does, but I have had sites that have been redirecting to other locations (sometimes sleezy, music playing, etc…).
But I have also been upgrading timthumb so those things could be related to that.
@secretja, What do you mean by reupload? Are you installing a fresh theme, or exporting the content of an old site and creating a new wordpress site? I’m afraid to download the whole database for fear it might have malicious code in it…
Thanks for all your help….
it is not in theme files… somewhere else it is. I downloaded fresh wp and I have upload/upgrade all wp sites. Now is OK.
Got this as well after being affected by PHPRemoteView via timthumb ….
Now PHPRemoteView is gone, timthumb is up to date, but after removing it yesterday (In my case a JS), it came back this morning …
Mine was embedded in a JS, \wp-includes\js\l10n.js yesterday, and this morning \wp-includes\js\l10n.js and \wp-includes\js\jquery\jquery.js …. The code is obfuscated ….
I already mention it on a PHPRemoteView topic ….
Once you’ve removed TimThumb, you STILL need to perform the usual steps.
1) Change ALL YOUR PASSWORD
2) Scan ALL your files (esp .htaccess) for anything hinky.
Best would be to delete and re-upload everything fresh, and then change every single password, from WP to FTP and SQL.
Damn sometime i’m a tool, i just forgot to upload the clean wp-config.php ….
Anyway, still looking to be sure ….
Spirit_of_Martin, my php is a little bit rusty, but, basically, this bit of php, gave the attacker the cookie of the admin, in the first condition, the second look like some kind of scanner/patcher, and the third a file downloader ….
My guess is that there’s a tool on top of it (On another server or computer) ….
The same thing happened to us today on our site. We’ve been getting hit with attacks all seemingly coming from the timthumb vulnerability. We have updated timthumb but this keeps happening. I’m guessing there’s a missing back door somewhere.
What’s really concerning to me is that my site’s database password has been commented out and changed. I’m wondering if there’s anything wrong with my database now…
Then you’re not cleaning it up right.
Best way at this point would be to do this:
1) backup EVERYTHING to your PC. Files and DB.
2) DELETE the files on your server. Yeah. Don’t worry, your posts are on your database, we’re leaving that alone.
3) Change your passwords fro SSH/FTP and SQL
4) On your PC, review the following files:
They look okay? Good. Copy them back up to your server (remember to edit your wp-config.php with your new SQL password).
5) Get FRESH and CLEAN downloads of WordPress, all your themes and plugins
6) As soon as you get in, change your passwords.
This may be a dumb question, but I can see counter-wordpress loading on my site. However, when I right click on the page to view source or try to view it in firebug, I can’t find an iframe or “counter” in the source code. Where is it, so I can know if it’s gone?
- The topic ‘[TimThumb Vulnerability] iframe hack’ is closed to new replies.