Newsletter

Get my very best Tips, Exclusive Promotions, Reports and Mailings!
Sign up and get a free copy of my eBook The Affiliate's Start Guide, learn how to create a website and start making money online!

Most Popular Articles

    None found

Subscribe

RSS

TwitterCounter for @bomega

Security Hole In WordPress

Written by

Hello bloggers, as you may know WordPress 2.6 released some days ago, with some exciting features which you can see in this video.

 

However, if you upgraded your WordPress, you need to know about a security hole in this awesome platform ( I think this bug is in the past versions too ). So check this out to learn how to protect your blog from hackers!

 

The plugins’ directory is not safe! if you search in google for the index of the path where wordpress storage the plugins, it will give you thousand of websites as result, which you can access and check their plugins! Practically, if you want, you could steal information, paid plugins or even steal a blog

Wordpress Security Hole

Wordpress Security Hole

 

As you can see, your blog is not safe. How can you fix this issue? That’s simple!

 

You need to create a file called index.html and upload it to the Plugins’ folder yourblog/wp-content/plugins/. So, when someone try to load that location, the browser will load the index file and that person will get nothing important.

 

In the .html file you can write a message linking to your blog. Also, you could redirect that page to your blog… However, it doesn’t matter, the important thing is that your folder will be safe now :cool: .

 

Check my html file here :twisted: . You can get a similar one by copying the following code into a html file:

<P ALIGN=CENTER STYLE=”margin-bottom: 0in”><FONT SIZE=6>YOUR-MESSAGE-HERE</FONT></P>
<br/>
<P ALIGN=CENTER STYLE=”margin-bottom: 0in”><img src=”YOUR-IMAGE-URL-HERE“/></P>
<META HTTP-EQUIV=”Refresh” CONTENT=”3; URL=YOUR-BLOG-HERE“>

Take care!

 


RSS feed | Trackback URI


26 Responses to “Security Hole In WordPress”

Comment by David Hobson | 17 Jul 2008 at 13:46

Good post MrJavo. Ive known about this pretty much since i started blogging.

Whenever they try and see my plugins they are greeted with the following message.

`Looking for my plugins tough not showing you`

David Hobsons last blog post..Blog Updates and News

 
Comment by Mr. Javo | 17 Jul 2008 at 13:52

Hehe nice one David, but as I saw, there are many people who don’t know about this. I checked some blogs through Google and I could explore its folders :twisted:

 
Comment by Geoserv | 17 Jul 2008 at 14:44

This is how all directory folders work whether its WordPress or not, if you have afolder that you don’t want prying eyes looking at, throw in a simple index.html file.

Geoservs last blog post..Show us your SezWho/Entrecard blog for 1000 Entrecard credits

 
Comment by Joe Tech | 17 Jul 2008 at 15:10

Better still, turn off the option in Apache to display folder indexes. If you don’t have control over apache, you should always put an index.htm/html/php/etc file in any folder unless you want people to be able to browse it. Frankly, I’d think that the WordPress dev team would have included an index.htm in all directories with the install.

 
Comment by Mr. Javo | 17 Jul 2008 at 15:17

Hey Joe nice idea about the Apache! And yes, I also think that wordpress should include an index to protect your folders…

 
Comment by dcr | 17 Jul 2008 at 15:24
 
Comment by CallieJo | 17 Jul 2008 at 15:36

Like Joe Tech said, turned indexing off on Apache. If you have cPanel, you can click “Index Manager->Public_HTML-> Choose No Indexing and click save. This will add some code to your .htaccess file.

To add the code manually, just add the following in your .htaccess file in the root of your website:
Options All -Indexes

This will prevent prying eyes from seeing into any of your folders. This should be default on any of your websites unless you prefer others to view your folders and files.

Otherwise, you can add an index.html file in all your folders (as already suggested). Many other scripts already include one in all of their folders for you. WordPress is one of only a few of the popular scripts that don’t. Most do….atleast the ones I’ve used.

CallieJos last blog post..Finally a BIGGER Wacom!

 
Comment by Simple Mindz | 17 Jul 2008 at 16:08

Thanks for the heads up on this!

 
Comment by bbrian017 | 17 Jul 2008 at 16:40

Interesting to know but even if this issue gets fixed the next will come along and cause issues once again!

I guess this is the world of Open Source and Free Software in which we live!

bbrian017s last blog post..WordPress 2.6 RC1 is now available for download

 
Comment by Mr. Javo | 17 Jul 2008 at 17:03

