Blogs keep getting hacked
-
Alright, so I have about 6-7 blogs on my host. I’ve gone through all and updated WP, plugins, removed old plugins, etc…
It started about two months ago. All of my sites had their htaccess file modified to redirect mobile users to spam. I replaced the htaccess files but could not find the source of the problem.
Two weeks later, the htaccess files are modified again. And then another two weeks later.
(Again, this is across all of my sites, not just one.)
Today, Wordfence alerts me that a file was modified, wp-includes/default-filters.php.
Sure enough, it was, with this code: Pastebin.
It’s inserted like this at the bottom of the file: https://i.imgur.com/MRXXmvw.png
EDIT: Here’s the HTML it’s trying to put into my site, decoded. It doesn’t seem to work though, as I don’t see this HTML anywhere in the source code: Pastebin.
This, again, was across all of my sites. The code is similar across all of them. It only appears in the footer-area of the source code if you’re logged in with the admin bar activated.
Anyone have any ideas? Happened to you? Because this is happening across all of my sites, I don’t feel it’s just a simple “someone has my WP admin password” since that wouldn’t link to the other sites, right?
- The topic ‘Blogs keep getting hacked’ is closed to new replies.