Working with a client I just discovered a similar iframe malware insert in a number of php files including wp-login.php… this one was at the first line of the files, prior to the first <?php
mark.
This was causing users who accessed the website using a PC to have their anti-virus software issue a warning… and it prevented admins from logging into the site.
By deleting the code from a number of files via the control-panel I was able to log back in, upgrade WordPress, change the passwords for all admin-level users, and hopefully prevent further changes to the .php.
I also deleted a subscriber account I didn’t recognize and checked the MySQL database to make sure there were no stealth users.
But I wonder whether or not this code is coming in via the web-based blog interface (i.e. using an admin-level account) or via some compromise of the hosting account? Any thoughts on this?