hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : How Secure are your WordPress Installations?
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

How Secure are your WordPress Installations?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-09-2011, 08:39 AM
solidhostingph solidhostingph is offline
Junior Guru Wannabe
 
Join Date: Apr 2006
Posts: 80
Thumbs up

How Secure are your WordPress Installations?


There have been several hacking incidents lately and the targets are WordPress. Share your experience in securing WP installations.

__________________
SOLID HOSTING
Philippine Web Hosting Company
Domain Registration | Shared Hosting | Reseller Hosting | VPS | Cloud | Dedicated Server | Colocation | Microsoft SPLA

Reply With Quote


Sponsored Links
  #2  
Old 04-09-2011, 08:40 AM
MikeDVB MikeDVB is offline
Web Host Extraordinaire!!!
 
Join Date: Dec 2007
Location: Indianapolis, Indiana USA
Posts: 14,333
Quote:
Originally Posted by solidhostingph View Post
There have been several hacking incidents lately and the targets are WordPress. Share your experience in securing WP installations.
This is nothing new, one of the most important things you can do is keeping WordPress itself and all plugins updated and to physically remove any plugins you're not actually using (and not just "disabling" them).

__________________
Michael Denney - MDDHosting, LLC - Professional Hosting Solutions
LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
For high-end shared accounts ideal for business, check out our Semi-Dedicated offerings!
http://www.mddhosting.com/ - Providing Quality Services since 2007

Reply With Quote
  #3  
Old 04-09-2011, 11:30 AM
CI-Andrew CI-Andrew is offline
WHT Addict
 
Join Date: Jun 2009
Posts: 115
Quote:
Originally Posted by MikeDVB View Post
This is nothing new, one of the most important things you can do is keeping WordPress itself and all plugins updated and to physically remove any plugins you're not actually using (and not just "disabling" them).
Completely agree, just keep your WP installations up to date and have secure passwords.

__________________
Accelerated Hosting - From Constant Internet
Automatically serving your website from the nearest server
Get hosted on our global network! America / Europe / Asia

Reply With Quote
Sponsored Links
  #4  
Old 04-09-2011, 02:38 PM
uzair21 uzair21 is offline
Junior Guru Wannabe
 
Join Date: Dec 2007
Posts: 34
I have WP-Firewall Installed. I don't know how much protection it really gives but I have never been hacked.

Reply With Quote
  #5  
Old 04-09-2011, 03:56 PM
JulesR JulesR is offline
Disabled
 
Join Date: Mar 2008
Posts: 630
For personal installations, I always IP restrict the wp-admin folder to myself only via a .htaccess file. This provides a huge amount of protection.

The rest is pretty much common sense; keep Wordpress up to date, keep plugins up to date. Keep plugin usage down to a minimum, as the more you have the greater the likelihood that one of them is exploitable.

Reply With Quote
  #6  
Old 04-09-2011, 05:02 PM
craig joe craig joe is offline
Aspiring Evangelist
 
Join Date: Apr 2010
Posts: 418
i just updated to latest wp, and now try to update cpanel etc...

don't forget to harden the password

__________________
please cmiiw always

Reply With Quote
  #7  
Old 04-10-2011, 07:48 AM
servermanaged servermanaged is offline
Junior Guru Wannabe
 
Join Date: May 2010
Posts: 43
@uzair21 wp-firewall works with wp 3?

Reply With Quote
  #8  
Old 04-10-2011, 07:50 PM
Ankheg Ankheg is offline
Premium Member
 
Join Date: Mar 2003
Location: Saint Paul, MN
Posts: 817
Add .htaccess rules to block all POST requests with an empty referrer. This will stop a lot of comment/pingback spam, and also at least some of the exploit tools out there.

__________________
redpin.com - offering amazingly competent email, dns, and web hosting since 2002... because someone has to!
Because Simple Things Should Be Simple - YouCANHasDNS


Reply With Quote
  #9  
Old 04-10-2011, 08:12 PM
srider srider is offline
Web Hosting Guru
 
Join Date: May 2004
Location: Corona, CA USA
Posts: 346
Quote:
Originally Posted by Ankheg View Post
Add .htaccess rules to block all POST requests with an empty referrer. This will stop a lot of comment/pingback spam, and also at least some of the exploit tools out there.
Hey, that's brilliant! Unfortunately mod_rewrite has a tendency to make my head asplode, but I'll ask around about syntax for this.

__________________
Skeptic Hosting
Promoting a reality-based lifestyle choice
Hosting by invitation only, nothing for sale


Reply With Quote
  #10  
Old 04-10-2011, 08:25 PM
Ankheg Ankheg is offline
Premium Member
 
