Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Ubuntu Servers Hacked

Posted by CmdrTaco on Wed Aug 15, 2007 09:35 AM
from the zomg-alert-the-media dept.
An anonymous reader noted that "Ubuntu had to shutdown 5 of 8 production servers that are sponsored by Canonical, when they started attacking other systems. Canonical blames the community, saying they were community hosted, and were poorly maintained. However, kernel upgrades couldn't be done because of poor backwards compatibility with the very hardware that Canonical had sponsored! While people point fingers at each other it is pretty clear that both sides are equally to blame, the community administrators for practicing bad security practices, such as using unencrypted FTP transfers with accounts, not properly maintaining the system. However Canonical should have been well aware of what they are hosting. The question remains, if any of the files distributed to users have been compromised. A major blow for Canonical though who are attempting to enter the business market with Ubuntu Server."
+ -
story

Related Stories

[+] Linux: Canonical Begins To Open-Source Launchpad 65 comments
kripkenstein writes "Canonical, the corporation behind Ubuntu, has begun to open-source Launchpad. Canonical has been criticized for not doing so earlier. The first component of Launchpad to be open-sourced is Storm, described as an 'object-relational mapper for Python.' A tutorial with many examples is available. The license for Storm is the LGPL 2.1. Inspection of the source files shows they contain the common phrase, 'either version 2.1 of the License, or (at your option) any later version,' meaning that Storm is LGPLv3-compatible."
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by Anonymous Coward on Wednesday August 15 2007, @09:38AM (#20236491)
    Spambuntu
  • Hacked... (Score:5, Funny)

    by andrewd18 (989408) on Wednesday August 15 2007, @09:40AM (#20236521)
    You keep using that word. I do not think it means what you think it means.
    • Re:Hacked... (Score:5, Insightful)

      by Lord Ender (156273) on Wednesday August 15 2007, @11:27AM (#20238003) Homepage
      Language changes with time. This particular word has changed meanings (or at least got a new meaning) in the English language. You don't have to like that fact, but bitching on slashdot isn't going to change that fact.

      People in the industry are aware that "hack" used to mean "cleverly manipulate a device into doing something its designers did not intend." People also know that "wherefor" used to mean "why." In both cases, the original definitions no longer apply.

      Language changes. You'll get over it. There are more important battles to fight.
        • Re: (Score:3, Insightful)

          No. I'm saying that today, "hack" ACTUALLY MEANS "to bypass digital security." Insisting we use the older definition of the word because we are not "common idiots" is analogous to an English teachers' website requiring all posts be made in Olde English. Or worse, Middle English. I don't see you advocating we all write like Chaucer so that we can differentiate ourselves from "common idiots."
      • Re:Idiot (Score:4, Funny)

        by Anonymous Coward on Wednesday August 15 2007, @10:24AM (#20237187)

        And to think, the only reason I post here is so I can be taken seriously by the people who really count.

        Another dream shattered!

  • by ChazeFroy (51595) on Wednesday August 15 2007, @09:40AM (#20236523) Homepage
    This isn't the only Linux distro security breach being disclosed recently. One of Gentoo's web applications was compromised and they are investigating it:

    http://bugs.gentoo.org/show_bug.cgi?id=187971 [gentoo.org]
  • Don't worry (Score:4, Funny)

    by just_another_sean (919159) on Wednesday August 15 2007, @09:42AM (#20236551) Homepage Journal
    This is just a transitional feature designed to make Windows users more comfortable using Ubuntu.
  • by QuantumRiff (120817) on Wednesday August 15 2007, @09:42AM (#20236563)
    Since this is a community based, open source project, I would love in the near future (after the investigation and cleanup are done) to read about how they determined that the machines were compromised, what the attackers did, and more importantly, how Ubuntu cleaned them up...

    This could really help the community as a whole, and I know I would enjoy reading it..
    • It's important to note that the servers may not have been actually rooted. There is a large number of ssh dictionary breakin attempts on every machine I administrate on several completely different ip blocks. The worst hit is usually my personal server that tended to get hit with several thousand attempts per hour(enough that legitimate logins were a problem) before I installed countermeasures. Even now the countermeasures are locking out 5 to 8 hosts per day.

      They have managed to get user accounts on a few occasions and most of the time they never even attempt to gain root. They just start scanning for new hosts.

      I'm now running a python script called DenyHosts [howtoforge.com] to find and lockout dictionary attacks. "apt-get install denyhosts" for debian users. Even on much more liberal settings than the default it's lowered my cpu load considerably and locks out attacks in the first minute rather than the hour it would otherwise take me to notice.

      • by Frosty Piss (770223) on Wednesday August 15 2007, @10:24AM (#20237177)

        I don't think documenting the discovery process is going to do anyone any favors.

        Isn't that part of the Linux/Microsoft Double Standard? Now, if Microsoft this type of issue and had been less than totally open about the cause and methods, you know as well as I do that there would be a high-pitched wailing from the Slashdot World.

        • Re: (Score:3, Insightful)

          Isn't that part of the Linux/Microsoft Double Standard? Now, if Microsoft this type of issue and had been less than totally open about the cause and methods, you know as well as I do that there would be a high-pitched wailing from the Slashdot World.

          I'm not so sure this is any kind of double standard. The last time Microsoft was compromised there wasn't a "high-pitched wailing from the Slashdot World" demanding details. Nobody really expected to hear any details. And we didn't get any. I'm sure there were some who would have been interested in them... and others who didn't care. And this is the situation we're in now.

          Some people care about these details and some don't. The parent apparently thinks there's nothing to learn. I disagree. There mi

        • Re: (Score:3, Insightful)

          > you know as well as I do that there would be a high-pitched wailing from the Slashdot World.

          You mean the high-pitched wailing from the Slashdot World actually stops at some point?
      • by discord5 (798235) on Wednesday August 15 2007, @10:40AM (#20237429)

        Unless we're going to be composing a Linux Administration HOWTO: Best of Bloopers.

        I could fill about a 100 pages on my own from stupid things I've done and stupid things I've seen coworkers/customers do.

        The funniest one is still one where one of my coworkers nuked /lib on a fairly important machine unintentionally because he just loves his spacebar:

        rm -f /home/user/project /lib/*

        Upon which of course by he proceeded to ask everyone "Hey, suppose I deleted something like /lib, is there a way to get it back?", followed by 10 people laughing, followed by a minute of silence as soon as we realized what machine he just did that on. He never got a root password for an important server after that incident. In hindsight, that was a funny incident, and a valuable lesson to us all (we all became paranoid of rereading what we just typed).

        Yes, we had backups... Yes, tape drives are still slow

        • Re: (Score:3, Informative)

          Why the hell did he have root anyway? Only people with /need/ should have root, and then they should just use sudo anyway.

          Your server was poorly administered.
        • by mickwd (196449) on Wednesday August 15 2007, @12:52PM (#20239069)
          "The funniest one is still one where one of my coworkers nuked /lib on a fairly important machine unintentionally"

          "He never got a root password for an important server after that incident. In hindsight, that was a funny incident, and a valuable lesson to us all (we all became paranoid of rereading what we just typed)."

          I hope the decision to deny him root access was based on more than that one unintentional incident. It could have happened to any of you. After all, why else would it be a "valuable lesson" to you ? Isn't the person who made that mistake the least likely to make it again ? And you did also say you "could fill about a 100 pages on my own from stupid things I've done".
        • by houghi (78078) on Wednesday August 15 2007, @01:59PM (#20239991) Homepage
          That is why I use `rm directory -rf` instead of `rm -rf directory`. It saved me a few times already.
  • uh ho (Score:4, Funny)

    by FudRucker (866063) on Wednesday August 15 2007, @09:45AM (#20236603)
    Ubuntu made a boobootu
  • The real test (Score:5, Interesting)

    by ZachPruckowski (918562) <zachary.pruckowski@gmail.com> on Wednesday August 15 2007, @09:46AM (#20236611)
    The real test is how they react to this, and how they clean up their mess. Everyone screws up, but what separates good people from bad is how they react to problems and screw-ups.

    It sounds like that part at least is still underway, with a meeting (FTA) in "#ubuntu-locoteams on Tuesday, August 14, 2007 at 2:00PM UTC". Seeing as that's yesterday, we should probably reserve judgement a day or two to see how they respond.
  • sftp (Score:4, Insightful)

    by SolusSD (680489) on Wednesday August 15 2007, @09:48AM (#20236639) Homepage
    it amazes me that people even use the plain old ftp protocol for anything important. sftp has been around forever.
    • Re:sftp (Score:5, Interesting)

      by Anonymous Coward on Wednesday August 15 2007, @10:29AM (#20237263)
      sftp and scp STILL do not allow anything like a REGET operations. Whenever anyone mentions this they got shot down in flames.
  • Not like Debian (Score:5, Informative)

    by Bruce Perens (3872) * <[moc.snerep] [ta] [ecurb]> on Wednesday August 15 2007, @09:51AM (#20236675) Homepage Journal
    This happpened to Debian once. I remember the very careful quality of the notifications, and the forensic analysis, and the fact that it was caught quickly and there thus wasn't much damage. It showed that a volunteer community can be right on top of this sort of problem with as much or more professionality than any paid staff. It's unfortunate that the configuration of Ubuntu and its loco teams has them pointing fingers at each other. And what about those systems that can't be upgraded? Are they, per chance, using proprietary network drivers? If so, well, folks should know better.

    Bruce

  • how ironic (Score:4, Insightful)

    by Anonymous Coward on Wednesday August 15 2007, @09:52AM (#20236681)
    had these been windows servers we would have heard cries of a flaky operating system being the problem. in this case, since they're linux servers, we hear that the fault lays on the administrators of the boxen for not hardening the systems?
  • It's like NT all over again [slashdot.org]. God only knows what bad things they can do with that.

  • by HerculesMO (693085) on Wednesday August 15 2007, @10:04AM (#20236869)
    Linux systems are only as secure as the admins who manage them.

    And for bonus "hate" points, even MS servers can be secure if they are admined probably. Don't worry though, I have my flame suit on. :)
  • Some clarification (Score:5, Informative)

    by joe_cot (1011355) on Wednesday August 15 2007, @10:05AM (#20236881) Homepage
    As one of the people affected by this issue, I'd like to give some clarification on this. Firstly, the servers affected were Local Community (LoCo) Team servers, of which I maintain ubuntu-us.org While I'm personally annoyed that the site is down (given it was on the front page of Digg last week), these servers are far from "production" servers; they host LoCo team resources and websites. I'd like to know what "compromised" software would have been downloaded by users, given that these servers did not host user repositories, and for the most part hosted news pages, blogs, and localized documentation. The issues were twofold: the servers were not upgraded past breezy, leaving them open to vulnerabilities after Breezy's EOL; LoCo team users were running an array of web applications (Drupal, Wordpress, Mediawiki, etc), but not updating their systems with new security patches. Top that with ftp logins and no ssh keys, and you have yourself a problem. Canonical is moving the installs to their facilities, retrieving the data, and building the installs (including the aformentioned web applications) from scratch, assuming that everything has been compromised. Hopefully in the next few days this will all be over.
  • It happens (Score:5, Informative)

    by popeydotcom (114724) on Wednesday August 15 2007, @10:19AM (#20237091) Homepage
    Firstly these servers were not "Canonical Hosted" as the anonymous readers suggests. They were hosted in a DC which Canonical paid for, but the community maintained them. So Canonical system admins had very little to do with them.

    My site - http://screencasts.ubuntu.com [ubuntu.com] was one of them that was affected, so I was of course concerned that there might be some data loss. I only use SCP to copy files up to the site, and logon with my ssh key, so don't think that all Ubuntu community members are using FTP, weak passwords and really old software, it only takes _one_ though to naff it up for everyone else.

    The Canonical system admins (on top of the work they already do) migrated the services from those servers to their own DC very quickly. My site went down on Tuesday and was back by Friday. For free hosting and oodles of bandwidth, I'm happy with that downtime - for a community site.
  • Soviet? (Score:5, Funny)

    by Jugalator (259273) on Wednesday August 15 2007, @10:23AM (#20237161) Journal
    "Ubuntu had to shutdown 5 of 8 production servers that are sponsored by Canonical, when they started attacking other systems."

    In Soviet Russia, server attack you?
  • by bealzabobs_youruncle (971430) on Wednesday August 15 2007, @10:35AM (#20237365)
    to replace the horrid orange and brown default themes.

    I used to be an ardent Ubuntu supporter but since Dapper and the wider adoption there has been too much emphasis on making things more Windows-like and less on best practices throughout the Ubuntu community (note I said the community, not the developers). Stuff like Automatix and the general feeling that any script that or line of code that is posted on the Ubuntu forums is guaranteed safe has led to lax standards. I've brought this up a couple times and any valid discussion quickly descends into a flame-fest and the mods (rightly so) lock it down.

    The Ubuntu community has bent over backwards so far to prove they can include everyone they lost site of many of the things that make Linux a better choice for many people; time to get back to fundamentals and best practices, the sooner the better. Stop worrying about besting Windows at every silly thing (ahem, desktop transparency), stop trying to include aunt Tilly (who is never going to "switch" anyway) and remember that some things take more effort but are often worth it.

        • by nuzak (959558) on Wednesday August 15 2007, @01:10PM (#20239311) Journal
          Do you have a specific complaint, or is just it that the uncool kids are getting into the clubhouse? If you think the interface has gotten oversimplified, switch to kubuntu.
          • See, this is what I'm talking about, you automatically go on defensive if anyone has any honest criticism of Ubuntu. I think I stated some of my issues pretty clearly, but Ubuntu supporters now have thinner skin than Apple users in the 90s. I'm a huge fan of a simple and clean Gnome interface, but I'm against trying to bury the CLI and refusing to learn how to do things properly. I'm against mindlessly installing stuff via Automatix (especially close source and binary blobs) without honestly understanding w
  • by Pecisk (688001) on Wednesday August 15 2007, @10:41AM (#20237445)
    It is just became obvious recently that open source publishes their breaks as they are, because they can't actually hide anything. I bet breaks in coorporation servers are so frequent that is common practise to be silent about them.

    In mean time, there is a tradeoff between having one, LTS release which has rather old kernel with old drivers and new one, which has 18 month support but has everything up to date, including also unstable stuff of course. But in fact it doesn't even mather, because admin is who in charge.

    So Linux is more secure than Windows? You bet. Then why such break-ins happens? Because of lazy or hobbist admins who have no time or maybe not enough knowledge to lock down server to protect it from attacks. To lock down such Windows server/workstation is much harder because of "black box" mentality such software has. But it is also possible.

    So in resume - those are admins who are gulty persons here. Ubuntu Dapper and Feisty are secure enough releases to keep them locked down without causing trouble for services. And ohh, be careful to which persons you give access to and have good password management system.
  • by AndyCR (1091663) on Wednesday August 15 2007, @11:09AM (#20237757) Homepage
    Thousands of Windows machines get exploited every day, and there's barely a word said about it. 3 Linux machines are exploited, and it's "OH MY GOSH!!111". I don't know whether this is a good thing, a bad thing, or, my best guess, both.
    • Re:sorry... (Score:5, Insightful)

      by ZachPruckowski (918562) <zachary.pruckowski@gmail.com> on Wednesday August 15 2007, @09:56AM (#20236749)
      Oh, from the sounds of it, all that you say is well-warranted. They were running a version of Ubuntu from October of 2005, which was obsoleted in April of this year, and they weren't using encryption. This is security 101, and they didn't do it. This does sound a lot more like an administration problem than a software problem.

      Ultimately, I'd say that if this does wind up being an admin problem, then Ubuntu Server will not suffer. The bottom line is that a poorly administered server is a hacker target regardless of the OS.
    • Re: (Score:3, Informative)

      Heh, compatability with new hardware is part of the reason i started using Gentoo... even though Ubuntu uses new software, i've always had at least some problems getting either Broadcom or Nvidia network-cards working on generic-distro kernels. Were they using custom-made kernels, or the stock one?
          • You can back up your policy in the packet filter.

            In iptables, look up osf and --genre.

            For pf, look up osfp.

              • Re: (Score:3, Insightful)

                by Anonymous Coward
                What you are is a paranoid narcissist who is too immature to hold a rational discussion.

                Here we are, talking about a serious security breach at a prominent Linux distributor, and all you can muster is a hissy fit because not enough people are blaming Microsoft for it.

                It's not clever. It's certainly not constructive. Worst of all, it reflects poorly on the community you claim to serve.

                You're the rhetorical equivalent of a brick-throwing protester at a WTO meeting, foolishly believing that vandalism and insul
                • Re: (Score:3, Interesting)

                  At least he had the courage to post under his own username.

                  How are those peaceful protests working out for you anyway? Weed is still illegal, the war in iraq went on, and the disparity between the rich and poor is stronger than ever. If one person throws a brick, hes a vandal, if a hundred thousand do it, its a revolution. Thats actually my main problem with protests, their peaceful nature. Its almost like the people just want a shell of a protest to look "cool" while in reality risking nothing of substanc
    • How right you are! (Score:5, Insightful)

      by spun (1352) <loverevolutionary&yahoo,com> on Wednesday August 15 2007, @11:51AM (#20238291) Journal
      I've never seen a paid individual make a stupid mistake like this. The captain of the Exxon Valdez was a volunteer with the Red Cross on a humanitarian mission. The Challenger and Columbia were piloted by kids from space camp. The original Tacoma Narrows bridge was designed by volunteers with Habitat for Humanity.

      On the other hand, we all know that segregation & apartheid were both ended by paid professionals. If you want something big done right, only paid professionals can do it.