Slashdot Mirror


Exploit Found in Seti@Home

Jamie noted that an Exploit was found in Seti@Home and there is code exploiting the hole actually running about in the wild. Patches are available for those of you not interested in running a public warez server or DoS client ;)

27 of 266 comments (clear)

  1. Aliens exploiting? by Anonymous Coward · · Score: 5, Funny

    I wonder whether aliens are exploiting this to control us /me screams and runs in fear.

    1. Re:Aliens exploiting? by Waffle+Iron · · Score: 5, Funny
      I wonder whether aliens are exploiting this to control us /me screams and runs in fear.

      Of course they are exploiting SETI. They obviously hack in to all systems that find positive results and surreptitiously replace them with random noise.

      They are covering their tracks. How else could you explain this suspicious lack of alien signal evidence after all of these years of searching? This is a coverup of galactic proportions.

    2. Re:Aliens exploiting? by JudgeFurious · · Score: 4, Funny

      A little aluminum foil over the ports in your computer will take care of this just as easily and with less effort then downloading some suspect "patch" that's probably nothing more than a way for "them" to get control of your box and then eventually of course you.

      --
      Appended to the end of comments you post. 120 chars.
    3. Re:Aliens exploiting? by The+Monster · · Score: 4, Funny
      Naah. When we finally decode data from an ETI site, it will probably be something like
      • 100% Guaranteed Stamen Enhancement - not only have users reported gains in length and girth of up to 50% or more, but enhanced spectral response as well - have the iridiescence that impresses females....
      • Larvae gone wild - See these hot young females in action - catch them quick before they pupate....
      • I am writing to you on a matter of utmost importance, which must be treated with the highest delicacy. My name is T'Jek, senior wife of the recently deceased Ska-al-ath, Subprefect for Industrial Development for Remnalon. Prior to his death, he was able to set aside in a special account the sum of 5 trillion Kalkaks, but due to banking regulations it will be necessary for me to move the money to an account in a different Prefecture in order to access it...
      • Please forward this message to as many sentient entities as possible. As G'iarc D'log-rerh-s lies dying of the incurable Andorian Wasting Disease, he has but one wish - to set the record for having a message forwarded to the highest number of sentient beings in the known galaxy....
      • Check out network channel 904753cx for a 'buffer overrun'
      • In Teivos Empire - your computational device exploits h4x0r5!
      • FR157 P057!
      --

      [100% ISO 646 Compliant]
      SVM, ERGO MONSTRO.

  2. Linux/Solaris client is there, if you dig around by Saint+Aardvark · · Score: 4, Informative
    Looks like the links haven't shown up yet on the Unix download page, but the 3.08 client is available if you dig around a bit:

    ftp://alien.ssl.berkeley.edu/pub/setiathome-3.08.i 686-pc-linux-gnu.tar

    ftp://alien.ssl.berkeley.edu/pub/setiathome-3.08.s parc-sun-solaris2.6.tar

    Can't seem to find 'em on wcarchive.cdrom.com, the other mirror site -- anyone got a link?

  3. Too late... by Anonymous Coward · · Score: 5, Funny

    But I already run a public warez server!

  4. Everyone knows its... by Chris_Stankowitz · · Score: 5, Funny

    the Aliens doing this. Not to worry though. I will use my I-Book to hack into their systems and upload a virus.

  5. Re:Firings... by fadeaway · · Score: 5, Insightful

    Why is there always an assumption that exploits=firings? If it was intentionally added, yes, but if it's an honest mistake why do heads have to roll?

    Coders make mistakes. That's why they put a backspace key on keyboards.

  6. In the wild or not? by Theodore+Logan · · Score: 4, Informative
    The site is Slashdotted so I can't get through, but the write up contradicts Seti's official version which states that
    • There was a potential buffer overrun in the networking code of the client that is fixed with version 3.08. Note that to exploit this vulnerability, a potential attacker would have to trick the client into contacting a fake server rather than the actual SETI@home server. To our knowledge,
    • no SETI@home client has ever been attacked in this manner.
    Whereas Jamie claims that
    • an Exploit [sic.] was found in Seti@Home and
    • there is code exploiting the hole actually running about in the wild.
    Can anybody help clear this up until the linked site get back online?
    --

    "If you think education is expensive, try ignorance" - Derek Bok

    1. Re:In the wild or not? by brundlefly · · Score: 5, Funny

      Where is the wild? Anyone have the address?

      I'd like to run about there also.

      TIA!

    2. Re:In the wild or not? by diesel_jackass · · Score: 4, Funny

      i don't know where it is but according to the late night commercials, girls go there to get videotaped by snoop dogg. it sure looks like a fun place though.

  7. Buffer Overflow stupidity by jtdubs · · Score: 4, Insightful

    Well, let's see here. I'm going to be reading data from an untrusted source. So, I feel it's safe to assume that this data will be no longer than, oh, let's say 100 characters. Yeah, 100. I mean, who would send more than that. That'd be crazy!

    That'd be about as crazy as wasting cycles on checking the length of my input. Or, dynamically allocating buffers. Or, using safe, bounded copy/read instructions. What kind of wacko would do that! Hah!

    Justin Dubs

  8. Re:Firings... by Anonymous Coward · · Score: 5, Funny
    >coders make mistakes. That's why they put a backspace key on keyboards.


    No, the backspace is there for the users. We allow it on our keyboards because it is cheaper than having separate keyboards for programmers!

  9. This IS being used! by Adler · · Score: 5, Funny

    Look! Their site is down! Someone must have used this exploit to launch a Dos on them! Oh wait... damn you slashdot!

    --

    Everybody denies I am a genius--but nobody ever called me one!

  10. Making it run a warez server would mean by noogle · · Score: 5, Funny

    at least its doing something useful... rather than just pointlessly scanning some random data with no hope of finding anything.

    --

    I'm smarter than the average bear.

  11. Mirror (no pics or downloads) by Theodore+Logan · · Score: 4, Informative

    over here.

    --

    "If you think education is expensive, try ignorance" - Derek Bok

  12. Aliens want warez too by LemurShop · · Score: 5, Funny

    running winxp on the spaceship woo -.-

    --

    This sig was cut off by the sla
  13. Of Course It's Slashdotted by 1alpha7 · · Score: 5, Informative
    Affected versions

    Confirmed information leaking:
    This issue affects all clients.

    Confirmed remote exploitable:
    setiathome-3.03.i386-pc-linux-gnu-gnulibc2.1
    setiathome-3.03.i686-pc-linux-gnu-gnulibc2.1
    setiathome-3.03.i386-pc-linux-gnulibc1-static
    setiathome-3.03.i686-pc-linux-gnulibc1-static
    setiathome-3.03.i386-winnt-cmdline.exe
    i386-unknown-freebsd2.2.8 (Special thanks to Niels Heinen)
    SETI@home.exe (v3.07 Screensaver)

    Confirmed DoS-able using buffer overflow:
    The main seti@home server at shserver2.ssl.berkeley.edu

    Presumed vulnerable to buffer overflow:
    All other clients.

    PATCHED VERSION

    Are available

    BACKGROUND INFORMATION

    From "http://setiathome.berkeley.edu/" :
    "SETI@home is a scientific experiment that uses Internet-connected computers in the Search for Extraterrestrial Intelligence (SETI). You can participate by running a free program that downloads and analyzes radio telescope data. "
    "The SETI@home program is a special kind of screensaver. Like other screensavers it starts up when you leave your computer unattended, and it shuts down as soon as you return to work. What it does in the interim is unique. While you are getting coffee, or having lunch or sleeping, your computer will be helping the Search for Extraterrestrial Intelligence by analyzing data specially captured by the world's largest radio telescope. "
    "The client/screensaver is available for download only from this web page - we do not support SETI@home software obtained elsewhere. This software will upload and download data only from our data server here at Berkeley. The data server doesn't download any executable code to your computer. All in all, the screensaver is much safer than the browser you're running right now!"

    There are currently over four million registered users of seti@home. Over half a million of these users are "active"; they have returned at least one result within the last four weeks.

    THE VULNERABILITIES

    The seti@home clients use the HTTP protocol to download new workunits, user information and to register new users. The implementation leaves two security vulnerabilities:

    1) All information is send in plaintext across the network. This information includes the processor type and the operating system of the machine seti@home is running on.

    2) There is a bufferoverflow in the server responds handler. Sending an overly large string followed by a newline ('\n') character to the client will trigger this overflow. This has been tested with various versions of the client. All versions are presumed to have this flaw in some form.

    3) A similar buffer overflow seems to affect the main seti@home server at shserver2.ssl.berkeley.edu. It closes the connection after receiving a too large string of bytes followed by a '\n'.

    THE TECHNIQUE

    1) Sniffing the information exposed by the seti@home client is trivial and very usefull to a malicious person planning an attack on a network. A passive scan of machines on a network can be made using any packetsniffer to grab the information from the network.

    2) All tested clients have similar buffer overflows, which allowed setting eip to an arbitrairy value which can lead to arbitrairy code execution. An attacker would have to reroute the connection the client tries to make to the seti@home webserver to a machine he or she controls. This can be done using various widely available spoofing tools. Seti@home also has the ability to use a HTTP-proxy, an attacker could also use the machine the PROXY runs on as a base for this attack. Routers can also be used as a base for this attack.

    3) Exploitation of the bug in the server

    --
    Live to be Moderated
  14. Whew! by Faust7 · · Score: 4, Funny

    Good thing the 20 computers I'm running it on aren't even mine!

    1. Re:Whew! by LucidityZero · · Score: 4, Funny

      I've found that high-priority, production government web servers process my SETI data much quicker than at home!

      --
      Sig.i>
  15. Re:Is my box owned? by Anonymous Coward · · Score: 5, Funny

    I went in and took a look around your system. All the files seem fine. I guess you're okay.

  16. Re:Time to retire C by Abcd1234 · · Score: 4, Insightful

    BTW, your sig makes perfect sense if you understand that, in C, straight numeric constants are assumed to be integers, and hence 1/2 is equal to zero. The obvious fix is to change that to 1.0/2.0. Gotta love it when people complain about non-issues...

    Incidentally, Java has similar rules, it's just more verbose when warning about type mismatches and loss of precision.

  17. timeline by Gaccm · · Score: 4, Informative
    checkout the "Timeline" in the linked article (I'll repeat it here in case it gets slashdotted)

    2002/12/05 Information leakage discovered.
    2002/12/14 Bufferoverflow in client discovered.
    2002/12/31 Seti@home team contacted through their website http://setiathome.berkeley.edu/help.html.
    2003/01/07 Seti@home team contacted again.
    2003/01/14 Bufferoverflow in server discovered.
    2003/01/21 Seti@home team contacted again, this time through email.
    2003/01/21 Seti@home team confirmed the problem.
    2003/01/25 Seti@home team promissed fixed version are being build.
    2003/02/03 Seti@home team informed me about problems with the fixes for the win32 version.
    2003/04/06 New Seti@home clients available, advisory released.


    This advisory came 4 months late. While I'm glad this person contacted Seti first before releasing the advisory, I cannot believe that it took them two months to fix a bufer overflow! While seti@home isn't a mission critical app, I would think the seti people would want to release a new version very quickly, at the very least so that they know that their personal omputers can't get exploited.

    Bah, forgot about a username.
    --

    Only dead fish swim with the stream...
  18. Re:Ever reuse code? by ComputerSlicer23 · · Score: 5, Informative
    Curious, this reminds me of the story about Cray computers. Seymour Cray put in a very, very fast circuit to do additions I believe (specifically to add 1). The circuit also gave the wrong answer if the input was one specific value, he could have fixed it, but it would have been a longer delay, and well being right in all but one case was acceptable to him. Well eventually people reported this as a bug, but he claimed it was a feature. It was such a well known bug, that everyone coded around it. They put the check in, and put the special case code in to handle it. Turns out this took much, much longer to do then if Cray had just put in a correct circut.

    I suppose if it's documented to only work in certain cases, that's acceptable, however, the the code that calls it without checking for the input is then broken, and buggy. It should be fixed. If it can't be checked before calling the functionality, then the functionality better work for all inputs. That's good software. Stuff that just assumes that unsafe input will never, ever be put in, is a bug. A security hole. It's not reusable code. Reusable code, checks inputs. Reusable code fails gracefully. Reusable code, returns error codes indicating invalid inputs. Reusable code doesn't have security flaws in it.

    Distributing code that won't handle all input cases for use in a public distributed computing project for the sake of speed is irresponsible, and stupid. Now, I'm a lot more likely to just never run one of the distributed projects then to risk security flaws if they are willing to sacrifice security for their speed. Security should be the winning factor in all concerns when writting software. When trading security for speed, is an option don't take it. Security or ease of use, take security. Security or correctness, re-write the software using a new protocol, or new algorithm, but still take security and document the correctness flaw. Right now I only run them on machines that don't have any valuable information on them, but I'd prefer they not be used in a DDos, so it'll probably get stripped off all my machines.

  19. Manager's case of "told me so!" by Chester+K · · Score: 5, Insightful

    This is the reason employers have problems when their employees run Seti@Home (and indeed, any unauthorized software) on their machines.

    As an IT professional, you talk and talk and talk and talk trying to warn your superiors of the danger of running unnecessary network services -- why you can't just open the firewall wide up to let them use their proprietary stock-tracking application; hell, why you even have a firewall in the first place.

    And then Seti@Home, the ultimate nonessential network service, comes along and validates everything you've been saying. But you're running it anyway, because it's "cool". And now your network is compromised.

    Should have taken your own advice.

    --

    NO CARRIER
  20. Re:Linux/Solaris client is there, if you dig aroun by Thomas+Wendell · · Score: 4, Informative

    You can just FTP to ftp://alien.ssl.berkeley.edu/pub/ and see for yourself what's there.

    When I checked, the only 3.08 versions available were the GUI versions for Windows and Mac OS 9 (not OS X), and the two command line versions mentioned above (x86 Linux and Sparc Solaris). The ones I personally care about, the command line versions for WinNT and OS X, were not there yet.

  21. Public Machines by mikeage · · Score: 4, Insightful

    So... for those people who installed Seti on 100 machines at school/work, are you updating them RIGHT NOW? One guy where I am put Seti on a bunch of cluster machines because, after all, no one else is using them. I certainly hope that he's working unpaid overtime patching his (against the rules) pet project.

    --
    -- Is "Sig" copyrighted by www.sig.com?