WordPress cOmpromised
-
I don’t know how this happened, but I’m trying to figure it out.
Long story short, I tried logging into my wordpres admin area and god an error similar to this.
Warning: include(./wp-includes/ms-bookmark.php) [function.include]: failed to open stream: No such file or directory in /home/*******/public_html/wp-config.php on line 81 Warning: include(./wp-includes/ms-bookmark.php) [function.include]: failed to open stream: No such file or directory in /home/******/public_html/wp-config.php on line 81 Warning: include() [function.include]: Failed opening './wp-includes/ms-bookmark.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/******/public_html/wp-config.php on line 81 Warning: Cannot modify header information - headers already sent by (output started at /home/*****/public_html/wp-config.php:81) in /home/*****/public_html/wp-includes/pluggable.php on line 1196
I did some digging and learnt the site has been compromised with some sort of javascript malware. I was able to remove the line of code that prevented me from logging into the admin area -include(‘./wp-includes/ms-bookmark.php’); (which was initially in the wp-settings.php file). This morning, that line of code is back but is now found in the wp-config.php file.
I’m thinking what this hack is now doing is deferring people to other websites. I’ve noticed there area a lot of outbound links found in my cpanel “latest visitors log” which show people visiting pages within my wordpress site that do not actually exist. When you go to that link within my site you are forwarded to something else – and there hard hundreds of these links within my site that dont exist.
Any ideas on how I can deal with this without having to completely destroy the site? I keep it up to date very regularly. I have Wordfence installed and every time an update is out for a plugin or WordPress, its updated on the same day.
- The topic ‘WordPress cOmpromised’ is closed to new replies.