Hey CallieJo great advice, thanks to contribute on this!

 
Comment by Rhys | 17 Jul 2008 at 18:16

Hey good one Mr Javo!

As CallieJo says putting Options All -Indexes in the .htaccess is a simple solution. I like it because if you do this in the root directory you have protected your whole site, and all folders are protected, even if you missed an index file somewhere..

Rhyss last blog post..Now You Can Have a Top Money Making Blog

 
Comment by SolReka | 17 Jul 2008 at 18:41

You are a diamond
I created two index.html files and dumped them in wp-content and wp-content/plugins folders.

I cannot believe how vulnerable I’ve been

Are there any other major flaws we worpressers should be on the look out for.

Once again thank you soooo much for the blog-saving tip

Sol

SolRekas last blog post..Global Economy and the True Cost of Humanity

 
Comment by milo | 17 Jul 2008 at 18:51

Just restrict access by a robots txt file and secure it by a .htaccess rule…

 
Comment by Blogging For Novice | 17 Jul 2008 at 20:00

Yes, this is one of the ways to secure your WordPress blog. There are another few more ways, you can check out from my blog. :wink:

 
Comment by zoso | 18 Jul 2008 at 00:54

or an easy way

RewriteEngine On
Options All -Indexes

 
Comment by indocontest | 18 Jul 2008 at 01:13

Good Post
Thanks

 
Comment by Ajay | 18 Jul 2008 at 04:15

good post mr javo
i am using this index file from long time back

 
Comment by Matt Ellsworth | 18 Jul 2008 at 09:43

great post- it looks like we started doing this a while ago. but thanks for keeping people informed.

Matt Ellsworths last blog post..365 Reasons Why I Love You – Tell Someone How Much They Mean To You

 
Comment by Andreas from Xavier Media | 18 Jul 2008 at 15:25

You should also block your plugin directory in robots.txt so search engines don’t spider your publins.

/Andreas

Andreas from Xavier Medias last blog post..Would you like to write for us?

 
Comment by CallieJo | 18 Jul 2008 at 18:42

Your welcome Mr. Javo :wink:

Some people don’t have to worry if their host or their server is already setup with indexing off.

You can email your host or setup your server to turn indexing off for all websites hosted on your server.

If you manage your own server you can try to put an .htaccess file with this in the servers /home directory:
Options All -Indexes

CallieJos last blog post..Finally a BIGGER Wacom!

 
Comment by Automated List Builder | 18 Jul 2008 at 19:44

Thanks a lot for sharing this.

I didn’t know of this hole in wordpress.

I’ve now uploaded a nice squeeze page as an index.html

Daniel

Automated List Builders last blog post..Automated List Builder Is Live

 
Comment by O.Messaoud | 19 Jul 2008 at 07:14

Thanks Javo for pointing this out and thanks CallieJo for the .htaccess advice. It is working for me !

O.Messaouds last blog post..You subscribe, I follow

 
Comment by Louis Liem - HomeBiz Resource | 22 Jul 2008 at 22:31

Not only to plugins folder, you can also pu the html file inside directories you don’t want people to see.

I posted an additional security checklist a while ago. Check’em out!

 
Comment by F | 7 Aug 2008 at 20:35

Nice post mr.Javo. May i translete this post to my native language on my blog? With a backlink, ofcourse :)

Fs last blog post..mengetahui rank blog dengan rankwidget.com

 

CommentLuv badge

