WordPress Security Part I

February 5th, 2009 by Carl | Filed under Blogging, security, wordpress.

wordpress-security

Regular readers will have noticed that  for the last few days the blog was sporting a skull and death to everyone motif. This wasn’t a new nihilistic  F*ck-you WordPress theme. The blog was defaced by idiot hackers. Well we are back up and running again and no lasting damage was sustained although the inconvenience was significant.

This misfortune gives me the opportunity to talk about security. There are a number of ways in which the little tinkers can mess up your site. Including server vulnerabilities,  network attacks, database hacks and accessing admin areas.

Server Vulnerabilities

Server vulnerabilities are the foundation of a secure site, if this is poor none of the rest of the post will help very much. It is the responsibility of your host. If you keep getting hacked because of this then find a more security conscious host.

Network Vulnerabilities

Network vulnerabilities allow passwords to be intercepted via sniffers or  other sorts of attacks (such as man-in-the-middle attacks) to happen. To avoid network vulnerabilities you should insure that all the  computers on your network are free of malware,  spyware and viruses. Secure your wireless network with a strong password and use a  firewall. You can also enable secure connection with this  SSL login plugin (yon need to have HTTPS enabled on your host).

Software Problems

With any complex piece of software, there are going to be situations where the unexpected happens which may cause it to malfunction giving unintended access to your system. Such vulnerabilities are often fixed quickly but if you are using an old version it makes your site a target. Therefore,  it is important to upgrade your WordPress installation to the latest version. Since 2.7 automatic upgrades have become a standard feature so it is not a problem to keep up to date.

Database Vulnerabilities

WordPress runs on a database and it is the heart of your blog. If hackers can get into the database,  they will have a field day. They may be able to add spam links to your site, delete information, add incorrect information which may not be noticed, known as ‘data diddling’. It is has great potential for industrial espionage.

  • Create a database for WordPress only to limit damage/access from other applications
  • Only allow the minimum permissions for database users. This is possible from PHPMyAdmin in your host’s control panel. WordPress requires:
  • Choose a new user name rather than the default admin
  • Choose a different, strong password to gain access to the database (c.f. password security)
  • Knowing the names of the tables in the database makes it easier for the hackers to get information from the database.  Change the default table prefix from wp_ to make it more difficult for hackers to extract  information from the database. The wp-security-scan provides this facility. For a new installation, simply edit the wp-config.php file as shown below:

$table_prefix = 'whatever_';

If you would like to update an already existing WordPress installation, you will need to update the wp-config.php file as shown above in addition to renaming all WordPress database tables. This can be done via PHPMyAdmin or some similar web interface that enables you to update your databases.

  • Make regular backups of your database and download them to your computer.  Your host should also do this as a matter of course. If the worst should happen then you can limit the damage done.

In part II of this post, I will explain how to lock down the wp-admin area and other measures to make those pesky hackers lives more difficult.

Extra Products or Services That May Help
Partner Portal
Fence Installation here
If your looking for Pool Tables come to us.
do you require Solar Panel Installation
Industrial commercial air curtain are essential
Bookmark and Share

Tags: ,

4 Responses to “WordPress Security Part I”

  1. Posts about wordpress plugin as of February 5, 2009 | Enjolt | Defining the future of the internet! | 6/02/09

    [...] the readers or subscribers of the fresh and newly updated content of a certain website or blog WordPress Security Part I – seothegame.com 02/05/2009 Regular readers will have noticed that  for the last few days the [...]

  2. WordPress Security Part II | 6/02/09

    [...] login plugin to prevent brute force attacks, .htaccess to restrict access to wp-admin and more.  Part  I can be found [...]

  3. WordPress SEO Tips | 9/03/09

    [...] At the time of writing, the latest installation is 2.7.1. One of the major features other than its new interface its automatic upgrade feature, which allows you keep your system up-to date. This is the first rule of keeping a secure blog. [...]

  4. Iframe Injection Hack | 8/06/09

    [...] on blogs and other content management systems so you should always keep  it updated if possible or secure your blog using methods discussed [...]

Share Your Thoughts

// //]]>