hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : If you found a massive security hole with your webhost, what would you do?
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

If you found a massive security hole with your webhost, what would you do?

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-16-2006, 01:05 PM
iambuddylee iambuddylee is offline
Junior Guru Wannabe
 
Join Date: Jul 2005
Posts: 51

If you found a massive security hole with your webhost, what would you do?


Well, right off the bat, of course you would tell them right? Well, what if they panicked and the easiest fix broke your site(s)?

Without going into too many details, one of the hosting companies I use has a vulnerability where I can see any of the other user's files, passwords, etc, even if they're password protected resources. I'm talking source files, everything.

This is a pretty big deal, and I need to tell them, I want to tell them in a way that they won't freak out and shut down my account. I found this out very accidentally, but again, the way I have things setup on my site now, if they fix this bug, it could very possibly break one of my sites.

Any suggestions?

Reply With Quote


Sponsored Links
  #2  
Old 01-16-2006, 01:08 PM
seodevhead seodevhead is offline
Web Hosting Evangelist
 
Join Date: Aug 2005
Location: EIB Network
Posts: 474
I'm not sure how it could "break" your site if your site is properly coded and designed. If they are password protected resources... I'm not sure how you can so easily see the secure files... if you could, then it wouldn't be "password protected". I'm at a loss.

__________________
People train run out of Stubville.

Reply With Quote
  #3  
Old 01-16-2006, 01:18 PM
iambuddylee iambuddylee is offline
Junior Guru Wannabe
 
Join Date: Jul 2005
Posts: 51
Well, a little more detail:

My site reads and writes files, creates directories, does all kinds of things on the fly. So, the processes it runs under needs write privledges on the file server. I've had some problems with webhosts tightening their security and when they do, my site breaks because it doesn't have the ability to create files & folders.

So, along those lines, I found out that through my site, I can not only read and write files in my own directorys, but any user's directory (and potentially any directory) on the server. So, what I was saying was, even if the user password protected a directory on their site from a website point of view, I could still see and download any file I wanted to from anywhere on the server...

That's the security problem

Reply With Quote
Sponsored Links
  #4  
Old 01-16-2006, 02:38 PM
365YearsFree.com 365YearsFree.com is offline
Disabled
 
Join Date: Jan 2006
Posts: 7
This sounds reminicent of old dedicated servers, where you could freely browse around anyone's directories via FTP. You couldn't write to them, but you could view/download/other bad stuff any file anywhere on the server.

If you can actually read and write to other people's sites, then you should definitely alert your host, because something is horribly wrong. If you can only view other files, then something may not technically be broken. They just may not have that extra security measure in place.

Though, no matter how tight your hosting company's "security" is (or lack there of), it seems a little strange to me that they'd worry more about users creating directories as the Apache user in their own directories, thus breaking your site, and would overlook the fact that you can read and write manually to any other directory.....

My advice -- get a new host

Reply With Quote
  #5  
Old 01-16-2006, 02:49 PM
ergo ergo is offline
Junior Guru
 
Join Date: Feb 2005
Location: Poland
Posts: 248
Quote:
Originally Posted by iambuddylee
Well, a little more detail:

My site reads and writes files, creates directories, does all kinds of things on the fly. So, the processes it runs under needs write privledges on the file server. I've had some problems with webhosts tightening their security and when they do, my site breaks because it doesn't have the ability to create files & folders.
That's the security problem
so it means you have badly coded your site probably, ( open_basedir problems ?? ).
its like you'd be using $var instead of $_POST['var'] and blamed your hosting company for being hacked because they left register_globals=on ;-)

if you can do something what isnt meant to be done in a shared environment it means you should rewrite your code . What would happen if you needed to change your hosting company ? your site dies, this should not be an option.
my way of solving this is to recode the parts of your site to work as they should be and then inform your host of the vulnerability.
and one more thing....
arent you scared thaf if u can do it someone else can do it too ? and read your data ?


Last edited by ergo; 01-16-2006 at 02:59 PM.
Reply With Quote
  #6  
Old 01-16-2006, 03:00 PM
iambuddylee iambuddylee is offline
Junior Guru Wannabe
 
Join Date: Jul 2005
Posts: 51
Quote:
Originally Posted by ergo
so it means you have badly coded your site probably, ( open_basedir problems ?? ).
its like you'd be using $var instead of $_POST['var'] and blamed your hosting company for being hacked because they left register_globals=on ;-)

if you can do something what isnt meant to be done in a shared environment it means you should rewrite your code . What would happen if you needed to change your hosting company ? your site dies, this should not be an option.
my way of solving this is to recode the parts of your site to work as they should be and then inform your host of the vulnerability.
actually, it's asp.net, not php so I don't really understand your example, but I see what you're saying. I don't think that anything is coded incorrectly on my end, there are just a few weird settings that webhosts sometimes miss. It is possible to allow my site to read and write within it's little sandbox and not let it out of it's cage, but in the past when a host needs to fix what they consider an immediate flaw, they overreact and take away everyone's permissions, creating a problem...

I will try and verify that I can indeed write to other user's folders, if I can, then yeah, it's a big problem. Even if I can just read, there are lots of passwords and other things out there that I shouldn't be able to get to that I can.

Anyways, I'll start talking with them about this and see what they say.

Reply With Quote
  #7  
Old 01-16-2006, 03:29 PM
ergo ergo is offline
Junior Guru
 
Join Date: Feb 2005
Location: Poland
Posts: 248
if you are unconfortable with informing them directly create some free emailbox and email them.
i didnt know it was asp.net :-)

Reply With Quote
  #8  
Old 01-17-2006, 05:39 PM
innova innova is offline
Web Hosting Master
 
Join Date: Dec 2002
Posts: 1,300
Sell your web hosting account to the highest bidder. Some local IRC kiddies will be most appreciative.

Just kidding.. Make a backup and get the heck out!

__________________
"The only difference between a poor person and a rich person is what they do in their spare time."
"If youth is wasted on the young, then retirement is wasted on the old"

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Global Market for Cybersecurity Solutions to Grow to $870M by 2017: IDC Report Web Hosting News 2013-04-01 15:21:23
Aussie Web Host DWHS Rebrands to WebHost.pro, Adds Plans and Features Web Hosting News 2013-02-14 14:41:25
Web Hosting Sales and Promos Roundup - September 21, 2012 Web Hosting News 2012-09-21 17:16:30
UK Web Host WebHost.uk.net Launches Affiliate Program Web Hosting News 2011-07-27 17:51:02
UK Web Host UKFast Report Shows Credit Card Info Can be Found Via Google Search Web Hosting News 2011-07-22 20:16:14


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?