Slashdot Mirror


Ubuntu Linux Forums Hacked -- IP Address, Username, Email of 2M Accounts Compromised (betanews.com)

Canonical announced on Friday that Ubuntu forums have been hacked. The company adds that data such as IP address, username, and email address of over two million users have been compromised. BetaNews reports: Keep in mind, this does not mean that the operating system has experienced a vulnerability or weakness. The only thing affected are the online forums that people use to discuss the OS. Still, such a hack is embarrassing as it happened due to Canonical's failure to install a patch.In a blog post, Jane Silber, Chief Executive Officer, Canonical said, "after some initial investigation, we were able to confirm there had been an exposure of data and shut down the Forums as a precautionary measure. Deeper investigation revealed that there was a known SQL injection vulnerability in the Forumrunner add-on in the Forums which had not yet been patched."

35 of 85 comments (clear)

  1. online forums software can be hard to update by Joe_Dragon · · Score: 1

    online forums software can be hard to update if any mods / plug in's are in use.

    1. Re:online forums software can be hard to update by dgatwood · · Score: 2

      online forums software can be hard to update if any mods / plug in's are in use.

      The thing is, you shouldn't need to update them. The biggest problem on the Internet today, IMO, is that so much of our user-facing infrastructure software was written before modern database access techniques, such as the use of parameterized queries.

      In my personal life, the very first thing I do before I install any piece of client-facing software is audit the thing top to bottom, making sure every single SQL query uses parameterized queries, and rewriting it when I see them. If the software is too big for this to be practical, it doesn't get installed on my server—a lesson I learned the hard way after a PHPBB instance got vandalized anonymously. As a result, I now use a custom fork of JXBD that replaces every single query with parameterized versions (available on GitHub). It is small enough to be auditable, and as an added bonus, I was able to integrate it more cleanly with my existing login infrastructure.

      If everyone would adopt that same level of caution, all this ancient cruft would get cleaned up pretty quickly, and folks wouldn't need to update their bulletin boards every few weeks to fix the latest SQL injection attack, because the BBSs' SQL access code would be secure by design. I would encourage Ubuntu to similarly systematically rework everything they run on their websites and then contribute fixes upstream so that everybody benefits from their effort.

      --

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

    2. Re:online forums software can be hard to update by Qzukk · · Score: 1

      The real problem is that if you google for a tutorial, half the tutorials out there were written before modern database access techniques and nobody ever takes them down, so new programmers become "educated stupid" (to borrow from the timecube guy).

      --
      If I have been able to see further than others, it is because I bought a pair of binoculars.
    3. Re:online forums software can be hard to update by The-Ixian · · Score: 1

      I had to search the Internet to know what a parameterized query is.

      I am not a programmer but I have written some web applications in Perl.

      Turns out, I have been using parameterized queries all along for my inserts and updates.

      So, there you go, Internet documentation, at least for Perl's DBI appears to "educate smart"

      --
      My eyes reflect the stars and a smile lights up my face.
    4. Re:online forums software can be hard to update by dgatwood · · Score: 1

      Certainly, but when those bugs are discovered, they typically get patched automatically as part of your normal OS update schedule, not as a specific patch to the web frontend (which often gets heavily customized for a particular site, and thus are messier to upgrade). And those bugs are hopefully rare.

      As for Drupal, that's actually just another example of the problem I'm describing. A high-level CMS should not provide its own database drivers that construct SQL queries themselves. From a security perspective, IMO, that's really not significantly different from building SQL queries by string concatenation, except that the Drupal solution is cleaner and more general-purpose. It is still a user-facing web front end that is doing its own SQL construction when it could get that functionality almost for free by using code that the PHP core already provides.

      IMO, Drupal should be working with various groups that provide the drivers that are built into PHP already, adding features as needed to support their requirements, with the goal of eventually removing their own drivers entirely. Every time you reinvent the wheel, you significantly increase the risk of adding bugs. More code requires more maintainers, and there are only so many people who care about improving SQL drivers. Thus, the more SQL drivers available for each SQL implementation, the lower quality each one will be. And if every large web service provided its own driver, you'd have hundreds of these things, each with its own bugs.

      This really is one of those areas where less is more. I'll give Drupal a partial pass for now, because they were doing this back in a day when parameterized queries probably weren't supported in the PHP core. But in the long run, all that custom driver code needs to die and be replaced with one of the standard drivers. From a security perspective, that's the only approach that really makes sense.

      --

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

  2. Fantastic by subk · · Score: 2

    Love the metadata on the image they used in TFA.. "Hacker desk laptop hoodie hacking hooded". I guess a white dude with facial hair and a hoodie is automatically "hacking" if he has a laptop out.

    --
    Now, if you'll excuse me, I have backups to corrupt.
    1. Re:Fantastic by KiloByte · · Score: 1

      Crap, a hoodie! I knew I've forgotten something in order to be a real hacker!

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
    2. Re:Fantastic by antdude · · Score: 1

      They should had used Mr. Robot's Elliot Alderson then. :P

      --
      Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
  3. I'm going to sue ... by CaptainDork · · Score: 2

    ... those bastards.

    On a related note, my lawyer wants to know what the terms, "ubuntu," and "linux," and "forum," mean.

    Help here, please?

    --
    It little behooves the best of us to comment on the rest of us.
    1. Re:I'm going to sue ... by Errol+backfiring · · Score: 1

      "Ubuntu" means "I am because you are", "Linux" is an open source operating system and a "forum" is a place where people get together. In other words, this is all about sharing. In this case they shared passwords, even without trying to. Your point is ...?

      --
      Nae king! Nae laird! Nae yurrupiean pressedent! We willna be fooled again!
    2. Re:I'm going to sue ... by 110010001000 · · Score: 1

      Linux is a kernel. There are no people on a forum, just HTML.

    3. Re:I'm going to sue ... by dgatwood · · Score: 1

      So I am a kernel because you are HTML?

      --

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

    4. Re:I'm going to sue ... by dcollins117 · · Score: 4, Informative

      Ubuntu is an ancient african word meaning "I couldn't figure out how install Debian."

      I know it's old, but that's one of my favorite jokes.

  4. I am pretty happy with this by HBI · · Score: 1

    I read TFA and it seems like they had some good practices in place. True, there was some contiguous PII released that could be used, along with other data, to identify someone. That said, they didn't lose any passwords.

    Good on them. Sure, getting hit sucks, but this could have been a lot worse.

    --
    HBI's Law: Frequency of calling others Nazis is directly correlated with the likelihood of the accuser being Communist.
  5. Re:Too Bad They Used Linux by LichtSpektren · · Score: 5, Informative

    The vulnerability was an SQL injection. The operating system had nothing to do with it.

  6. Re:Again? by NotInHere · · Score: 1

    But this time, the attackers haven't got any passwords. From the announcement:

    No active passwords were accessed; the passwords stored in this table were random strings as the Ubuntu Forums rely on Ubuntu Single Sign On for logins.

  7. hackme.houghi.org by houghi · · Score: 1

    I hope they were not able to link my domain http://hackme.houghi.org/ to my IP address, because that would mean I am extremely hackable.

    --
    Don't fight for your country, if your country does not fight for you.
    1. Re:hackme.houghi.org by KiloByte · · Score: 1

      Leaked IP address, username and email address. Hmm... Let's take a look at any Debian bug report submitted using reportbug:

      From kilobyte@angband.pl Wed Jul 13 16:11:52 2016
      Received: (at submit) by bugs.debian.org; 13 Jul 2016 16:11:52 +0000
      [...]
      Received: from tartarus.angband.pl ([2a03:9300:10::8])
              by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
              (Exim 4.84_2)
              (envelope-from <kilobyte@angband.pl>)
              id 1bNMlM-0000VI-F4
              for submit@bugs.debian.org; Wed, 13 Jul 2016 16:11:52 +0000
      Received: from umbar.angband.pl ([2001:6a0:118::6])
              by tartarus.angband.pl with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
              (Exim 4.84_2)
              (envelope-from <kilobyte@angband.pl>)
              id 1bNMlF-0007IU-CZ; Wed, 13 Jul 2016 18:11:47 +0200
      Received: from kilobyte by umbar.angband.pl with local (Exim 4.87)
              (envelope-from <kilobyte@angband.pl>)
              id 1bNMlF-0003mb-0h; Wed, 13 Jul 2016 18:11:45 +0200

      And no, censoring Received: headers in mboxes on the web view wouldn't solve problems, as anyone can subscribe to debian-bugs-dist@lists.debian.org and receive all BTS mails as a mailing list.

      Then let's take a look at LKML, especially patches submitted via git send-email.

      Hmm... perhaps there's nothing that special in this Ubuntu leak?

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
  8. Re:Yeah right by sgage · · Score: 1

    Paul Thurrott, is that you?

  9. Should have used open source! by chuckugly · · Score: 1

    They should have hosted this stuff on open source software - it's super secure

    1. Re:Should have used open source! by LichtSpektren · · Score: 1

      They should have hosted this stuff on open source software - it's super secure

      This isn't zero-day attack. Whoever was the sysadmin for the Ubuntu forums didn't apply a security patch. The same thing can happen if you don't patch a Microsoft SQL Server.

  10. Re:Too Bad They Used Linux by Anonymous Coward · · Score: 1, Funny

    They should have used SQL Server instead of MySQL.

  11. Re:Too Bad They Used Linux by hideki.adam · · Score: 1

    It has nothing to do with that either.

    It's to do with inputs not being sanitized AGAIN at a guess. wouldn't matter which SQL it was if the code was written by a crack addicted monkey with no concept of security (which apparently it was)

  12. SSO affected too? by t4eXanadu · · Score: 1

    I log in using SSO. Has my account info been hacked too? If so, that's my main Google account :-(. Time to change some passwords, methinks.

  13. Blame Internet Brands by Lirodon · · Score: 1

    Both the recent VerticalScope hack and this have one thing in common: vBulletin. It is a pile of junk, and especially since it was acquired by a firm known as Internet Brands. It is awful software, and a forum about an open source product which uses proprietary components is ethically unsound.

  14. Re:Too Bad They Used Linux by CajunArson · · Score: 1

    Yeah, if that level of granularity was used every time there was a security vulnerability related to software that runs on Windows then it might be relevant.

    Not to mention the fact that Ubuntu isn't linux: It's a linux distribution that expressly provides an entire software stack, including the software that got hacked here.

    --
    AntiFA: An abbreviation for Anti First Amendment.
  15. OpenID... by ADRA · · Score: 1

    If only we had common uses of OpenID, compromising services would have essentially zero material benefit for the perpetrators...

    --
    Bye!
  16. Re:Too Bad They Used Linux by perpenso · · Score: 2, Informative

    Yeah, if that level of granularity was used every time there was a security vulnerability related to software that runs on Windows then it might be relevant.

    Not to mention the fact that Ubuntu isn't linux: It's a linux distribution that expressly provides an entire software stack, including the software that got hacked here.

    Don't be obtuse. "Linux" is most commonly used to refer to the complete server or desktop environment. When Linux fans are championing and encouraging people to switch their server or desktop to Linux they are referring to the entire environment not merely the kernel. Just as when Windows gets hacked and its something in the "software stack" and not the kernel itself, often something from a 3rd party not Microsoft. Matter of fact when the only "Linux" thing in an environment is the Linux kernel we tend not to call it "Linux" at all, for example Android. So don't start with this "Linux" only refers to the kernel nonsense, that is not how the word is used, and that includes within the Linux community.

  17. Re:Too Bad They Used Linux by AlphaBro · · Score: 3, Insightful

    The right sentiment, but not entirely true, actually. Some SQL injection bugs are only exploitable when a specific dialect of SQL is used under the hood. Some support query stacking (MSSQL), while others don't by default. Some allow for easy creation of files on the server's filesystem (MySQL), some don't. It's not exactly the norm, but also not uncommon for the behavior of a SQL dialect to mitigate a vulnerability. Not that one should rely on such behaviors for security, but it can assist. That's not to say this is a case where a different version of SQL would have helped, of course. I haven't looked at the details.

  18. Re:Too Bad They Used Linux by LichtSpektren · · Score: 1

    Yeah, if that level of granularity was used every time there was a security vulnerability related to software that runs on Windows then it might be relevant.

    Not to mention the fact that Ubuntu isn't linux: It's a linux distribution that expressly provides an entire software stack, including the software that got hacked here.

    SQL injections have nothing to do with the platform you're running them on. It's a result of sloppy programming. The same thing can happen on just about every OS and every SQL daemon.

    You might have a point about Windows being unfairly maligned if it weren't for e.g. Internet Explorer being so thoroughly integrated into the OS that its vulnerabilities in the browser can be exploited even if the user doesn't use it.

  19. Re:Too Bad They Used Linux by LichtSpektren · · Score: 1

    Ah yes, here comes the Linux apologists trying to deflect any blame from Teh Liuxxxx!!!!!!

    That's a fair point, since Microsoft's products are totally immune to SQL injection -- oh wait, no they're not, you knob.

  20. Sigh by nnull · · Score: 1

    Years later, we still deal with SQL injections when it was supposed to be "resolved" by now.

  21. Is it the same as askubuntu.com? by meadow · · Score: 1

    This is not the same forum as askubuntu.com?

  22. Re:Too Bad They Used Linux by Bengie · · Score: 2

    If you think sanitizing inputs protects against SQL injection, I have a bridge to sell you. You need to parameterize/prepare your inputs, which separates your commands from your data. If your inputs cannot change your commands, then all it well.

  23. Re:Too Bad They Used Linux by Bengie · · Score: 1

    Nice link of how not to use MS SQL correctly. General rule of thumb, you can't fix stupid. They will always find a away to use tool incorrectly.