Potatoe
BuSo Pro
- Joined
- Jan 4, 2016
- Messages
- 737
- Likes
- 1,115
- Degree
- 3
All those people who say to avoid using extra plugins with wordpress, or to avoid using bloated themeforest-style themes, etc..etc...
They weren't lying!
One of my sites was recently hacked. It's my first time dealing with this.
I had a plugin that added avatars for authors (I always thought this was a default feature, but I guess some themes don't have it? Which is odd, because the themeforest theme I was using literally had an option for everything else under the sun.)
Anywoo - they did some sort of SQL injection using the WP User Avatar plugin, and were able to inject some sort of file that dynamically generated Google Webmaster Tools verification files, so they added themselves as a verified owner of the site, created 8000 spam pages, and submitted the new sitemap to Google lol. In order to unverify them, I had to remove the verification file from my server - but I couldn't, because it wasn't actually there? It was a whole to-do, it's all sorted out now (I hope lmao)... I think it was a page.ini file or something? And apparently they did something to my htaccess, according to my host.
I just wanted to post this because I KNEW BETTER than to use extra plugins and to not keep my stuff 100% up to date all the time, and to not use bloated themes even if they look nicer and have more features, but this wasn't a super active site so I didn't keep close enough tabs on it.
So if this massive waste of a day can happen to someone who knows better, I just wanted to give a heads up to any folks out there who don't know better - be careful!
Not sure if this was related or not, but my Dashboard was also running VERY slow. Turns out there was a brute force attack against my /wp-admin page, so I changed the URL of that and I'm going to look into setting up a better htaccess file that'll block the IP address at LEAST of people outside of my continent, since all of my staff are located on the same continent. I know that's not the perfect fix, but like 99% of people trying to hack my site every day are located in other continents, so it's a start. I had recently switched from iThemes security to Sucuri, which is around when the dashboard of wordpress slowed down to a crawl, so iThemes must have done a better job of blocking that sort of stuff. I switched back to it, sry sucuri. (I know, I know, more plugins... lol. I think I can do this with Carter's magical htaccess file, so I'll ditch the plugin eventually.)
So yeah, update your stuff, don't use plugins unless you NEED to and even if you do, try to lock them down as much as you can (There's something about blocking access to the plugins folder, I need to look into that...) use real minimalist themes like BuSo Lightning or mythemeshop is pretty decent too afaik (Always19 coupon gets you any of their themes for $19 instead of ~$60).
The plus side of all this is that my new theme runs twice as fast as my old one. And the new one hasn't been optimized at all yet, vs the old one that was optimized by a pro and still twice as slow. So.. all's well that ends well.
Just figured I'd share this because yeah, I should know better, so hopefully there's someone out there that gets the message and smartens up *before* it's too late, unlike me.
They weren't lying!
One of my sites was recently hacked. It's my first time dealing with this.
I had a plugin that added avatars for authors (I always thought this was a default feature, but I guess some themes don't have it? Which is odd, because the themeforest theme I was using literally had an option for everything else under the sun.)
Anywoo - they did some sort of SQL injection using the WP User Avatar plugin, and were able to inject some sort of file that dynamically generated Google Webmaster Tools verification files, so they added themselves as a verified owner of the site, created 8000 spam pages, and submitted the new sitemap to Google lol. In order to unverify them, I had to remove the verification file from my server - but I couldn't, because it wasn't actually there? It was a whole to-do, it's all sorted out now (I hope lmao)... I think it was a page.ini file or something? And apparently they did something to my htaccess, according to my host.
I just wanted to post this because I KNEW BETTER than to use extra plugins and to not keep my stuff 100% up to date all the time, and to not use bloated themes even if they look nicer and have more features, but this wasn't a super active site so I didn't keep close enough tabs on it.
So if this massive waste of a day can happen to someone who knows better, I just wanted to give a heads up to any folks out there who don't know better - be careful!
Not sure if this was related or not, but my Dashboard was also running VERY slow. Turns out there was a brute force attack against my /wp-admin page, so I changed the URL of that and I'm going to look into setting up a better htaccess file that'll block the IP address at LEAST of people outside of my continent, since all of my staff are located on the same continent. I know that's not the perfect fix, but like 99% of people trying to hack my site every day are located in other continents, so it's a start. I had recently switched from iThemes security to Sucuri, which is around when the dashboard of wordpress slowed down to a crawl, so iThemes must have done a better job of blocking that sort of stuff. I switched back to it, sry sucuri. (I know, I know, more plugins... lol. I think I can do this with Carter's magical htaccess file, so I'll ditch the plugin eventually.)
So yeah, update your stuff, don't use plugins unless you NEED to and even if you do, try to lock them down as much as you can (There's something about blocking access to the plugins folder, I need to look into that...) use real minimalist themes like BuSo Lightning or mythemeshop is pretty decent too afaik (Always19 coupon gets you any of their themes for $19 instead of ~$60).
The plus side of all this is that my new theme runs twice as fast as my old one. And the new one hasn't been optimized at all yet, vs the old one that was optimized by a pro and still twice as slow. So.. all's well that ends well.
Just figured I'd share this because yeah, I should know better, so hopefully there's someone out there that gets the message and smartens up *before* it's too late, unlike me.