Join Date: Mar 2003
Location: Saint Paul, MN
Posts: 817
This is the pertinent bit of the .htaccess file we give customers:

Code:
SetEnvIf User-Agent ^$ zeroref=yes
SetEnvIf Referer "^$" zeroref=yes
SetEnvIf Referer "-$" zeroref=yes

<Limit POST>
Order allow,deny
allow from all
deny from env=zeroref
</Limit>
There are undoubtedly more elegant solutions, but this has worked well for us since the days of Wordpress 1.whatever.

__________________
redpin.com - offering amazingly competent email, dns, and web hosting since 2002... because someone has to!
Because Simple Things Should Be Simple - YouCANHasDNS



Last edited by Ankheg; 04-10-2011 at 08:26 PM. Reason: BBCode != HTML :(
Reply With Quote
  #11  
Old 04-10-2011, 09:30 PM
TexasCrane TexasCrane is offline
Junior Guru Wannabe
 
Join Date: Jan 2011
Posts: 33
Change the default database prefix. Move wp-config.php up one directory. Don't have an "admin" account and make sure that your log-in username doesn't match the display name on your posts. If you access your site over unsecured wifi, then make sure you have https enabled for admin or connect through a vpn.

Reply With Quote
  #12  
Old 04-10-2011, 10:21 PM
srider srider is offline
Web Hosting Guru
 
Join Date: May 2004
Location: Corona, CA USA
Posts: 346
Quote:
Originally Posted by Ankheg View Post
This is the pertinent bit of the .htaccess file we give customers:

Code:
SetEnvIf User-Agent ^$ zeroref=yes
SetEnvIf Referer "^$" zeroref=yes
SetEnvIf Referer "-$" zeroref=yes

<Limit POST>
Order allow,deny
allow from all
deny from env=zeroref
</Limit>
I've just installed this snippet on over a dozen blogs on my servers. I also use a similar rule set that denies GET or POST based on a list of bad bot user agent strings. I found that inserting your code below that other code does not break anything for human users who have not tweaked their browsers so they send no UA information.

Sure, there are lots of silly posts here on WHT sometimes, and some amazingly bold would be fraudsters, so messages like yours that help the community help offset the loser posts.

Thank you very much.

__________________
Skeptic Hosting
Promoting a reality-based lifestyle choice
Hosting by invitation only, nothing for sale


Reply With Quote
  #13  
Old 04-10-2011, 10:35 PM
speckl speckl is offline
Web Hosting Evangelist
 
Join Date: Jan 2004
Posts: 544
I am not a fan of WP at all because of this very reason. Sure WP works great, but too many WP sites are just online and not updated ever. Since WP is one of the top website platforms, it is targeted heavily. If you don't know how to secure a WP installation properly, your website will be targeted and potentially destroyed.

Last month I had to fetch 3 backups due to hack attempts that succeeded. (Not my sites, but for clients I provide backup service for).

Reply With Quote
  #14  
Old 04-10-2011, 10:37 PM
solidhostingph solidhostingph is offline
Junior Guru Wannabe
 
Join Date: Apr 2006
Posts: 80
@speckl: that's why we have this thread. we want others to share their experience in securing WP installations for the benefit of all.

__________________
SOLID HOSTING
Philippine Web Hosting Company
Domain Registration | Shared Hosting | Reseller Hosting | VPS | Cloud | Dedicated Server | Colocation | Microsoft SPLA

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
How many wordpress installations is the average half gig vps account likely to take? tradingnames VPS Hosting 18 01-17-2011 09:11 PM
Best secure shared hosting provider (SSH, secure imap, secure pop3) Naza Web Hosting 4 07-13-2010 04:09 PM
How to Make Secure Server for Wordpress Virendar Hosting Security and Technology 6 07-01-2010 08:18 AM
What host will allow me to host the most wordpress installations? tradingnames Web Hosting 32 04-02-2010 05:36 PM
Make Server Compatible with Wordpress automatic updates and plugin installations damainman Hosting Security and Technology 12 11-19-2009 08:03 PM

Related posts from TheWhir.com
Title Type Date Posted
The Host Group Launches Enhanced WordPress Hosting Plans Web Hosting News 2013-04-01 10:27:40
Web Host Lightning Base Launches Version 2 of WordPress Hosting Web Hosting News 2012-02-01 12:29:53
Hackers Issue New DDoS Attack Tool to Expose SSL Flaw Web Hosting News 2011-10-25 16:34:00
Blogging Platform Wordpress.com Adds .ME Domain Extensions Web Hosting News 2011-10-21 14:25:28
Cloud Security Firm Dome9 Partners with WordPress, CloudFlare Web Hosting News 2011-08-10 18:28:04


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?