Slashdot Mirror


Ask Slashdot: What To Do When Finding a Security Breach On Shared Hosting?

An anonymous reader writes "A few months ago I stumbled across an interesting security hole with my webhost. I was able to access any file on the server, including those of other users. When I called the company, they immediately contacted the server team and said they would fix the problem that day. Since all you need when calling them is your username, and I was able to list out all 500 usernames on the server, this was rather a large security breach. To their credit, they did patch the server. It wasn't a perfect fix, but close enough that moving to a new web host was moved down on my list of priorities. Jump a head to this week: they experienced server issues, and I asked to be moved to a different server. Once it was done, the first thing I did was run my test script, and I was able to list out everyone's files again. The hosting company only applied the patch to old server. I'm now moving off this web host all together. However, I do fear for the thousands of customers that have no clue about this security issue. With about 10 minutes of coding, someone could search for the SQL connection string and grab the username/password required to access their hosting account. What's the best way to handle this type of situation?"

168 comments

  1. Do nothing by Gutboy · · Score: 5, Insightful

    Move to a new host. Don't talk about the old host, don't post the script, don't describe it at all. You don't want the lawsuit/criminal charges that will follow.

    1. Re:Do nothing by serialband · · Score: 5, Insightful

      You might want to tell them why you're moving to a new host. Explain that their security is insufficient for your needs which is why you're moving. You don't have to give them more detail than that.

    2. Re:Do nothing by Anonymous Coward · · Score: 0

      Also, why is anyone still using shared hosting? Places charge the same for VM's now.

    3. Re:Do nothing by Anonymous Coward · · Score: 0

      Security through obscurity is not a good idea, but that doesn't mean it doesn't work.

      Leave them be, move somewhere else. Do NOT send them any more emails or suggestions about their security. People rarely have positive reactions when they're told they're doing something wrong. Especially when it might mean losing their jobs.

      Just because it might happen, doesn't mean that it will. But if it does, you don't want any fingers pointed in your direction.

    4. Re:Do nothing by Zontar_Thing_From_Ve · · Score: 5, Informative

      You absolutely cannot post the script or make any kind of public statement about the company and what it takes to get this information. The US and the UK have laws that I know of that cover hacking activities and your discovery of this problem could potentially be legally viewed as running afoul of those laws. If you live in the USA, trust me on this. You really do not want a possible fine and jail term hanging on the whims of the US jury system.

    5. Re:Do nothing by Zemran · · Score: 2

      "why is anyone still using shared hosting?"

      Because people with no knowledge they can set up a web site on shared hosting. Some of them will even set up a shop for you, you do not need any knowledge... ... you especially do not need the knowledge to set up and run a script to get the details of all the other users. If you do that you will realise how overloaded the server is and why you SQL queries time out all the time.

      --
      I love stacking my barbecues in the shed at the end of summer - you can't beat a bit of grill on grill action.
    6. Re:Do nothing by jimicus · · Score: 1

      Because with shared hosting, keeping on top of OS updates is Somebody Else's Problem.

    7. Re:Do nothing by dgatwood · · Score: 1

      Or because shared hosting is a lot cheaper and is good enough for many purposes. I use shared hosting for a website that basically acts like a poor-man's Akamai cache of photographs for my real website. For $9 a month, it makes my home DSL connection fast enough to host my photo server, because I only have to push each photo out over the slow link exactly once.

      Why would I pay more for a VPS when there's no content on the site that isn't publicly available and no databases to protect?

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    8. Re:Do nothing by Zemran · · Score: 1

      You pay how much???

      http://www.cinfu.com/

      --
      I love stacking my barbecues in the shed at the end of summer - you can't beat a bit of grill on grill action.
    9. Re:Do nothing by JMJimmy · · Score: 4, Interesting

      I always wondered why no one has tried a 2nd amendment challenge to those laws. The US officially recognizes 'cyberwarfare' so these "hacking tools" can now be classified as arms in digital warfare.

    10. Re:Do nothing by rgbrenner · · Score: 4, Insightful

      So rather than be dealt with as a civilian, you would prefer to be 'unlawfully engaged in warfare against another state'?

      I don't think that would be an improvement...

    11. Re:Do nothing by Anonymous Coward · · Score: 0

      I use cinfu's Shared Hosting too. Dont expect to use any CPU at the backend (want to calculate the sunset time given the GPS coords, expect it to suck) and the bandwidth to suck more often than not. But it is ok for the price I guess.

    12. Re:Do nothing by Chris+Mattern · · Score: 3, Insightful

      Which is great, until you find out the Somebody Else regards it as Not His Problem.

    13. Re:Do nothing by MisterSquid · · Score: 1

      I always wondered why no one has tried a 2nd amendment challenge to those laws. The US officially recognizes 'cyberwarfare' so these "hacking tools" can now be classified as arms in digital warfare.

      The Second Amendment "Right to Bear Arms" might be applied profitably to unconventional weapons such as software, sure.

      The Second Amendment does not specify the conditions for the legal use of such arms. The legality of the use of legally owned weapons is something determined on a case-by-case state-by-state basis in local courts, and I think the issue is whether the OP's use of security scripts would be determined to be legal.

      --
      blog
    14. Re:Do nothing by Anonymous Coward · · Score: 5, Interesting

      OK I'll post his "test script":
      ls -al /home/*

      huge surprise, most shared hosts run suphp with 755 on all directories inside of ~/public_html/.

      COME AT ME HOSTGATOR

    15. Re:Do nothing by Gutboy · · Score: 1

      You'll be fined no mater what the jury system determines. Defending yourself from any charges that are filed will take a non-trivial amount of money. You could lose your job (who wants a possible criminal working for them?), your possessions, etc. and still be found not guilty or have the charges dropped.

    16. Re:Do nothing by Kalriath · · Score: 1

      Odd. With my dedicated server, keeping on top of OS updates is Somebody Else's Problem too. They have WSUS servers, yum repositories, and all that good stuff sitting in the DC so updates can be automated at no extra cost.

      Is this unusual?

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
    17. Re:Do nothing by drolli · · Score: 1

      The question is if the new host will be better. Make sure to not limit the price in an unreasonable way.

    18. Re:Do nothing by theshowmecanuck · · Score: 1

      It isn't the police, prosecutors, and American justice system, per se, it's the RIAA's, MPAAs, the Apple's and MS's, and all the other corporate politician buyers out there who corrupt the system. But then again, if the system allows this, is it corrupt or just not very good? Either way it needs to change. The American paranoid gun freaks need to stop worrying about their need to fight the government and start looking at those that are paying off the politicians. Regardless, sadly the point holds a lot of truth, don't tell anyone because in the U.S. world of the internet, the adage 'no good deed goes unpunished' holds more water than all the oceans of the world combined.

      --
      -- I ignore anonymous replies to my comments and postings.
    19. Re:Do nothing by 1u3hr · · Score: 1

      Find a new host. Wait 2 or 3 weeks. Post your story anonymously.

    20. Re:Do nothing by JMJimmy · · Score: 1

      'unlawfully engaged in warfare against another state'

      a) Possession & use of arms does not constitute warfare against another state unless you are using them against another state
      b) The use of such a challenge would likely have to be from a US citizen with regards to a case that happened within the US.
      c) It was an 'I wonder' - like I know shit about US constitutional law.

    21. Re:Do nothing by JMJimmy · · Score: 1

      Ahh, but that's the interesting part - the law in question prohibits the possession of such software if I'm not mistaken.

      By admitting the possession and it's theoretical capabilities you do not have to admit that it's ever been used.... it's just a random musing though.

    22. Re:Do nothing by AmiMoJo · · Score: 1

      In such an environment the only responsible thing to do is anonymous posting to something like the Full Disclosure mailing list.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    23. Re:Do nothing by WaywardGeek · · Score: 1

      Not a bad idea. He could even make it clear he had everyone's password and user name by encrypting each user name with their password after doing about 5 seconds worth of serial SHA-1 hashes on each.

      --
      Celebrate failure, and then learn from it - Nolan Bushnell
    24. Re:Do nothing by danlip · · Score: 1

      If you wanted to regard a script as "arms" then running a script is equivalent to firing a gun. The 2nd amendment only protects owning and carrying weapons, not firing them. Firing them is illegal in pretty much every city in the US (with narrow exceptions). And the original poster admitted running the script.

    25. Re:Do nothing by rubycodez · · Score: 1

      nonsense, there are plenty of bargin shared hosting companies that are great even for people with knowledge. For $7/month (with static IP address, $4 a month if you don't need that), I'm on a server where the load average is 5%, I can ssh to my account, I can run ruby, perl, python scripts and have cron jobs. Great for personal domain at a remote location from home.

    26. Re:Do nothing by Gallomimia · · Score: 1

      Yeah. They really wouldn't want drunken Canadian Militia to burn down the White House again over an unauthorized foray from Minnesota into Canada.

      --
      Sadly, a Libertarian cannot force his views on another, and freedom cannot spread as does the cancer known as religion.
    27. Re:Do nothing by Gallomimia · · Score: 1

      Yeah man. That's not a good deal. I would say that akamai's servers are probably way faster than anything I could find for a lesser price. But shared hosting costs 4.95 these days, with a domain name included.

      --
      Sadly, a Libertarian cannot force his views on another, and freedom cannot spread as does the cancer known as religion.
    28. Re:Do nothing by Gallomimia · · Score: 1

      Sadly, it is a little bit. I think (and hope) it will become more regular as competitive edges become more required.

      --
      Sadly, a Libertarian cannot force his views on another, and freedom cannot spread as does the cancer known as religion.
    29. Re:Do nothing by Anonymous Coward · · Score: 0

      I knew it was hostgator, because I saw this issue 6 years ago and they did nothing when I reported it (they thought I was worried about my own account, not their entire customer base). I still have an account with them, but not for anything important.

    30. Re:Do nothing by JMJimmy · · Score: 1

      True, but he doesn't have to admit that when he reports it. 5th amendment and all.

    31. Re:Do nothing by JMJimmy · · Score: 1

      LOL - the poor US, they'll never live that one down.

    32. Re:Do nothing by dgatwood · · Score: 1

      I originally tried a shared hosting plan that was down around that price point. It was a horrific experience involving a massively overloaded server that periodically stopped serving traffic for a half a minute at a time. I'd rather pay a little more for a reliable server with a reliably fast connection, shared or not.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    33. Re:Do nothing by Anonymous Coward · · Score: 0

      Nice justice system you have over there. Loser pays & judge setting the amounts to pay to reasonable levels is communism or something along those lines, right?

    34. Re:Do nothing by DaVince21 · · Score: 1

      Regarding your point a, running a script on a sever in another state could be exactly that, couldn't it? (Not that I know if it *is*, mind you. IANAL and all that.)

      --
      I am not devoid of humor.
    35. Re:Do nothing by JMJimmy · · Score: 1

      Quite possibly, I wouldn't be surprised if it ends up there eventually.

  2. name and shame by Anonymous Coward · · Score: 0

    If you have provided reasonable time for them to resond to the issue; which you have and the resolution was not satisfactory then the best course of action is to name and shame them so that they will be forced to fix the issue.

    1. Re:name and shame by NEDHead · · Score: 2

      Ummm, you might want to tell them your plan and give them 10 days to fix & fess up. And make sure your notice to them is sent to the boss, not the sysadmin who screwed up and has no stake is letting anyone know.

    2. Re:name and shame by NEDHead · · Score: 1

      that would be - 'in' letting anyone know.- My bad

  3. This is obvious by Anonymous Coward · · Score: 0

    Publish the vulnerability and the name of the hoster on slashdot

    1. Re:This is obvious by Anonymous Coward · · Score: 0

      That would just put the other customers in danger.

    2. Re:This is obvious by c0lo · · Score: 1

      Publish the vulnerability and the name of the hoster on 4chan

      FTFY

      --
      Questions raise, answers kill. Raise questions to stay alive.
  4. Did you read your license agreement? by abirdman · · Score: 1

    I assume there was a list of remedies on about page 14 of the license agreement you probably clicked through when you signed up for their service. My advice is same as previous poster, move and forget about it.

    --
    Everything I've ever learned the hard way was based on a statistically invalid sample.
    1. Re:Did you read your license agreement? by Kalriath · · Score: 1

      Services don't have license agreements. They're Terms of Service, and very rarely do you actually see them without going to an effort (usually there's a box saying "I agree to the terms of the MSA" or similar and you're supposed to go dig for the document referenced).

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
  5. Switching Host is best. by bfmorgan · · Score: 2

    Don't reward bad behavior. I recently severed a relationship with a hosting company of more than ten years because there support had gone from great to terrible. We had a problem and they wouldn't or couldn't fix the problem so I switched. The switch didn't come without some pain, but now everything is back to normal. Don't reward bad behavior, period.

    --
    I hope this caused some synapses to fire.
  6. Responsible Disclosure by TubeSteak · · Score: 3, Informative

    Tell the webhost they have XYZ days to fix the problem before you publish the exploit.

    https://forms.us-cert.gov/report/ is also a good place to report exploits.
    But if you're shy, I'd also consider forwarding the details to a reputable security research company,
    so that maybe they can alert others with misconfigured systems and CERT.

    --
    [Fuck Beta]
    o0t!
    1. Re:Responsible Disclosure by mysidia · · Score: 4, Informative

      Tell the webhost they have XYZ days to fix the problem before you publish the exploit.

      If you do that, be prepared for them to shut off your account immediately, and for them to file a complaint/police report, listing you as the offender, with possible criminal charges, for you hacking their service.

      Their lawyers may also send you a cease-and-decist letter, warning that you will be sued if you publish the information.

    2. Re:Responsible Disclosure by dgatwood · · Score: 1

      Tell the webhost they have XYZ days to fix the problem before you publish the exploit.

      Or if you have shell access and/or the ability to run scripts on the server, fix it yourself with chmod. It doesn't really matter if other users can see your home directory. What matters is whether they can see what's inside your home directory, and those permissions are under your account's control.

      Unless, of course, this is Windows shared hosting, in which case the correct answer is "Don't do that." :-D

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    3. Re:Responsible Disclosure by Anonymous Coward · · Score: 4, Interesting

      Tell the webhost they have XYZ days to fix the problem before you publish the exploit.

      If you do that, be prepared for them to shut off your account immediately, and for them to file a complaint/police report,
      listing you as the offender, with possible criminal charges, for you hacking their service.

      Their lawyers may also send you a cease-and-decist letter, warning that you will be sued if you publish the information.

      I keep seeing these shills on this thread telling people to "do nothing, or ELSE!"... WTF? Why tell people this? (hint: citations needed) Is there some huge list of all the security experts rotting in prison for disclosing Windows/Flash/Android exploits that I'm not aware of?

      Why not call the police yourself as a CYA preemptive strike to go along with your "full disclosure notice?"

      Police non-emergency operator: "How can I help you?"
      You: "I'm calling to report a security breach with my ISP/host/whatever."
      Police non-emergency operator: "What do you mean?"
      You: "Well I've discovered an exploit that would allow hackers to compromise my computer servers."
      Police non-emergency operator: "What would like us to do about it?"
      You: "I just needed to file a report, because I want to notify the service provider as well as make a public disclosure."
      Police non-emergency operator: "Ok, but why did you need to let us know?"
      You: "Because a bunch of assholes on /. told me if I exposed the flaw you would arrest me for hacking."
      Police non-emergency operator: "ROFLCOPTER"

    4. Re:Responsible Disclosure by Anonymous Coward · · Score: 1

      The EFF and probably other organizations can act as a "go-between" to aid responsible disclosure and prevent lawsuits, even going so far as to anonymize the reporter. It would probably be best to contact them and seek advice if you are interested in releasing the information.

      And donate!

    5. Re:Responsible Disclosure by TubeSteak · · Score: 1

      1. Obviously the concerned /.er should wait until his business relationship with that company is ended.

      2. A cease and desist letter means fuck all.
      It's a statement of intent, designed to intimidate, and should be treated with all the respect that type of behavior deserves.
      The threat of C&D letters are a big part of the reason that so many advocate full disclosure.

      3. It isn't likely that a C&D would be granted by a court. Many have made the threat, but few go through the courthouse doors, because it is textbook free speech they are trying to suppress.

      4. If C&Ds were handed out like candy, the security research industry would have died off years ago, which is why I suggested (s)he passes off the exploit to someone with standing in the security research community.

      If the OP seriously thinks the webhost are the C&D types, then he should go through TOR and post everything to a security mailing list, .
      The webhost can go fuck itself if they refuse to respond in a responsible fashion.

      --
      [Fuck Beta]
      o0t!
    6. Re:Responsible Disclosure by DarwinSurvivor · · Score: 1

      The server may be set up in such a way that securing your account would prevent the server (Apache/etc) from being able to read your content properly.

    7. Re:Responsible Disclosure by mysidia · · Score: 1

      The webhost can go fuck itself if they refuse to respond in a responsible fashion.

      They already refused to respond in a responsible fashion, by patching the issue on one system, and leaving other servers vulnerable to the same thing, according to the OP. This creates risk for both the users, and the webhost. The webhost itself might be subject to lawsuits for their negligence, if the situation were discovered

      It's a statement of intent, designed to intimidate, and should be treated with all the respect that type of behavior deserves.

      Actually. A C&D letter from their lawyer is statement of intent, designed to warn the recipient, about damage that may be cause, and the possibility of remedies sought, if the recipient does not cease or abort.

      The main purpose of a C&D letter is that it serves as a written instrument to help establish and document that the harmed party took measure to attempt to mitigate the damage, include informing the counterparty who procedeed despite their objections, which will help their case, and may also increase the size of the damages awarded, because continuation by the party receiving the &D letter (request), will now be considered to be intended willful damage, after notice has been sent to them of it.

      It isn't likely that a C&D would be granted by a court.

      It sounds like you are confusing what a C&D actually is. I'm not talking about gag orders from a judge. You violate a gag order, you go to jail. It's possible the webhost could seek a gag order / injunction as well, in order to compel to not reveal the info until the matter is fully settled, but C&Ds are less expensive, as there are not filing fees involved, or requirements to persuade a judge,an effective deterrant, and transfer additional liability, because the effects of continuing the behavior after the letter, is now considered willful.

      If C&Ds were handed out like candy, the security research industry would have died off years ago, which is why I suggested (s)he passes off the exploit to someone with standing in the security research community.

      The security research industry is not in the business of conducting intrusions on organizations' servers, and using unauthorized exploit scripts to obtain or exercise access sensitive data, without authorization to perform the activity.

      When was the last time you saw a security researcher publish an advisory about a vulnerability that could be used to access details on an online service without authorization?

      Security researchers when talking about "disclosure" are in general always concerned about vulnerabilities in software products, not specific services, hosting services or other public servers that may use vulnerable software, or have security weaknesses resulting from business processes, failing to incorporate security as a basic element.

    8. Re:Responsible Disclosure by Anonymous Coward · · Score: 0

      A guide to whistleblowing, for techies

      Bradley manning: I revealed a huge, obviously unethical practice in our government.
      Jury: Well let us think about that... Hmm. Fuck you.

      You: I revealed a minor, obscure problem with a computer that you probably won't understand, even with diagrams.
      Jury: Fuck you. Fuck you. Fuck you.

    9. Re:Responsible Disclosure by mysidia · · Score: 1

      I keep seeing these shills on this thread telling people to

      You are posting complete nonsense, in the total bogus claim that there might be "shills" in the discussion. It would seem you are so incompetent in supporting your own arguments, that you think the only way to do so, is to try to project your own character deficiencies on other people.

      Is there some huge list of all the security experts rotting in prison for disclosing Windows/Flash/Android exploits that I'm not aware of?

      Professional Security researchers have lawyers and legal counsel; they do not just start disclosing vulnerabilities without understanding the risk. Professional security researchers take advise, and are aware of the rules they need to follow and the risks, AND accepted rules for responsible disclosure. Off the street Joe, who just discovered a vulnerability in ISP's server, is not darn likely to have much knowledge of the standards, precedents for responsible disclosure, and the risks (legal and otherwise).

      And may very easily inadvertently create additional crimes or tortes, in the process of disclosure -- such as extortion, or tortuous interference with bus. relationships.

      Can you list out some security experts who have disclosed vulnerabilities on the Google.com website, Adobe communtiy website, and Android websites, that allows any user to view the private data of any other user on the system?

      That is an invalid comparison. Disclosing vulnerabilities in software is "safe". Because it is possible to discover vulnerabilities in software, without breaking the law.

      Software researchers attack is in their hands; they own the computer that it runs on. They are legally allowed to hack to their hearts' content, as long as they own the computer system, and all the data that they are gaining access to, via vulnerability.

      Discovering a possible vulnerability, and writing exploit code to prove its existence by gaining access To a server owned and operated by another organization, without the permission of the organization owning the computer system carries much greater legal risks.

      Disclosing a vulnerability in Apache or IIS; is OK, or Safe. Disclosing a vulnerability in Microsoft's implementation of IIS, and posting a script that will login and download other customers' details, may very well result in serious retribution from Microsoft.

      Disclosing a vulnerability is possibly OK in some circumstances, as long as you didn't have to do anything illegal to discover it, OR to disclose it. IF the vulnerability is on someone else's server, and you proved it, by writing a tool that gains access you are not supposed to have, then you have technically broken the law and may experience criminal liabilities.

      If you violate an agreed upon Terms of Service or EULA, you may be subject to civil liabilities and damages for your breach. There are also other possible civil claims, and there are some unique ones that exist in finding a vulnerability in A SERVICE rather than a software product.

  7. Security and shared hosting don't mix by Giant+Electronic+Bra · · Score: 4, Informative

    You have no idea what idiotic web applications people are running. You should ASSUME that any shared host is compromised. Don't store any unencrypted data there which is at all sensitive. Given the low cost of renting a virtual or physical host machine these days it seems there's little reason to bother with shared hosting (yes, it is cheaper, but honestly the cost of an AWS micro instance is pretty low).

    The real problem is bulk shared hosting facilities just can't afford to tinker. There are often 100 or more accounts on a server, sometimes even 1000's. One stupid tweak to fix a security hole can break a LOT of scripts. These places will always prefer to just set up servers and not EVER patch them.

    The ultimate observation is just that driving the cost of hosting down to $2.99 a month means doing absolutely nothing beyond what is absolutely needed to make it work. You get what you pay for.

    --
    "Malo periculosam, libertatem quam quietam servitutem." -- Jefferson
    1. Re:Security and shared hosting don't mix by Anonymous Coward · · Score: 0

      Mention the drawbacks of putting all one's eggs in one basket. Try not to mention the cloud, there's a reality distortion field in place that might blow back...

    2. Re:Security and shared hosting don't mix by VortexCortex · · Score: 1

      You have no idea what idiotic web applications people are running.

      You're wrong. I do: It's PHP... The rest of your comment is spot on though.

    3. Re:Security and shared hosting don't mix by Giant+Electronic+Bra · · Score: 1

      LOL, yeah, its probably some old version with known insecure settings configured globally.

      --
      "Malo periculosam, libertatem quam quietam servitutem." -- Jefferson
    4. Re:Security and shared hosting don't mix by dissy · · Score: 1

      Given the low cost of renting a virtual or physical host machine these days it seems there's little reason to bother with shared hosting

      About the only reason I can see is if that is literally the only thing you need: A single small and simple website where every file is public.

      If every last html and image file is available through the web-server, then it's not exactly a big security risk for others to directly access the files instead of getting them through the web server.

      This only holds true if everything should be public of course.
      A single hidden URL or private section (or any form of restriction or control at all) would render this plan moot.

      If you need any form of controls at all, or more than one simple website, a VPS really is a better and cheaper solution in the long term.

    5. Re:Security and shared hosting don't mix by sjames · · Score: 1

      That is exactly it. They get 2.99 from you in a month. If a reasonably competent admin reads an email from you, they have burned up most of the month's profit immediately.

      At $10 per month, he can afford to read it, but actually doing anything about it burns up the month's take.

  8. Public shaming is all you need by sir-gold · · Score: 1

    If you really want to help those other customers, all you have to do is tell us the name of the company, and let the bad publicity take care of the rest.

    1. Re:Public shaming is all you need by Seor+Jojoba · · Score: 3, Informative

      I wouldn't do that. Original poster has described his history with the company. Effectively, he is no longer anonymous. Lawsuits could follow public statements here.

    2. Re:Public shaming is all you need by Anonymous Coward · · Score: 0

      Really nice business climate you have over there. I'm surprised there is technological progress in that country at all.

    3. Re:Public shaming is all you need by Anonymous Coward · · Score: 0

      Where are you and we'll cock-block each other.

    4. Re:Public shaming is all you need by Zemran · · Score: 1

      I realise that IANAA (I am not an American) but in most of this world the company only has a case if what you say is false.

      --
      I love stacking my barbecues in the shed at the end of summer - you can't beat a bit of grill on grill action.
    5. Re:Public shaming is all you need by Fjandr · · Score: 1

      It's also true in the USA, but you can still be ruined by the legal fees required to mount the defense in the first place. It can be difficult or impossible to get legal fees paid by the opposing side in the event you successfully defend yourself from a suit unless you have proof the lawsuit was malicious.

    6. Re:Public shaming is all you need by ThatsMyNick · · Score: 1

      You are talking about libel. It is the same in the US. However you still be hit with attempting to break the security of the system and privacy and all related laws.

    7. Re:Public shaming is all you need by sjames · · Score: 1

      That's true in America as well, but to get there you'll have to pay a lawyer several thousand dollars and take a few days off work. By the time you successfully defend against a lawsuit, you have already been punished.

  9. National authority by Anonymous Coward · · Score: 0

    Does your country have national security incident response teams/authority? If you do i suggest that you contact them and allow them to handle cooperation with company in question and noticing public.

  10. Name names by Darren+Hiebert · · Score: 1

    Only placing the company's reputation at risk will provide sufficient motivation for it to assign such a problem the proper priority.

  11. Use your hack for something good... by Anonymous Coward · · Score: 2, Interesting

    and try to find the mail addresses of the users and alert them of the security problems. If many of them leave, maybe the hoster feels it's time to act.

  12. Try responsible disclosure by kop · · Score: 4, Informative

    http://en.wikipedia.org/wiki/Responsible_disclosure
    Contact them to agree a timeframe to patch.

  13. Be careful! by wmelnick · · Score: 4, Informative

    If you live in the US, or your hosting is in the US, what you have done is technically cyber-crime. While I hate to say this, your best recourse is to move to another host and leave it all behind you. Should the hosting company start losing business because of you warning other users you could face all kinds of civil lawsuits and possibly even criminal penalties.

    1. Re:Be careful! by Anonymous Coward · · Score: 1

      "If you live in the US, or your hosting is in the US, what you have done is technically cyber-crime. While I hate to say this, your best recourse is to move to another host and leave it all behind you"

      You misspelled country

    2. Re:Be careful! by Fjandr · · Score: 1

      Amusingly, I actually did read "country" instead of "host" in that sentence the first time.

    3. Re:Be careful! by RedBear · · Score: 1

      Seconding the parent.

      A lot of folks here seem to be confused about the difference between someone finding and disclosing a vulnerability that you found on YOUR OWN COPY of a piece of software, and finding and disclosing a vulnerability that you found while you were on SOMEONE ELSE'S COMPUTER SYSTEM.

      To the legal system, and most judges, prosecutors and juries, computers are still "magic". It doesn't matter how childishly, stupidly simple it was to find the problem, or how dangerous it is to others, what matters to the law is that you "accessed" a part of someone else's computer system that you were not authorized to access.

      To put this in analogy form, it is illegal to break into and enter someone else's home without permission. If you live in a duplex with a crummy lock on the front door and you find out that YOUR locked front door can be opened with a toothpick, that's one thing. Complain to the landlord or replace it with a better lock if you happen to be the owner. If you then proceed to open your NEIGHBOR'S locked front door with a toothpick, you are committing the crime of breaking and entering, and if your neighbor is at home and sees you doing this he would be well within his legal rights to call the police and have you arrested for B&E. If you're LUCKY and your neighbor is a reasonable person you can explain that you were just testing the security of his front door for him. But you are not legally protected in any way because it ISN'T YOUR HOUSE.

      It's stupid, and people have regularly been "burned at the stake" (i.e. "sent to prison") in recent decades for the criminal equivalent of say, checking to see if a stray black cat has a collar and tag. But that's the way it is and to pretend otherwise is very naive.

      So do as most people are advising. Find another service and forget any of this ever happened. If it really burns a hole in your heart not to warn them of the problem again, find a good email anonymizer service and send them just enough detail for them to identify and fix the problem, without identifying yourself.

    4. Re:Be careful! by hobarrera · · Score: 1

      [citation needed]

  14. Full Disclosure List by Anonymous Coward · · Score: 0

    Post on a full disclosure list after giving them a week to fix the issue.

  15. Jump a head? by Anonymous Coward · · Score: 0

    Jump ahead.

    FTFY

  16. If you are in Europe by Neil_Brown · · Score: 4, Insightful

    and attempting to speak with the ISP has not worked (it's not clear if you have tried to inform them that the bug remains on this, and likely other, servers, and given them the chance to fix it (albeit a second chance)), call up your data protection regulator on Monday morning, and explain the nature of the issue and its impact?

  17. Which entry-level VPS provider? by tepples · · Score: 1
    Anonymous Coward wrote:

    Also, why is anyone still using shared hosting? Places charge the same for VM's now.

    Go Daddy charges more for a VPS than for its bargain basement PHP-only shared hosting package. As for "so just don't use Go Daddy", I thought a VPS was more expensive in general because a VPS needs its own IPv4 address, and we've run out of those. Which VPS provider do you recommend?

    1. Re:Which entry-level VPS provider? by Anonymous Coward · · Score: 3, Interesting

      I've been using Linode for the last 8 months or so, and have been pretty happy with it.

      $20 per month gets you 1 static ip address, 512 MB of ram, 20 GB of disk space, 200 GB of upload bandwidth, unlimited download bandwidth, and up to 4 cpu cores.

    2. Re:Which entry-level VPS provider? by Anonymous Coward · · Score: 0

      It has nothing to do with IPv4 addressing. A good hosting company would have a smart load balancer or somesuch at the gateway that could route internally to whatever based on hostname.

    3. Re:Which entry-level VPS provider? by Anonymous Coward · · Score: 0

      OH. Forgot to say, I really like pagodabox.com for hosting my PHP sites. They do a lot of nice automation for me.

    4. Re:Which entry-level VPS provider? by Anonymous Coward · · Score: 0

      linode is insecure as evidenced by all the bitcoin hacks stemming from there.

    5. Re:Which entry-level VPS provider? by Anonymous Coward · · Score: 0

      No, that would be a bad hosting company. Routing based on "hostname" would only work for HTTP traffic, and would therefore mean your VPS could not be used for anything that used other traffic, or in other words you have none of the advantages of a VPS. In fact, I would go as far as to say if your hosting company is telling you they do this, you do NOT have a VPS, you have shared hosting and you have been lied to.

    6. Re:Which entry-level VPS provider? by Anonymous Coward · · Score: 0

      To my knowledge, there was only a single incident, it was fixed as soon as it was discovered, and it was disclosed. I think they handled the situation well.

    7. Re:Which entry-level VPS provider? by hawguy · · Score: 4, Interesting

      I've been using Linode for the last 8 months or so, and have been pretty happy with it.

      $20 per month gets you 1 static ip address, 512 MB of ram, 20 GB of disk space, 200 GB of upload bandwidth, unlimited download bandwidth, and up to 4 cpu cores.

      If you don't need much bandwidth or CPU, check out an Amazon Micro instances. If you buy a reserved instance, a Micro instance ends up costing around $7/month plus $0.10/GB for disk and $0.10/GB for outbound bandwidth.

      They are cheap enough to run multiple instances - I have my public website on one instance and use the other one for my mail server, and other things I don't want on the public server giving me complete separation between the two. If the webserver ever gets hacked, I can just restore it from an S3 snapshot. I had started looking at chroot'ing Apache or running it in a VM for better isolation, but spinning up a second micro instance was much easier.

      If you need to use significant CPU, a micro instance is probably not going to be a good choice, as I've heard that Amazon throttles back CPU to Micro instances that use a lot of sustained CPU. But it runs my PHP based photo gallery software pretty well (shared only to family/friends, so it's not super busy).

      The bandwidth costs could get expensive quickly at 10 cents/GB if you have a busy website. I run a script that checks my bandwidth utilization and if I hit more than 10GB in one day it shuts down Apache and notifies me so I don't end up with a huge bandwidth bill if my site ever slashdotted.

      Even with multiple S3 snapshots, my total hosting bill is always less than $20/month, less than I was paying for a single VPS server (that was having performance issues due to being oversubscribed so heavily by the ISP)

    8. Re:Which entry-level VPS provider? by Anonymous Coward · · Score: 0

      Linode is very good. Yes, they had an issue once, and dealt with it professionally.

      If you want even less expensive options, other good ones start at like $5/mo. This must be in shared hosting price range, right?

      This is one well known one. I don't use it, but I've heard good things. http://prgmr.com/

    9. Re:Which entry-level VPS provider? by jbolden · · Score: 1

      I pay $72 for 3 years for my shared host for my small business. I might upgrade to $180 per 3 / yr for a high service account. The cheapest I've seen is $360 for a low service low bandwidth VPS.

    10. Re:Which entry-level VPS provider? by LVSlushdat · · Score: 2

      I have several 512mb vps I run several services on, which cost me a whopping $6/mo. The services are non-critical, and if not for this price-point, would not be running on a vps. I was having a problem with one of them where the vps os would randomly reboot itself. I asked the vendor to check the vps host to make sure there wasn't something amiss. They claimed there wasn't, and I could find nothing amiss on the Debian slice OS. I finally came to the realization that since these vps are OpenVZ, it was likely something one of the other slices was doing, since its well-known that OpenVZ containers are very susceptable to other slices taking more than their share of resources. I therefore began to look for a Xen-based host, as these reboots were hair-pulling annoying. With a bit of searching, I came across a vendor advertising 512MB Xen vps either in LA or Kansas City for .... get this.. $5/mo.. Am in the process of migrating the nasty rebooting OpenVZ services over to a nice Xen instance.. I'd been with the OpenVZ vendor for nearly two years and have had zero issues with them, up to this issue, which I don't believe is their "fault" vs just the nature of the OpenVZ "beast".. This vendor does have Xen vps, but they're quite a bit more than the newly discovered host..

      Not gonna provide links to the vendors, but, for the OpenVZ vendor, "ThrustVPS" and for the Xen vendor, "Virpus"..

      --
      THANK YOU, Edward Snowden!! Americans owe you a debt of gratitude (whether they know it or not..)
    11. Re:Which entry-level VPS provider? by mrmeval · · Score: 1

      They make that as complex and undecipherable as possible. I want it capped at a maximum amount preferably with a warning and a request to authorize more. I would really like them to translate that in to a language spoken casually somewhere on the planet.
      I get the features I need at my current service and I don't have to play Russian roulette with my finances. So far the service I use works without issue.

      --
      I'd go on a Vegan diet but the delivery time from Vega is too long. --brownkitty
    12. Re:Which entry-level VPS provider? by rgbrenner · · Score: 1

      Did the hackers get access to the bitcoin VM by hacking in through XenServer/VMWare?

      Because if they didn't, then it has nothing to do with Linode. Linode's only responsibility is to secure the hypervisor. The security of your VM is your problem.

    13. Re:Which entry-level VPS provider? by rgbrenner · · Score: 2
    14. Re:Which entry-level VPS provider? by gum2me · · Score: 1

      Can you post a howto?

    15. Re:Which entry-level VPS provider? by Anonymous Coward · · Score: 0

      Or, you know, they could have an SSL terminator built into the load balancer (like most large scale sites do.) In which case, multiple IPs are added to the load balancer (not the VPS) and then traffic is proxied back. (That's what X-Forwarded-Proto headers and the like are typically used for.)

      This way if a node goes down, your site doesn't. Granted that isn't routing based on the hostname, that is tied to an IP, but an IP doesn't equal a VPS, it equals an IP, which could be used for any number of things.

      Either way, getting an IPv4 address isn't really a reason for having a VPS. Usually you have a VPS to fulfill resource requirements, because you want to be able to carve out resources for your specific application.

    16. Re:Which entry-level VPS provider? by dotancohen · · Score: 1

      Host the static images from S3. You might be able to save on bandwidth that way.

      Note that I've just started working with AWS, and I haven't double checked that S3 bandwidth is cheaper than E2 bandwidth.

      --
      It is dangerous to be right when the government is wrong.
    17. Re:Which entry-level VPS provider? by dkf · · Score: 1

      Note that I've just started working with AWS, and I haven't double checked that S3 bandwidth is cheaper than E2 bandwidth.

      The pricing rules aren't the same for the two services. IIRC, one charges by the GB and the other by the "million GET requests" (or something like that). Converting requires knowledge of your average data sizes.

      --
      "Little does he know, but there is no 'I' in 'Idiot'!"
    18. Re:Which entry-level VPS provider? by dotancohen · · Score: 1

      Thanks. I'm still serving all content from EC2 myself!

      --
      It is dangerous to be right when the government is wrong.
    19. Re:Which entry-level VPS provider? by Gallomimia · · Score: 1

      Shared hosting comes with unlimited bandwidth and space these days. VPS's do not. I own a VPS with 5 gigs of space and very limited bandwidth for 10$ monthly, and a shared webhost for 5$ monthly with unlimited space and bandwidth. The webhost does promotions where you can get a second account for 3 dollars monthly.

      --
      Sadly, a Libertarian cannot force his views on another, and freedom cannot spread as does the cancer known as religion.
    20. Re:Which entry-level VPS provider? by Meski · · Score: 1

      Wasn't the point of IPV6 to replace IPV4? Give the VPS an IPV6 address. (visibility problems are its problems)

  18. Inform the users by mkraft · · Score: 3, Interesting

    Back in the days of dial up, I used a dial-up ISP that offered free scripting (CGI, ASP, you name it) on a Windows server. While teaching myself scripting, I discovered that files I wrote as part of scripts ended up in the c:\windows\system32 directory of the server instead of my user folder. Worse still cgi scripts allowed running executables. Needless to say that is bad as it allowed me to get remote shell access to the box. Finally to complete the incompetence, I found that the ISP was storing the customer records on the server as an access database. When I mean records, I mean everything: names, addresses, credit cards, etc.

    I informed the ISP of the problem. They responded, but said it was a "windows" problem and couldn't be fixed so I posted on a message board for customers about the problem (but not the details on how to do it), wiped my own customer records from their database (yes I could read and write) and canceled service. I don't know what ever happened to them, but I'm assuming they went out of business like most other dial up ISPs.

    1. Re:Inform the users by Anonymous Coward · · Score: 2, Interesting

      I worked at an ISP that had an extremely similar (but different enough that I know it's not the same ISP) issue. The customer could access our RADIUS UN/PW files and browse other unsecured NT machines... This all prompted us to firewall up, but not before the customer decided we weren't moving fast enough and decided to call the local ABC affiliate and put the passwords for various local agencies/companies/users on the TV screen. What else... Front page on the newspaper and the local computing magazine, had a nice big "COMPANY X DROPS THE BALL" on the cover. All this was in '99. Well before big corporations started suing the messengers.
      Fun times!

    2. Re:Inform the users by Anonymous Coward · · Score: 0

      My old ISP had a similar setup with their popular homepages server.

      Some script kiddie (I mean that literally) used a CGI script to wipe the server's HDD. They had no backups.

      Turns out many customers didn't either.

      National scandal ensued!

  19. The same as I do when I see illegal stuff by houghi · · Score: 5, Interesting

    I do the same as I do when I see other illegal stuff. I report it.

    I have once reported childporn. I was ordered to go to go to the police station where they tried to put the following on me:
    1) Spreading of childporn (Remember that I was the one who reported it)
    2) Obstruction of the law (because I called the newspaper, after wich they finaly closed the site)
    3) Falsification of my person (because my trow away email address did not have any official address)

    I send the report from work. They called there to say they needed to speak to me concerning a childporn case. Luckily I had VERY understand management (who even offered to pay for lawyers if anything would come of it towards me) otherwise I could have been out of a job.

    So if I ever see anything illegal again, I would do the right thing and report it.

    But somehow I never have seen anything illegal after that. Not even people speeding or pedestrians walking through a red light. Strange, isn't it?

    --
    Don't fight for your country, if your country does not fight for you.
    1. Re:The same as I do when I see illegal stuff by Anonymous Coward · · Score: 1

      Well, CP works as intended then: they can silence whoever they want just by accusing them (I bet they didn't check that it was you who reported it, they thought it was the usual politician trying to blackmail someone).

    2. Re:The same as I do when I see illegal stuff by Anonymous Coward · · Score: 0

      I really doubt that is what it is. The police surely know he isn't a politician just as much as random people who see me on the street know I'm not a movie star.

      The police have really become fucked up. They just want to nab people for something at every opportunity they can. As soon as you report a crime you immediately become the target of suspicion.

      Report child porn? Hey, we're going to have to confiscate your computer so we can analyze it. Guess what, there are still images of child porn in your cache. You're now being charged with possession because we don't believe your story 100%.

      If you run across child porn on accident your best bet is to wipe your browser history and caches and never report it.

    3. Re:The same as I do when I see illegal stuff by npetrov · · Score: 2

      Actually, I was laid off once because of a very similar situation. 1. Found a very expensive computer in a trash 2. Notified the manufacturer with all serial numbers. 3. Used work email 4. Half a year later some a*hole comes with a police officer to my work and accuses me of stealing it. 5. Next day I am laid off. Had another somewhat similar issue where I disclosed a serious vulnerability to a company where any user email could have been looked up through a certain web page. When I needed their help on an issue I had with their services - I got nothing back. The lessons I learned - if I first see some cooperation from actual developers and not management/support a*holes, I cooperate as well and report any issues I find directly to developers. If I do not see such cooperation - I do not tell anyone about issues. Coincidentally, the company I currently work for, cancelled the last service where I found some issue, and the CTO of the company was rather negative about what I was doing. Hopefully he'll learn to be more cooperative in the future.

    4. Re:The same as I do when I see illegal stuff by Anonymous Coward · · Score: 0

      You could try reporting any child sexual abuse content here:

      http://www.iwf.org.uk/

      It' a UK site, but you can report "Child sexual abuse content hosted anywhere in the world". And you can post anonymously.

  20. move by shentino · · Score: 1

    First move and get all your data out of their hands.

    THEN shame them by naming them publicly.

    You already gave them a chance to fix it and they got lazy.

  21. Web server security hole by Simonetta · · Score: 3, Informative

    Contact the company again with your findings. They patched the hole that you pointed out before but kept the details of the exploit limited to senior programmers and support. When they reloaded the server after a down period, a SNAFU recreated the hole.

        So there are two problems. One is the security hole that you found and the other is their back-up and security breach repair process. Point out both problems to them.
        Then review the security of your data that you are exchanging with them. How important is it that this data remain secret? And secret to who? To another user who might have stumbled onto the same exploit window? To a Soviet/Russian criminal organization? (a three-way redundancy, yes, I know) To the American feds? To your wife or kid that looks over your shoulder while you type?

        Please understand, all this technology is still basically new. It has problems. Tech problems and social problems. The tech issues get discovered and solved faster than the social problems, i.e. crime issues. For example, we (the American government and Interpol) can not go after criminal organizations in the (former) Soviet Union because many of them are in alliance with the corrupt Soviet/Russian/Gangster government that still controls thousands of nuclear bombs. So criminal organizations there can loot American banks and businesses with stolen credit card information with near impunity. It's a defect of the modern computer age. It will get fixed someday, but for now, guard your data and be aware that every data and login password that you type on an internet-linked PC can be stolen.
        If the web-server company can't and/or won't fix the issue after you point it out to them several times, document the issue and submit this documentation in writing (not on-line) to both the local Better Business Bureau and your state Attorney General's Office. When they get inquiries from both parties about this issue, they will get the fear of God and fix it right. Until then, be patient and remind people to guard their data.

    1. Re:Web server security hole by arth1 · · Score: 2

      Please understand, all this technology is still basically new. It has problems. Tech problems and social problems.

      No, it is very old. Remote Unix is one of the oldest computer technologies we have. What goes on top of it has to follow the rules and be implemented by people who understand it.

      And therein lies the problem. Your average Linux guy doesn't. He has never had to deal with multi-user environments, and more likely than not comes from a background where gratuitous privilege escalation is the way to do things (yes, Canonical, I am looking at you). Then there's insecure middleware, and databases set up by the Google method. Sure, chmod -R 777 will make most things runnable. And if you do it, you're a blithering idiot. Sure, create db users with the same user names and passwords as for login, and default to a right to see all other users, be cause a web page lists that as the easiest example. Smart, it is not.

      It is not difficult to set up relatively secure environment. It's been done for decades. But you can't do it on a shoestring budget, and if you pay your "admins" $40 per hour so more of top management can afford their green fee, you don't deserve customers. Or anything but derision.

    2. Re:Web server security hole by Ash-Fox · · Score: 1

      more likely than not comes from a background where gratuitous privilege escalation is the way to do things (yes, Canonical, I am looking at you)

      What? The Ubuntu distributions are one of the few ones that don't run any daemons as root and heavily fortified by apparmor. Other distributions like SuSE rely on using jails / fakeroot to isolate the process, but as it's running as root, it has the potential to escape those jails anyway if the right code is executed.

      --
      Change is certain; progress is not obligatory.
    3. Re:Web server security hole by arth1 · · Score: 1

      Ubuntu relies on sudo for normal operation. Having any ALL rules in sudoers for other than root is gratuitous privilege escalation, and pretty much mimicking the shield sign of Windows, for pretty much the same reasons. Having it by default is trading security for convenience.
      Why is it bad? The user runs commands with superuser privileges but inside a user context with certain environment variables not being root's, but the user's. What could possibly go wrong?

      Do a "find /home -owner 0" on a well used Ubuntu system, and you'll see what's wrong.

      In addition, the unrestricted use of sudo teaches users to rely on root to do things you don't really need root for. Because sudo "just works", just like chmod -R 777 does. So the users never learn about using ownership and permissions to avoid privilege escalations, because they don't have to.

      (And apparmor is a poor substitute for selinux and other "block-by-default" approaches, but that's a different story, and has nothing to do with this particular problem.)

    4. Re:Web server security hole by Ash-Fox · · Score: 1

      Ubuntu relies on sudo for normal operation.

      Only if the user is in the admin group.

      Having any ALL rules in sudoers for other than root is gratuitous privilege escalation, and pretty much mimicking the shield sign of Windows, for pretty much the same reasons. Having it by default is trading security for convenience.

      I'm not understanding the problem of having an administrator of a system having the ability to administrate the system. A non-admin user doesn't have access to sudo on Ubuntu.

      The user runs commands with superuser privileges but inside a user context with certain environment variables not being root's, but the user's.

      Except that isn't default, you need to use sudo with -E in order to preserve environment variables.

      Do a "find /home -owner 0" on a well used Ubuntu system, and you'll see what's wrong.

      On a heavily used Ubuntu system, used for development (on the desktop) and excessive amounts of sudo to test install packages:

      $ sudo find /home -user root
      /home
      $

      (Ran as root as I don't have access to read other home paths)

      In addition, the unrestricted use of sudo teaches users to rely on root to do things you don't really need root for. Because sudo "just works", just like chmod -R 777 does. So the users never learn about using ownership and permissions to avoid privilege escalations, because they don't have to.

      Sounds insightful, tell me how would you have ran 'find' without doing any sort of privilege escalations, without having to login to each account separately and without making everything world readable?

      --
      Change is certain; progress is not obligatory.
  22. welcome to shared hosting by rgbrenner · · Score: 1

    you've learned your first lesson as an admin: shared hosting is shit. congrats.

    you're concerned about security, but you're on a shared host that could be compromised by any of X hundred people who have access to it (not just your shared server... EVERY shared server is just waiting for a local priv escalation hole)

    at least get a VM... yes, you still need a competent hosting company to ensure they apply patches to XenServer/VMWare... but that requires less work by the admins, and is harder to exploit.

    a VM at rackspace is $16/mo. If your security isn't worth that, then why are we even talking about it?

  23. inform by Anonymous Coward · · Score: 0

    You should tell us who the hosting company is so we can switch companies if we are using them.

  24. IE for XP does not support SNI by tepples · · Score: 2

    A good hosting company would have a smart load balancer or somesuch at the gateway that could route internally to whatever based on hostname.

    You can't route HTTPS based on hostname until Internet Explorer for Windows XP reaches its end of life in 18 more months. If multiple sites are hosted on port 443 of a given IP address, IE for XP can't see the certificate for any site other than the first because IE for XP doesn't support SNI. To me, at least, getting a dedicated IPv4 address on which to run HTTPS is one of the main reasons to upgrade from shared hosting to a VPS, especially for web site administrators who are concerned about security. Because without HTTPS, anybody can intercept and forge your site's users' session cookies using Firesheep.

    1. Re:IE for XP does not support SNI by Anonymous Coward · · Score: 0

      That's a valid point, but I forgot to mention, the load balancer could quite possibly have (and many do have) multiple IP addresses. That allows you to route without ever exposing your server to the wild internet. It also lets you more easily setup failover. So http can route by hostname, https can still be tied to an IP, but having a VPS has little (or nothing) to do with getting an IPv4 address.

    2. Re:IE for XP does not support SNI by hobarrera · · Score: 1

      So you'd rather downgrade your security or pay for additional IP addersses to support XP users who can't bother to download firefox?
      No thanks, I prefer to run secure websites with TLS+SNI, and screw XP+IE users. Security comes first, if those users don't care about security, they can take their business elsewhere. Why should I pay for additional IP addresses just to support such a small target (seriously, how many XP+IE users are there?).

  25. Act anonymously next time. by couchslug · · Score: 1

    Forget this event, but it's a lesson learned.

    You have no rights since you aren't rich. The only way to act is from cover and without chance of attribution.

    --
    "This post is an artistic work of fiction and falsehood. Only a fool would take anything posted here as fact."
  26. godaddy by dmitrygr · · Score: 1

    found this on GoDaddy years back - still the case

    --
    -------
    1. Enjoy your job
    2. Make lots of money
    3. Work within the law

    Choose any two.
  27. Notify them via Certified letter by Maow · · Score: 3, Insightful

    Others have made a good case for simply moving on, but another thought would be to move to another provider, then notify them via certified letter why you're moving and informing them that if/when the hole is exploited (and reiterate that you will not exploit it yourself), then the certified letter will be shared with the legal teams of those customers who have suffered damages.

    i.e. "Here's your official notice of a potential exploit, don't say you weren't warned."

    It won't provide preemptive help for their other customers but may make their damages somewhat recoverable through legal means.

    1. Re:Notify them via Certified letter by VortexCortex · · Score: 2

      Your honor, the accused sent us certified mail attesting to the crime of unlawful access to our systems. He is guilty of hacking by his own admission.

  28. Simple by Anonymous Coward · · Score: 0

    Jump a head to this week: they experienced server issues, and I asked to be moved to a different server. Once it was done, the first thing I did was run my test script, and I was able to list out everyone's files again.

    Couldn't you just inform them again that the problem is still present?

  29. The server is configured correctly by raymorris · · Score: 1, Interesting

    The host isn't doing anything wrong. That configuration is actually the most secure of any common configuration. If your script can read other people's files, that probably means it's running as the unprivileged user "nobody" or "apache". All scripts can read all files, but can only WRITE files that are chmod 666. The only commonly used alternative is suexec, where your scripts run as your user. That means they can only read your files, but it also means all scripts can WRITE to any file, delete any file, or create files anywhere. Given that most all PHP scripts have security holes, running them using suexec is super dangerous - FAR more risky than running them as nobody and letting them read files. So the configuration they are using is definitely the safest, in the opinion of poster who has fifteen years of server security experience. It usrd to be, you could run suexec as a different user, bob_scripts, and that was much safer. Recent versions don't allow that due to some poorly thought rules about file ownership. The ultimate would be set up custom.selinux rules such that your scripts could only read your files AND could only write 666 files, but NOBODY does that. I don't think there is a single shared host in the world who offers that, and I've worked with hundreds of hosts.

    1. Re:The server is configured correctly by Anonymous Coward · · Score: 0

      Reading other site files is a huge issue, such as database credential (SQL accounts, credit card systems, etc.).

      First, the web host can assure that FTP/SFTP/WebDAV users only see their own files.

      Second, the web host can disable dangerous PHP commands, like exec() and passthru(), so even though the web server runs as a single user (apache or _www or whatever), clients cannot create PHP scripts to navigate the file system. Include files can also be restricted to a certain path (the client's directories).

      Third, the web host can make a few Google searches for securing Apache and PHP in virtual host environments.

    2. Re:The server is configured correctly by Kalriath · · Score: 2

      So what you're saying is that Linux is LESS secure that Windows? Because it's a piece of cake to make a Windows server run scripts in such a way that they can't read, write, delete, or list directory contents outside their own little sandbox.

      But that can't be the case. And in fact... it isn't the case! PHP can indeed be properly secured on Linux in such a way that scripts can't access outside their sandbox, and it certainly doesn't include custom SELinux rules. I've used tons of hosts where this is in fact the configuration.

      Please name the hundreds of hosts you've worked with so we can avoid them?

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
  30. Username n password in plain text submitted by johnsnails · · Score: 0

    I complained to my hosting provider when I saw that my username n password were submitted as plain text get data u=john&p=password type thing. When they fixed it it was just sent to the server as post data. I think they use https n r a bit more professional now.

  31. Don't reward bad behavior. by hessian · · Score: 1

    Don't reward bad behavior.

    This rule applies to a lot more than just hosting!

    What you tolerate, you get more of. Your tolerance is an implicit endorsement of it.

    If you reward the good, and punish the bad, you always get more good than bad.

    Very few people have the experience/wisdom/gumption to see this however.

  32. Dealing with Vulnerabilities The American Way ... by golodh · · Score: 5, Interesting
    Today's lecture is on dealing with accidental vulnerabilities you accidentally stumbled into while accidentally probing a system that accidentally happens to have a lot of potential interest. You know what I mean.

    I read a lot of indignant posts and a few moany warning ones on the subject. The authors of either kinds of post have obviously lost touch with the American Way.

    When you find a vulnerability, the first thing to do is to disassociate yourself from it. Wipe your data and close down your account (many posts correctly advised this). Then get two sets of some cheap one-off hardware (second-hand paid-in-cash stuff is best). Use one of those to assess the economic potential of your find as best as you can (or you'll get fleeced later on).

    Then you Monetize your find. Quickly, before someone else beats you to it. That's the American Way right there.

    Use the second piece of old kit you bought to surf the web. There are certain websites, often in Eastern Europe, on which you will find people who'll use a peculiar form of English but who will be prepared to pay smallish but reasonable amounts for such information. Depending on e.g. whether the flaw leads to credit card data (that's why you ascertained the economic potential of your find first) or advanced military technology (in which case you may be able to get better quotes from buyers in the Middle East or the Far East).

    Be aware that there is a certain protocol to be followed when conducting this sort of transaction. Contacting them from home, work, or any other place that can easily be traced to you is a beginner's mistake. Secondly, don't *ever* give out information like your real name, physical address, bank account or credit card to them. They won't do that either, and besides, you'll *really* value your privacy when dealing with them.

    Use e.g. an old second-hand laptop and work from an Internet cafe or use a prepaid smart phone with Internet browsing facilities. Don't ever use that hardware for *anything* but completing this one transaction. Wipe, disassemble, smash, and ditch said hardware component-wise as soon as the transaction is completed.

    The trick is of course to get the money to where you can spend it. Having it wired into your account will show up and may be a bit difficult to explain. Even when done from a US account (you can negotiate for this but it costs extra). They will pay you in bitcoin or E-gold if you insist, but that too is tricky. Asking for cash in the mail is asking to be fleeced, and likewise a bit conspicuous should they actually do it (amateurs).

    I'm leaving the question of arranging secure and discreet transfer as homework. Additional points will be awarded (optionally off the record or against a discreet little cash bonus) for really good solutions. Remember: should government officials come calling at your doorstep you'll automatically fail the course and all traces of your enrollment will mysteriously have vanished. No refunds.

  33. What is PHP and how much can I charge? by Anonymous Coward · · Score: 0

    Many shared hosting admins have no clue about security. On one Mac-based admin forum, a member posted asking what PHP was, "but more importantly" how much he could charge. With that now-defunct product, any PHP script essentially owns all hosted sites on the box (all files including database credentials) AND has access to all hosted site configs including each site's login credentials AND read/write access to logs. Imaging what can be done with a tiny 250 character PHP page, that takes a textbox as input and returns its passthru() in a textarea, and can be placed in any site on the box.

    As far as the original post, my first 2 web hosts in '96 and '97 had the same problems. You can cd to your site's parent directory and see all other sites, and go where ever you wanted.

  34. Just walk away by Anonymous Coward · · Score: 0

    In the past I've reported security issues to hosting companies and ISPs, nothing was ever done. In the case of illegal goings on I reported it to the police and was told they weren't interested in such things. Lesson learned. Now I just walk away and take my business with me.

  35. Anonymise the details and stick it on pastebin by pointyhat · · Score: 1

    Move hosts, leave it a few weeks, then anonymise the details and stick it on pastebin. Don't leave a trace. Seriously, just do this. Most shared hosting companies don't give a shit about their customers so you're not going to get anywhere by telling them other than a legal case filed against you.

  36. Root Access on Shared Hosting by Turnerj · · Score: 2

    I work at a website development company and one of our clients websites was hacked/defaced. The web host blamed out of date software on our client's website for the breach and the deface. Our client was on a shared hosting package with the hosting company.

    When I was told to be the one to clean up the mess on the website and after getting rid of recently modified files (most of the site hasn't been touched for several months) and other malicious files, I stumbled upon a directly conveniently named "sym". This directory contained a symbolic link to the Root directory on the site which stunned me a little that it could be created in the first place.

    I checked some folders and files inside and I had full read/write access to any file on the system. The very first thing I did was make my own employer aware of the situation before then informing the web hosting company that there is a major security risk to the server. I sent the message to them two weeks ago and I have not heard a single thing since.

    Since then however, the hosting company has been much harder to deal with not responding to the many messages we have sent to them regarding other issues with this particular client's hosting. The site has been defaced again but this time no matter how many times they say they reset the password to the FTP and cPanel, we still can't login. Without being able to login, we can not make our own backup of the site (database dump and files download) which means we can not move the site to another hosting company

    We tried to do a second idea of actually just pointing the domain name to a temporary host with a splash page rather than the defaced page. Unfortunately with this, there were issues with who actually controlled the domain name. The Whois lookup said it was Netregistry however when contacting them, they said it was the web hosting company. Trying to login to the hosting company's domain manager, it said they were not managing that domain name.

    We are actually kind of stuck with what to do now. We know we definitely want to transfer them to a new hosting company but like I said above, we can't even make a back up of the site to do a clean move. We did quote them a few months back about redoing their website (the bulk of the website was made several years ago) but they have so far resisted the rebuild.

    What would any of the Slashdot crowd do if they were in the same situation?
    Still fight with the hosting company to get the data?
    Push the client to get a new website built with new data?
    But then who would be responsible for the domain name if neither party says they are?

    1. Re:Root Access on Shared Hosting by xombo · · Score: 1

      If you own the trademark on the name used in the domain name, you might be able to get it back by going directly to ICANN with a trademark complaint.

      However, if you can't access your hosting company's files and your contract doesn't describe how they guarantee access to your data then (for static sites, i.e. no dynamic content or web applications) you can use the `wget` command available on GNU/Linux to crawl and download the entire site as it exists currently.

      This would not help you in recovering files that aren't linked directly from the public website nor recover defaced files.

      Never let your hosting company be the point of contact/owner for your domain registration.

  37. Inform them by Anonymous Coward · · Score: 0

    I know a lot of people here seems to think that you should do nothing. However, it's your data and they have a major hole in their security. You meed to tell them, and if they leave you unprotected then a simple better business report is enough to embarrass them. Just be sure that everything you say is 100% true, with no false accusations.

    1. Re:Inform them by jc42 · · Score: 1

      You meed to tell them, ...

      No, he doesn't. They (the hosting company) are the ones who have the needs here. Our informant's only actual "need" is to move to a host with better security. They have shown that they won't/can't provide it, so he should move on.

      Sadly (for the rest of their customers), US laws on the subject say that he'd be risking his time and money and possibly freedom if he were to report their incompetence to anyone. In the US, computer security has become a "shoot the messenger" arena, which unfortunately for all of us means that people who know about security problems generally keep quiet about the topic. Or they find ways to monetize their knowledge, though that tends to be rather risky in the long run.

      Sometimes the best approach is to just quietly walk away.

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
  38. Get a dedicated server by Anonymous Coward · · Score: 0

    I pay 12 EUR/month for my own dedicated server. Real hardware, not just a vm. Why would anybody even consider shared hosting for important things?

  39. You have a hard decision by Skapare · · Score: 1

    If you fail to report who this hoster is, you are covering up THEIR violations, and could be liable if someone who suffers damages as a result finds out you were covering it up.

    But the hateful and stupid people in the legal system could bring charges against YOU for "hacking" (even though it can be argued that all you were doing is verifying the security of YOUR OWN data ... and found the security to be defective).

    Does this company claim to be secure? If they do, they are COMMITTING FRAUD! Whistle blower time.

    Leave and do NOT tell them why. Just leave.

    Then at some later date establish anonymous identity and report them as insecure in a public forum. State in that public forum that if they wish to show the public that they are secure, then should make a post in their own blog (surely they have one) that denies the security risks and backs up that denial with a statement that authorizes you to publish your exploit without any risk.

    --
    now we need to go OSS in diesel cars
  40. Warn the Hosting Company by nsharifi · · Score: 1

    You can send them a warning email (anonymously if you prefer so) telling them you would announce the flaw publicly unless they fix urgently. Give them a decent deadline as well.

  41. None of which afects readdir or fopen by raymorris · · Score: 0

    Those are all good security practices, and all irrelevant to being able to write a script that reads files. exec() and passthru() certainly can be considered dangerous, but they not relevant yo the original post's "flaw". As to storing credit card numbers (unencrypted?) on a public web server, THAT would be the security error. You start with the assumption that a public web site is, well, publicly accessible, so you don't store credit card numbers there. You don't expect a shared host, or anyone else, to turn a web server into a secure vault for sensitive financial data. To even store CC details unencrypted violates PCI and therefore the merchant agreement.

  42. Complete and utter release! by Anonymous Coward · · Score: 0

    Complete and utter release!

    Let those bastards learn a lesson or two.

  43. STFU and keep it moving by Lord+Kano · · Score: 2

    Unless a good friend or business associate is using this insecure host, don't say a word.

    Take your business elsewhere. Tell them why you're leaving. Don't tell anyone else.

    You'd be exposing yourself to a lot of liability.

    LK

    --
    "Hi. This is my friend, Jack Shit, and you don't know him." - Lord Kano
    1. Re:STFU and keep it moving by Anonymous Coward · · Score: 0

      Keep on cowering, plebs. This is why "Computer Science" will never be engineering. About 80% of you are only concerned about your own asses.

    2. Re:STFU and keep it moving by Ash-Fox · · Score: 1

      Feel free to pay this guy for his time to do this, like engineers in engineering are.

      --
      Change is certain; progress is not obligatory.
    3. Re:STFU and keep it moving by Anonymous Coward · · Score: 0

      Seeing as my ass is the only one attached to me, yeah, that'd be about right...

    4. Re:STFU and keep it moving by Lord+Kano · · Score: 1

      You risk bankruptcy and lifetime financial ruination. The rest of us with expenses to cover and children to provide for will continue to live in the real world.

      LK

      --
      "Hi. This is my friend, Jack Shit, and you don't know him." - Lord Kano
  44. No problem! by Tablizer · · Score: 1

    I know a Nigerian prince who can help you out...

  45. I would post it by fa2k · · Score: 1

    If it was me, I'd anonymise it so it didn't refer to the particular web host and then post it somewhere, and link to it on some mailing list, with my real email. There is so much to lose by restricting information about security flaws. It makes it much easier for criminals and governments to have illegitimate access to many systems. Like many people said above, if you post it, it could possibly fuck up your life. I'd put up a hell of a fight (hopefully with the help of EFF et al) if they tried to convict me, but I don't have that much to lose by going to jail (no family,etc. and even if they didn't allow me to use a computer I could read and learn about things).

    1. Re:I would post it by fa2k · · Score: 1

      Actually, either that, or go in through Tor and someone else's login and install unicorns on all customer's pages. Then you'll be liable, but people are bound to notice and it will make the web a cornier place.

  46. Sounds like default on most shared hosts. by asdf7890 · · Score: 2

    I've not been on shared hosting for some time, but things always used to be this way. It is a combination of using default Apache/PHP/other configuration (as provided by the off-the-shelf hosting control panels), default file+directory permissions, and users not being educated to change the permissions on sensitive files (or better: being educated enough to know tweaking those perms is not enough so they should demand a more secure setup from their host).

    If I'm reading between the lines well enough, I suspect the problem is that /home/ is globally readable (which is pretty much standard) which allows you to see what users exist as they all have a directory under /home/. If this is the case then the fix they applied was likely to simply change the read permission flag on /home so that you can not list the contents, which isn't really a fix at all: if you know a username either because of foreknowledge or by finding a list of users from elsewhere (/etc/passwd for instance, which usually globally readable) then you can just list /home/ and blocking reading of /home won't change that. Turning off global execute permission on /home would stop you, but because of the way many shared hosts are configured that would also break Apache. Yoiu can test this if you report the issue and it gets fixed the same way: remember one of the usernames you can find now and after the fix see if you can still read /home//public_html or similar.

    If you host runs Apache as a single user then there is no way around this. You can mitigate it somewhat with carefully setting permissions on your own files and some obfuscation of file/directory names, but that isn't really a proper answer to the problem.

    Apache can be configured to run scripts (via suexec, phpsuexec, and so forth) as a the owner of the script which allows you to lock down configuration files and others that contain sensitive information so other uses can't read them (only set them to -rw------- and only you can read them, and that includes scripts if Apache runs them as you) - but most hosts don't do this (or they didn't last time I was working in that arena) as it is more hassle to setup and/or because it requires more resources. And by "more hassle to setup" I simply mean that it means more than just the out-of-the-box configuration: the "leading" standard control panel back than was cPanel (it may still be, I've not kept an eye on the market recently) and seeing posts like http://www.linuxgo.net/howto-enable-suphpphpsuexec-on-a-cpanel-server/ indicates that it still does not offer an easy (from the point-and-click PoV most cheap hosts need as they are rarely Linux/Apache/other experts) route to using the more secure arrangement. Most hosts will consider the extra admin time of setting up the more secure options to not be worth keeping (or gaining) your custom - 99%+ of their target market don't care (or don't know any better) and spending time to satisfy the other 1% or less is not worth it to them.

    tl;dr: You will probably find this is the standard setup on a great many shared hosts, possibly most, maybe even nearly all. To ensure you are getting a new host that does things more securely when you move, you need to ask some pre-sales questions that are fairly technical (in the sense that sales may not be able to help, unless the company is small enough that the sales and tech support teams are the same people).

    I would suggest instead using a VPS provider or self-hosting, that way there are no other direct users of the machine (be it real or virtual) to worry about, but unfortunately both of those options put more administrative load (and cost, unless you are paying far too much for shared hosting) on yourself and can be a minefield of its own (as with shared hosting avoid the cheapest options and ask searching question

  47. Noobs everywhere. by VortexCortex · · Score: 1

    chroot

  48. chmod all sites to 000 by xluap · · Score: 1

    Cd to the directory where all websites are. Then type:

    chmod -R 000

    That will learn them, and you deleted nothing.

  49. What is the host? by Anonymous Coward · · Score: 0

    I currently have shared hosting and I'd like to know if my host is affected. I'd rather not sit with this in the back of my mind.

  50. Viewers have to have IPv6 too by tepples · · Score: 1

    Wasn't the point of IPV6 to replace IPV4? Give the VPS an IPV6 address. (visibility problems are its problems)

    If you're expecting to host a web site on this sort of VPS, you won't be able to reach viewers behind IPv4-only home ISPs or using IPv4-only customer premise equipment. Or do you expect home IPv6 to be widely deployed before April 2014, when Windows XP reaches its announced end of life?

    1. Re:Viewers have to have IPv6 too by Meski · · Score: 1

      Hmm, do you think the actual date for XP EOL will make that much difference to those that are still using it now? If we started using IPV6 seriously, I think the IPV4 only clients might do something about moving to IPv6. Maybe...

    2. Re:Viewers have to have IPv6 too by tepples · · Score: 1

      Hmm, do you think the actual date for XP EOL will make that much difference to those that are still using it now?

      End of life means no more security patches distributed to the public, which means long-standing zero-day exploits for vulnerabilities that MIcrosoft is no longer willing to patch, which means warnings that "You will get owned if you connect your computer to the public Internet."

      If we started using IPV6 seriously

      How can this be done without ISP cooperation?

    3. Re:Viewers have to have IPv6 too by Anonymous Coward · · Score: 0

      Why do you think ISPs are not co-operating? Mine certainly appears to be. (IPV6 DNS is listed) It is not a big ISP by any means.

  51. One ISP vs. all ISPs by tepples · · Score: 1

    Why do you think ISPs are not co-operating? Mine certainly appears to be.

    It's not that one ISP needs to cooperate as much as that all relevant ISPs need to cooperate. If even one major home ISP doesn't offer IPv6, then I'm going to get complaints from frustrated viewers if I advertise an IPv6-only web site to the public.

  52. Can't just "image" a new server... by EDinNY · · Score: 1

    I had a similar problem with a site that rented servers. They imaged a new server with Centos for me. My investigation found that it had the same SSL private key pair...and other key pairs that other imaged machines on their system have! I fixed it myself, but I suspect that there are hundreds if not thousands that do not know this.

  53. Re:THAT IS F'ING STUPID!!! apk by Anonymous Coward · · Score: 0

    Great. He tells it how it is and you asswipes down mod him for it.

  54. Tell 12% of customers to take a hike by tepples · · Score: 1

    So you'd rather downgrade your security or pay for additional IP addersses to support XP users who can't bother to download firefox?

    Yes. Operators of hobby sites would rather downgrade their security, and operators of commercial sites would rather pay for additional IP addresses because customers who run Windows XP and can't bother to download Firefox or Chrome (or lack permission to install it) might spread the word to other people that the site is broken for them.

    Roughly 11 percent are using Internet Explorer 8* (source: caniuse.com), which is the latest version of IE for Windows XP, and about 1 percent are using IE versions. This far exceeds the usage share of Safari for Mac OS X and Safari for iOS combined. So if you were to block IE 6 through 8, you'd be telling one out of every eight viewers to patronize your competitor.

    * I'll admit that using IE < 9 as a proxy for IE on XP is imperfect. But I imagine that the usage share of IE 7 on Windows Vista, IE 8 on Windows Vista, and IE 8 on Windows 7 is minimal compared to IE on XP.