Slashdot Mirror


FSF FTP Site Cracked, Looking for MD5 Sums

landley writes "The Free Software Foundation's FTP site at ftp.gnu.org has been "compromised", and they don't seem to have full backups. They've yanked a bunch of recent packages (and their whole alpha.gnu.org ftp site), and when I asked about it they responded 'Our FTP server was compromised, yes. We are beginning to find good MD5sums for files which have not yet been restored, and they will be available again Real Soon Now. If you can provide MD5sums for any of the files listed in MISSING-FILES, it would be very much appreciated.' " Update the FSF has a statement on the FTP site explaining the matter.

34 of 752 comments (clear)

  1. ouch, saw this yesterday by Barbarian · · Score: 3, Informative

    Did you know that some files are just about impossible to get anywhere else?

  2. Lot'sa files by guido1 · · Score: 1, Informative

    They need lots of help... There are 689 files on the list...

    Eek!

  3. BSD Ports trees should have them by lactose99 · · Score: 5, Informative

    Taking a brief glance over my FreeBSD server, all of the entries in the Ports tree have the MD5SUMs in the "files" file. The Ports tree includes many many FSF software package installs.

    --
    Fully licensed blockchain psychiatrist
    1. Re:BSD Ports trees should have them by lactose99 · · Score: 5, Informative

      Oops... its the "distinfo" file that contains the MD5SUMs, not "files".

      --
      Fully licensed blockchain psychiatrist
    2. Re:BSD Ports trees should have them by mph · · Score: 4, Informative
      As a port maintainer and committer, I can confirm what you say. The recorded md5 signatures are for the distributed source archive (e.g. from ftp.gnu.org, or Sourceforge, or whatever). They are there to ensure that the source has not been tampered with.

      BSD-specific patches are then applied to the downloaded source, but have no implications for the md5 signature that's on file.

  4. Late news by coleSLAW · · Score: 2, Informative

    Move along folks, nothing to see here. alpha.gnu.org was cracked many months ago.

    --

    == I am not Me.

  5. Re:Well that's good and all, but by rkz · · Score: 5, Informative

    Crackers exploited this vunerability, there was even a patch available!!

  6. Re:Wait? I thought Linux was Secure?? by saskwach · · Score: 2, Informative
    I think you want OpenBSD...7 years running, 1 remote hole in the default install. (I think it was patched within 3 days, but am too lazy to look it up.)

    Not 100%, but 99.9%, sure.

  7. Re:Can someone please tell me... by E-Rock · · Score: 2, Informative

    Well no OS is proof against shitty passwords or real bad practices (like not running backups). As usual the most important factor is the quality of your admin, not the OS.

  8. Re:Mirrors? by gearheadsmp · · Score: 4, Informative

    Mirror, mirror on the wall, who is the fastest of them all?

  9. Re:the $64,000 question: by passthecrackpipe · · Score: 1, Informative

    leaving out the profanities, this isn't flamebait, modders, the guy has got a good point. It will probably be modded down into oblivion, so i'll just be postin a mirror - i've got karma to burn anyhow.

    ****************

    Or maybe Linux isn't some sort of magical bug free OS where every buffer is checked, every race condition averted, and every service that runs on it is guaranteed bug free.

    Good God. The fact you can post that comment...no. You're just too much of an unthinking hero-worshipping idiot for me to finish. Yes, it was an inside job or a weak password. Anything except a vulnerability. Yes.>br>
    *****************

    --
    People who think they know everything are a great annoyance to those of us who do.
  10. Re:wuftpd is trouble, use ProFTPD by Oliver_Etchebarne · · Score: 2, Informative

    Do you had tried PureFTPD? I'm newbie on Linux, and it was very easy to install and configure.

    This FTPD focus on security: Unlike other popular FTP servers, the number of root exploits found since the very first released version is zero. (taken from its website)

    --
    drmad
  11. Re:Wait? I thought Linux was Secure?? by xenotrout · · Score: 2, Informative

    not according to netcraft

  12. Hacking ONE system does not mean shit by Anonymous Coward · · Score: 1, Informative

    MSBlaster hacked millions of computers WITHOUT human intervention.

    Linux IS SECURE. If people can't set it up, don't blame the OS.

    MS needs to get patched >>=====> CONSTANTLY.

  13. Re:Mirrors? by Anonymous Coward · · Score: 1, Informative

    ftp://cs.ubishops.ca/pub/ftp.gnu.org

  14. Status update from FSF on GNU FTP site crack by bkuhn · · Score: 3, Informative

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    To the Free Software Community:

    Summary

    * gnuftp, the FTP server for the GNU project was root compromised.

    * After substantial investigation, we don't believe that any GNU
    source has been compromised.

    * To be extra-careful, we are verifying known, trusted secure
    checksums of all files before putting them back on the FTP site.

    Events Concerning Cracking of Gnuftp

    A root compromise and a Trojan horse were discovered on gnuftp.gnu.org,
    the FTP server of the GNU project. The machine appears to have been
    cracked in March 2003, but we only very recently discovered the crack.
    The modus operandi of the cracker shows that (s)he was interested
    primarily in using gnuftp to collect passwords and as a launching point to
    attack other machines. It appears that the machine was cracked using a
    ptrace exploit immediately after the exploit was posted on bugtraq.

    (For the ptrace bug, an root-shell exploit available on 17 March 2003, and
    a working fix was not available on linux-kernel until the following week.
    Evidence found on the machine indicates that were cracked during that
    week.)

    Given the nature of the compromise and the length of time the machine was
    compromised, we have spent the last few weeks verifying the integrity of
    the GNU source code stored on gnuftp. Most of this work is done, and the
    remaining work is primarily for files that were uploaded since early 2003,
    as our backups from that period could also theoretically be compromised.

    Historical Integrity Checks

    We have compared the md5sum of each source code file (such as .tar.gz, .tar.bz2, diff's, etc.) on ftp.gnu.org with a known good data. The file,
    ftp://ftp.gnu.org/before-2003-08-01.md5sums .asc, contains a list of files
    in the format:

    MD5SUM FILE [REASON, ... REASON]

    The REASONs are a list of reasons why we believe that md5sum is good for
    that file. The file as a whole is GPG-signed.

    Remaining Files

    The files that have not been checked are listed in the root directory as
    "MISSING-FILES". We are in the process of asking GNU maintainers for
    trusted secure checksums of those files before we put them in place.

    We have lots of evidence now to believe that no source has been
    compromised -- including the MO of the cracker, the fact that every file
    we've checked so far isn't compromised, and that searches for standard
    source trojans turned up nothing.

    However, we don't want to put files up until we've had a known good source
    confirm that the checksums are correct.

    Alpha FTP Site

    The Alpha FTP site at ftp://alpha.gnu.org/ has been a lower priority for
    us, but we plan to follow the same procedure there.

    - --
    Bradley M. Kuhn, Executive Director
    Free Software Foundation | Phone: +1-617-542-5942
    59 Temple Place, Suite 330 | Fax: +1-617-542-2652
    Boston, MA 02111-1307 USA | Web: http://www.gnu.org

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.1 (GNU/Linux)

    iD8DBQE/OnYb53XjJNtBs4cRAqplAJ95PHJhIwRiwjKBqSIx ZH SVlTOtxACgyouK
    QAfYhiLJcwPHio6fsk+s2uY=
    =DUMO
    - ----END PGP SIGNATURE-----

    1. Re:Status update from FSF on GNU FTP site crack by bkuhn · · Score: 4, Informative

      Yes, the crack was carried out by a local user. We don't know if it was a social engineer or someone who compromised an existing account.

  15. Re:the $64,000 question: by molarmass192 · · Score: 2, Informative

    It was an exploit in wu-ftp, not Linux, the story even says it was an FTP exploit. So yes, it was an unpatched vulenrability, but no, it was not in Linux.

    --

    Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws-Plato
  16. Re:Well that's good and all, but by jpetts · · Score: 3, Informative

    This was modded as informative why? This is what it says on the FSF web site:


    A root compromise and a Trojan horse were discovered on gnuftp.gnu.org,
    the FTP server of the GNU project. The machine appears to have been
    cracked in March 2003, but we only very recently discovered the crack.
    The modus operandi of the cracker shows that (s)he was interested
    primarily in using gnuftp to collect passwords and as a launching point to
    attack other machines. It appears that the machine was cracked using a
    ptrace exploit immediately after the exploit was posted on bugtraq.
    (For the ptrace bug, an root-shell exploit available on 17 March 2003, and
    a working fix was not available on linux-kernel until the following week.
    Evidence found on the machine indicates that were cracked during that
    week.)
    Given the nature of the compromise and the length of time the machine was
    compromised, we have spent the last few weeks verifying the integrity of
    the GNU source code stored on gnuftp. Most of this work is done, and the
    remaining work is primarily for files that were uploaded since early 2003,
    as our backups from that period could also theoretically be compromised.

    --
    Call me old fashioned, but I like a dump to be as memorable as it is devastating - Bender
  17. Re:the $64,000 question: by prizog · · Score: 4, Informative

    There are backups from before the crack.

    If you want to give FSF $64,000, we could hire someone to implement a better plan. But we're not made of money.

  18. Re:ftp? by meshko · · Score: 2, Informative

    because anonymous ftp is the best way to let people download files? ftp server [theoretically] is much simpler than HTTP server (apache) and therefore is more secure. In this particular case I don't think that the FTP server APPLICATION was compromised. I think the FTP server (as in "computer serving ftp requests") was compromised.

    --
    I passed the Turing test.
  19. Enough speculation -- here's the story by pestilence4hr · · Score: 2, Informative

    From http://ftp.gnu.org/MISSING-FILES.README

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    To the Free Software Community:

    Summary

    * gnuftp, the FTP server for the GNU project was root compromised.

    * After substantial investigation, we don't believe that any GNU
    source has been compromised.

    * To be extra-careful, we are verifying known, trusted secure
    checksums of all files before putting them back on the FTP site.

    Events Concerning Cracking of Gnuftp

    A root compromise and a Trojan horse were discovered on gnuftp.gnu.org,
    the FTP server of the GNU project. The machine appears to have been
    cracked in March 2003, but we only very recently discovered the crack.
    The modus operandi of the cracker shows that (s)he was interested
    primarily in using gnuftp to collect passwords and as a launching point to
    attack other machines. It appears that the machine was cracked using a
    ptrace exploit immediately after the exploit was posted on bugtraq.

    (For the ptrace bug, an root-shell exploit available on 17 March 2003, and
    a working fix was not available on linux-kernel until the following week.
    Evidence found on the machine indicates that were cracked during that
    week.)

    Given the nature of the compromise and the length of time the machine was
    compromised, we have spent the last few weeks verifying the integrity of
    the GNU source code stored on gnuftp. Most of this work is done, and the
    remaining work is primarily for files that were uploaded since early 2003,
    as our backups from that period could also theoretically be compromised.

    Historical Integrity Checks

    We have compared the md5sum of each source code file (such as .tar.gz, .tar.bz2, diff's, etc.) on ftp.gnu.org with a known good data. The file,
    ftp://ftp.gnu.org/before-2003-08-01.md5sums .asc, contains a list of files
    in the format:

    MD5SUM FILE [REASON, ... REASON]

    The REASONs are a list of reasons why we believe that md5sum is good for
    that file. The file as a whole is GPG-signed.

    Remaining Files

    The files that have not been checked are listed in the root directory as
    "MISSING-FILES". We are in the process of asking GNU maintainers for
    trusted secure checksums of those files before we put them in place.

    We have lots of evidence now to believe that no source has been
    compromised -- including the MO of the cracker, the fact that every file
    we've checked so far isn't compromised, and that searches for standard
    source trojans turned up nothing.

    However, we don't want to put files up until we've had a known good source
    confirm that the checksums are correct.

    Alpha FTP Site

    The Alpha FTP site at ftp://alpha.gnu.org/ has been a lower priority for
    us, but we plan to follow the same procedure there.

    - --
    Bradley M. Kuhn, Executive Director
    Free Software Foundation | Phone: +1-617-542-5942
    59 Temple Place, Suite 330 | Fax: +1-617-542-2652
    Boston, MA 02111-1307 USA | Web: http://www.gnu.org

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.1 (GNU/Linux)

    iD8DBQE/OnbO53XjJNtBs4cRAkZaAJ0ZdQ98ZNe4GRgAT2bR 4h BHRqo/aQCglWnU
    kmOLmrVCzPxrJ/S68R1q42w=
    =+pu6
    - ----END PGP SIGNATURE-----

  20. Re:You're Kidding? by pongo000 · · Score: 4, Informative

    You mean, an accounting like this? Seems pretty detailed to me...

  21. RTFA: There *are* backups, and they *did* patch by stewby18 · · Score: 5, Informative

    ...The machine appears to have been cracked in March 2003, but we only very recently discovered the crack.
    [snip]
    (For the ptrace bug, an root-shell exploit available on 17 March 2003, and a working fix was not available on linux-kernel until the following week. Evidence found on the machine indicates that were cracked during that week.)
    Given the nature of the compromise and the length of time the machine was compromised, we have spent the last few weeks verifying the integrity of the GNU source code stored on gnuftp. Most of this work is done, and the remaining work is primarily for files that were uploaded since early 2003, as our backups from that period could also theoretically be compromised.

    (emphasis added). So in other words, they were cracked in the brief space between the exploit post and the patch, and didn't find it right away. Now, they are carefully vetting all their backups from that period to remove any possibility that a compromised backup could be redistributed.

    So, to answer your poorly-researched questions:

    • They have reliable backups of everything, except for those files which, due to their upload time, cannot possibly be considered secure
    • They are systematically verifying the reliability of the files where there could be any doubt

    Which part of this would you not consider a disaster recovery plan?

  22. Re:LOL!!! by Omar+El-Domeiri · · Score: 2, Informative

    Dear god people, its not that they don't have backups... its that they feel the backups might be compromised as well.

  23. Re:Mirrors? by wampus · · Score: 3, Informative

    All the mirrors I've checked have placeholders.back-RSN.README, just like the ones at ftp.gnu.org.
    Looks like they don't know how long ago the break-in was, so they pulled the mirrors to be safe.

  24. WTF? by MasTRE · · Score: 4, Informative

    Neither the OP _nor_ the moderator think it important to note in front-page post that the box was compromised in _March_ 2003? Jeez, is this /. or -.?

    --
    Must-not-watch TV!
  25. Re:Correct MD5s by zangdesign · · Score: 1, Informative

    True security means trashing any possibly affected code and starting over from zero. It also means you find the person responsible and terminate his existence in a way that will make grown men cry.

    --
    To celebrate the occasion of my 1000th post, I will post no more forever on Slashdot. Goodbye.
  26. Re:You're Kidding? by NoOneInParticular · · Score: 5, Informative

    As some other posters in other threads noticed, the FSF does not have full backups because all backups made after early 2003 can be compromised. The crack happened in March, and what they miss is all the stuff that was uploaded after the crack. Backups from before March are available. In this situation no backup strategy at all would leave you with total security after March. The fact that the site was cracked five months ago is a bit scary though.

  27. Re:Pointless by gearheadsmp · · Score: 2, Informative

    True. But they certainly have more bandwidth for "hungry" Slashdotters. From what I understand, many of the missing non-Alpha-stage packages are available at most distro-specific mirrors, such as Debian, Gentoo, and in RPMS form.

  28. Bzzzt! Both of you are wrong by NoWhereMan · · Score: 2, Informative
    While I agree with the premise of the post

    The premise is wrong. Looks like neither of you read the explanation.

    (For the ptrace bug, a root-shell exploit was available on 17 March 2003, and a working fix was not available on linux-kernel until the following week. Evidence found on the machine indicates that gnuftp was cracked during that week.)

    This indicates that a patch was not available yet.

  29. Re:Of course, if this was a MS site that was by dvdeug · · Score: 2, Informative

    the "no backups" just goes to show that poor sysadmin skills is not limited to proprietary platforms.

    It goes to show that listening to Anonymous Cowards isn't very wise; if you read the article, they have backups, but any backups of the system after it was hacked are nigh worthless.

  30. UK Mirror Service by SamBC · · Score: 3, Informative

    Well, I must say that I've never met Mustafa at work... the people who run the UK Mirror Service are, however, there for all to see on the UKMS Crew Page

    In all seriousness, you have until some time tonight (on BST, which is UTC+1) before we should be fully synced, including any files that have been pulled, with the source site. There are some exceptions, but I don't think they will apply in this case. And if any files were compromised, they are compromised on our servers as well.

    WARNING: SHAMELESS PLUG: If you are a fan of the Mirror Service, or even just a user, please note the message on our homepage, as we are about to be able to serve even more users, at higher speeds.

  31. Re:the $64,000 question: by prizog · · Score: 2, Informative

    We do have archival backups. But many packages were uploaded between when the machines were cracked and when we noticed the crack. That's mainly what we need.

    Our backup process is flawed, but that's because we can't afford good backup hardware.