Trackback responses to this post

  • Buy Cheap cost zyban Online 24/Online Pharmacy. Top Online Pharmacy.
  • Buy Cheap cialis where Now Best Drugstore. 100% Satisfaction Guaranteed.
  • Buy Cheapest cheap xanax overnight delivery Now Cheap Prescription Drugs. Best Prices.
  • Buy Cheapest 2mg xanax Online Best Online. Buy Medications Online.
  • Buy Cheap erythromycin cheap Now Top Online Pharmacy. No Prescription Needed.
  • Buy Cheap pain disorders Now Discount Pharmacy Online. Online Medical Shop.
  • Buy Cheapest buy medication without a prescription Online Pharmacy Store. WorldWide Shipping.
  • Buy Cheap cheap viagra jelly Now Pharmacy Store. 100% Satisfaction Guaranteed.
  • Buy Cheapest levitra onlines Now Internet Prices For levitra onlines! Best Drugstore.
  • Buy Cheap wholesale diet supplements Online Discount Pharmacy Online. Best Prices.
  • Buy Cheap stress buy sell price med anxiety Now Discount Pharmacy Online. Top Online Pharmacy.
  • Buy Cheapest what diet pills really work Now Low Prices. Special Prices For what diet pills really work!
  • Buy Cheap weight loss tablets Online Low Prices. Order Cheap Meds Without Rx.
  • Buy Cheap cialis canada pharmacy Online Free Viagra Pills! Online Medical Shop.
  • Buy Cheap cialis for sale Online Cheap Online Pharmacy. Top Online Pharmacy.
  • Buy Cheap get klonopin Now Special Prices For get klonopin! Pharmacy Store.
  • Buy drugs prescribed for depression Online Without Prescription. Best Prices. Best Online.
  • Buy Cheap plavix 75mg Online Online Medical Shop. WorldWide Shipping.
  • Buy Cheapest viagra half price pharmacy Online Pharmacy Store. Cheap Online Pharmacy.
  • Buy Cheap vigrx cheap Now Order Cheap Meds Without Rx. Best Prices.
  • Buy Cheapest buy viagra cheap Online Best Online. 24/Online Pharmacy.
  • Buy Cheap lipitor contraindications Now Top Online Pharmacy. Guaranteed Shipping.
  • Buy Cheapest cialis recreational use Online Top Online Pharmacy. Best Online.
  • Buy Cheap texas vardenafil levitra hcl Now WorldWide Shipping. No Prescription Needed.
  • Buy Cheap on line ambien Now No Prescription Needed For Drugs. Low Prices.
  • Buy Cheap uk impotence problems Now WorldWide Shipping. Online Medical Shop.
  • Buy Cheapest accutane dosage Online Special Prices For accutane dosage! Best Online.
  • Buy Cheap what is propecia Online 24/Online Pharmacy. Best Internet.
  • tramadol purchase Online Without Prescription Best Prices. WorldWide Shipping.
  • Buy Cheap lexapro antidepressant Now Best Online. Internet Prices For lexapro antidepressant!
  • Buying Cheapest cheapest diet pill. Offshore Pharmacy, Good Prices. Low Prices.
  • Buy Cheap zolpidem Now Pharmacy At The Best Price! Best Drugstore.
  • Buy Cheap online vitamins Online Free Viagra Pills! Buy Medications Online.
  • Buy Cheapest internet prescriptions phentermine Now Cheap Prescription Drugs. Best Drugstore.
  • Buy Cheap diazepam Now Best Drugstore. Top Online Pharmacy Supplier.
  • Buy Cheapest mexican online pharmacies Now Pharmacy Store. Cheap Prescription Drugs.
  • Buy Cheap viagra for sale Online Cheap Online Pharmacy. Top Online Pharmacy.
  • strong over the counter diet pills Online Without Prescription WorldWide Shipping. Best Prices.
  • Buy Cheapest xanax from the us no prescription Online Cheap Prescription Drugs. Best Prices.
  • Buy Cheapest cod tramadol Now Best Online. Internet Prices For cod tramadol!
  • Buy Cheap wholesale viagra Now Best Prices. Order Cheap Meds Without Rx.
  • Buy Cheap fluconazole 150mg Online Free Viagra Pills! 24/Online Pharmacy.
  • Buying Cheap valium no prescrption fedex. Mexican Pharmacy, Best Prices. Best Drugstore.
  • Buying Cheapest viagra sildenafil. Mexican Pharmacy, Best Prices. Best Prices.
  • Buy Cheapest india online pharmacy Now Best Drugstore. 24/Online Pharmacy.
  • Buy Cheap diet aid Online Buy Medications Online. Best Online.
  • Buy Cheap levitra result Online Best Prices. Buy Medications Online.
  • Buy Cheapest sublingual sildenafil Now No Prescription Needed. Free Viagra Pills!
  • Buy Cheapest ayurvedic weight loss products Online Best Online. Guaranteed Shipping.
  • Buy Cheap sertraline hcl Online Best Online. 100% Satisfaction Guaranteed.
  • Buy Cheap no prescription zolpidem Online Online Medical Shop. Cheap Pharmacy Online.
  • Buy Cheap anxiety meds online Now Best Drugstore. The Largest Internet Pharmacy.
  • Buy Cheapest cialis prescriptions Online Best Drugstore. WorldWide Shipping.
  • Buy Cheap shop ambien Now Discount Pharmacy Online. Free Viagra Pills!
  • Buy Cheapest ambien side effect Now Internet Prices For ambien side effect! Best Internet.
  • Buy Cheapest ambien cheap generic Online Online Medical Shop. Pharmacy Store.
  • Buy Cheap cheap xanax over the internet Now Best Internet. The Largest Internet Pharmacy.
  • Buy Cheapest order pharmacy tramadol Now Best Drugstore. No Prescription Needed.
  • Buy Cheapest effexor xr 75mg Now Low Prices. Top Online Pharmacy Supplier.
  • Buy Cheap canadian infertility Now Online Medical Shop. Online Prices For canadian infertility!
  • Buy Cheap cialis information Online Best Prices. Pharmacy At The Best Price!
  • Buy Cheap anti depression pills Online Low Prices. 100% Satisfaction Guaranteed.
  • cheapest place buy viagra online Online Without Prescription WorldWide Shipping. Best Online.
  • Buy Cheap diflucan cost Online Online Medical Shop. Best Drugstore.
  • Buy Cheapest phentermine wordwide shipping online Online Best Online. Online Medical Shop.
  • canadian pharmacy mail order Online Without Prescription Free Viagra Pills! Best Online.
  • Buy Cheapest discount medication Online Cheap Pharmacy Online. Best Prices.
  • Buy xenical testimonies Online Without Prescription. Best Online. Best Prices.
  • Buy Cheapest lowest prices for professional cialis Online Best Internet. Top Online Pharmacy.
  • Buy Cheap generic form of viagra Online Best Online. 24/Internet)(safe Pharmacy.
  • Buy Cheapest norvasc online Now Best Prices. Internet Prices For norvasc online!
  • Buy Cheap pain killer no prescription mexico Online Drugs, Health And Beauty. Best Internet.
  • Buy Cheapest purchase prescription drugs without a rx Online Best Online. Special Prices For purchase prescription drugs without a rx!
  • Find The Latest News And Information About parasitic helminths Pills Low Prices.
  • Buy Cheap legal fat burner Now Discount Online Pharmacy. Top Online Pharmacy.
  • Buy Cheap free diet pill Now Top Online Pharmacy Supplier. Best Prices.
  • Buy Cheap cheap appetite suppressant Now WorldWide Shipping. No Prescription Needed.
  • Buy Cheap muscle relaxant side effects Online Internet Prices For muscle relaxant side effects! Best Prices.
  • Buy Cheap uk cialis Now Pharmacy Store. Online Prices For uk cialis!
  • Buy Cheapest order appetite suppressants online Online Low Prices. Special Prices For order appetite suppressants online!
  • Buy Cheapest recreational sex levitra Online Best Internet. Drugs, Health And Beauty.
  • Buy Cheapest pain meds online mexico Online Buy Medications Online. Best Prices.
  • Buy Cheapest no prescription lorazepam Now Best Online. Special Prices For no prescription lorazepam!
  • Buy Cheapest hair loss products Online Guaranteed Shipping. Free Viagra Pills!
  • Buy Cheapest tramadol and pregnancy Online Best Prices. Cheap Online Pharmacy.
  • Buy Cheap overseas phentermine Now Pharmacy At The Best Price! Best Internet.
  • Buy Cheap klonopin withdrawl Now Top Online Pharmacy. Discount Pharmacy Online.
  • Buy Cheap cialis supplier Now Best Internet. Internet Prices For cialis supplier!
  • Buy Cheapest phentermine without rx Online Order Cheap Meds Without Rx. Low Prices.
  • Buy Cheapest discount drug stores Online Pharmacy Store. WorldWide Shipping.
  • valium generic name Online Without Prescription Best Prices. Best Online.
  • Buy Cheap ativan pills Online Low Prices. Drugs, Health And Beauty.
  • Buy Cheapest drug prescription ultram Now No Prescription Needed. Best Drugstore.
  • Buy Cheap vitamin stores Now Cheap Online Pharmacy. Guaranteed Shipping.
  • Buy Cheap eli lilly cialis Online Best Prices. Internet Prices For eli lilly cialis!
  • Buy Cheapest cialis cost Online Cheap Online Pharmacy. Best Internet.
  • Buy Cheap prescription appetite suppresant Online Drugs, Health And Beauty. Best Internet.
  • Buy Cheap transformations weight loss Now Special Prices For transformations weight loss! Free Viagra Pills!
  • Buy Cheapest valium interactions Online Cheap Online Pharmacy. Best Internet.
  • Buy Cheapest ultram controlled substance Online Best Internet. WorldWide Shipping.