Welcome Guest. | Log In | Register | Membership Benefits
Dark Reading's security-views Weblog

Topics:   Security Views

A Trick For Defending WordPress, Other Apps

There's a little trick -- or basic security measure -- you can use to help protect your WordPress blog and other Web applications against the never-ending bombardment of new vulnerabilities and exploits.

Sep 17, 2009 | 05:40 AM | 

By Gadi Evron
Dark Reading

There's a little trick -- or basic security measure -- you can use to help protect your WordPress blog and other Web applications against the never-ending bombardment of new vulnerabilities and exploits.When a friend of mine decided to run a blog, I immediately suggested WordPress because it's easy to use, highly customizable, and has an endless pool of plug-ins. It happens to be my favorite because it is the first I ever used -- I am sure other blogging platforms are just as good. But because WordPress is popular, vulnerabilities in it are disclosed constantly.

In running WordPress, I recommended that my friend constantly update the software, and when he couldn't, make sure to hard-code the fixes. I further recommended disabling as many services and plug-ins as he could.

I strongly suggested that he disable the option to upload files because if someone gets access to that, then he could easily upload a reverse PHP shell or similar tool.

My last recommendation makes the least practical sense: Use the Web server to password protect the WordPress admin directory -- .htaccess file under Apache -- because many vulnerabilities target that very functionality in the application. And, indeed, entering two passwords to gain access is far from functional under normal circumstances.

My friend never had the time to keep completely up-to-date with all the vulnerabilities. But because most of the more serious WordPress vulnerabilities attack the admin interface, the password protection from the Web server saved the day. He describes his experience, other similar solutions and the thoughts behind the risk analysis he performed in his blog here.

While it is always advisable to keep your WordPress blog software up-to-date, using a system that is much more difficult to attack, such as Apache or IIS, raises the bar securitywise. That made my friend's blog less vulnerable to the massive exploitation attacks that try to compromise as many servers as possible.

Then again, if someone targeted my friend specifically, then he may have overcome this hurdle or bypass it completely.

Security by obscurity can indeed be useful as long as it is backed by actual security measures, and as long as you know exactly what it is you want it to protect you from. It does nothing more. That is exactly the difference between the low-hanging fruit the mass exploitations seek and the targeted attacker with a single purpose and resources to reach his goal.

Follow Gadi Evron on Twitter: http://twitter.com/gadievron

Gadi Evron is an independent security strategist based in Israel. Special to Dark Reading.



Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dark Reading encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dark Reading moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing/SPAM. Dark Reading further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
Subscribe to RSS









  1. Cookies, Social Media And FireSheep
  2. SMB Guide To Credit Card Regulations, Part 2: The Low-Hanging Fruit
  3. HP And The Scary Corporate Fifth Column Concept
  4. Taking USB Attacks To The Next Level
  5. NoSQL: Not Much, Anyway
  1. Taking Cybersecurity Lessons To The Bank
  2. Researchers See Real-Time Phishing Jump
  3. 'BlackSheep' Sniffs Out Firesheep WiFi-Hacking
  4. Slideshow: Ten Free Security Monitoring Tools
  5. A Different Spin On Sleuthing Stuxnet
  6. M&A Activity Muddles Database Security
  1. Secure Managed Web Hosting Saves 960.gs from Malicious Hackers
  2. Access Governance as a Business Service: An Integrated Strategy for Automation with ITSM
  3. Business Driven Access Management and Governance: Simplifying the Delivery and Governance of Access Throughout
 
 


 
  Ars Technica
Boing Boing
Channel 9 Forums
CRN Blogs
Dr.Dobb's Portal: Blogs
Engadget
Gizmodo
GrokLaw
  Lifehacker
Schneier on Security
Slashdot
TechCrunch
Techdirt
Techmeme
Valleywag
 
  May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
  June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
 
Featured Webcasts
Featured Whitepapers
Featured Reports