Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
News

SourceForge Server Compromised 199

justrob writes: "Looks like there was a massive security breach at Source Forge. I wonder if this what caused the 'unscheduled maintenance event' that has left the shell servers unavailable for a week. Here is part of an email I recieved:" (Read more below.)

"Dear SourceForge User,

The SourceForge team takes security very seriously. This week, one of our systems was compromised. We have promptly taken the necessary steps to correct this situation.

You have been contacted, because according to our log files, you have used SourceForge during the past week and may have used the system that was compromised. In order to complete the security fix, we are asking all users who used the system to change their password immediately. We've reset your password to a randomly generated string. "

Here's where to go if you think your account might have been compromised.

This discussion has been archived. No new comments can be posted.

SourceForge Server Compromised

Comments Filter:
  • by Anonymous Coward
    By the very anarchistic nature of the Internet, we find that centralized targets are good ones. Look at the DoS attacks on eBay and such. The Internet was not made for single-server communications, and those who think it is, will pay the price.
  • by Anonymous Coward
    OS security certification: http://www.radium.ncsc.mil/tpep/epl/epl-by-class.h tml
  • Kerberos on a locked down server would be preferable to splitting a login between servers. What happens when a verification server is down or gets compromised and sends incorrect results, preventing authentication?
  • by Anonymous Coward
    Generally NT gets (well deserved) criticism due to MS's slow fix process and occasional outright denial that a problem exists. Couple this with administrator errors and you've got a bad situation made worse. On Linux & BSD based systems the potential for admin error is still there, but the vendor induced problems are generally *greatly* reduced.
  • by Anonymous Coward
    But since he was talking about wrongs and not rights, you never know, three may well make a u-turn.
  • by Anonymous Coward
    Have you ever built a Win2K kernel? I'm curious as to how long it took. How many lines of code was there? Oh, and I'm sure I'm not the only one who goes crosseyed after reading guff leik tihs: int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nCmdShow) { [microsoft.com]... oops, forgot the #define WIN32_LEAN_AND_MEAN (sic)
  • by Anonymous Coward
    n Eggs.

    1 Basket.

    Lovely news, but hardly a surprise.

  • by Anonymous Coward
    Stupid admin is a feature lacking EVERY os.
    Thats why I'm writing an os with stupid admin built in.

    How dose it work?
    Well you set it up and tell it what you are doing. It installs all the software etc and sets everything up at the WORST possable setting.

    The os has a built in test to see if any built in back door remains.

    The SysAdmins job is to find all the back doors (with that tool locked out) and close them.
    The manager then unlocks the tool and checks the SysAdmins work.

    In otherwords... It's an employment test...
    Closed source of course...
  • by Kuroyi ( 211 ) <rick&kuroyi,net> on Monday May 28, 2001 @06:08PM (#192214) Homepage
    But I suspect since sourceforge hosts MANY CVS based projects, that open-source software could be injected with outside code...

    A developer with any sense is going to do a cvs diff and verify any changes before continuing on like usual. No big deal really.
  • If you run Squid [squid-cache.org], you can install BannerFilter [freshmeat.net], which attempts to take care of that for you (while still letting you use whatever browser you want).

    --

  • by Sludge ( 1234 ) <slashdot@@@tossed...org> on Monday May 28, 2001 @01:59PM (#192216) Homepage
    How secure are the CVS trees? I assume sourceforge's CVS trees are backed up regularly. It would be horrendous if not, because any of the cvs trees on SF could have had backdoors added to them.
    Perhaps the authors of the programs should check out their software to a different directory and do a diff.

    I am happy to say I don't rely on sourceforge. It is a mistake for a large part of the community to rely on one site for this sort of thing. I run my own CVS server, and am about to pay a small amount ($10/m) for an ISP to host my hobbyist code. Granted, it doesn't have all the features of sourceforge, but I don't mind.

  • Presumably their security consulting team does not manage sourceforge. I'd imagine the two have little to do with each other.
  • I'm afraid I still don't see the point. You've got to send the entire password to the server you're connecting to, so it can split it up in the first place. And transmission of the full password isn't the weak link in password schemes anyway, nowadays, what with PK-encrypted login sessions and all. If you're not using an encrypted login session, this still buys you nothing, because there's still a single place to sniff the password.

    And you've still got the problems I outlined before. And how are the login servers interchangeable? They can't all store all the pieces of the passwords, because that defeats your scheme entirely by storing the entire password, unencrypted, on every server.

    I'm sorry, I just don't think this will fly. :]

  • by dangermouse ( 2242 ) on Monday May 28, 2001 @03:36PM (#192219) Homepage
    I think you may have overshot the mark...

    Full usernames do need to be known, because you're dealing with a multiuser system where users like to interact with each other. What happens if you run 'w' on a system like the one you're describing? Using uids for most things would work, but remember that humans use this stuff, and people like to have names, not numbers. If I do an 'ls -l', I don't want to see that a file is owned by user 11203, especially if for the sake of security I don't get to look up who the hell user 11203 is.

    Your system could work if applied to the passwords, but it would gain you nothing. Any sane system already uses a hidden password scheme, most commonly shadow. The system never stores the actual password anyway. What it stores is a hash (MD5 usually, these days) that it can verify another (dynamically generated) hash against. Your system does not remove this dependancy on having the hash accessible on each authentication server. You have to have the sum there to verify against. How else would your systems verify that there is a string with "those two letters in that particular position... associated with that particular cryptographic sum"? In fact, your system would have to store the two letters in question and their position to do so.

    Bam. You've created a less secure system than the currently existing one, because you've just fed a brute-force password cracker two of the characters it needed for each password, if that file is compromised.

  • by Adnans ( 2862 ) on Monday May 28, 2001 @02:59PM (#192220) Homepage Journal
    Now that my favorite project, ALSA, is also moving to Sourceforge I'm more concerned about it becoming a single point of failure. Just think about it. If Sourceforge goes down for an extended period of time imagine the chaos, not to mention the loss in 'productivity' in the OSS community. I will probably be one of the last developers moving to it...on the other hand, they provide an excellent service, one that would cost an OSS developer cash otherwise. Anyway, my only real gripe with Sourceforge is their usage of Geocrawler for mailing list archiving. Damn, that's one crappy interface!! :( Sorry for ranting...

    -adnans
  • Kind of makes concurrent development, etc. hard, now doesn't it?
  • The idea would be not that the server doesn't have to store the password - but that the password in plain text never reaches this machine. And, in plain text, never reaches ANY machine in it's plain-text entirety. You split the username and password into pieces, and have several different servers verify the pieces, and then report back to the central server (the one you're attempting to log in to) that this user - who never sent the central/login server a single bit of his username/password - is okay. If *any* of the verification servers (and losing one is okay, because they're all interchangeable - if one's gone, send it to another in the verification server pool) reports back "bad!", then the user is not authenticated.

    Now, obviously, the details are fuzzy, but hey, that's life. :-)
  • by memoryhole ( 3233 ) on Monday May 28, 2001 @02:03PM (#192224) Homepage
    What I find particularly interesting about this whole deal is how their distributed network setup has worked against them. Reading the wording of that email closely, you notice that you are being asked to change your password because you MAY have used the system that was compromised. They don't actually know.

    And even if they did know, would that help, I wonder? Is user information distributed within the SourceForge network, or is there a more central login server that warehouses all of that information? Either case, when you think about it, is somehow not exactly what you want to have happen. If all user login information is in a central location, cracking that one location would instantly compromise everyone's account information. However, distributing user information around the network (aside from making login management more difficult) makes it more likely that if a random server is cracked at least *somebody*'s account information will be compromised.

    It occurs to me that a distributed, and cryptographically fragmented form is the most desireable - because then cracking any one machine would give you exactly nothing in the way of user account information.

    Now, the rest of the problem is people who use the server that has been compromised. They send their usernames and passwords to this compromised server (unawares, of course) and thus their information is compromised, obviously. But does it have to be this way?

    I propose that it is conceivable to build a login system where no one server receives an entire piece of a login. The login name is split into two character pieces, for example, and sent to as many servers as necessary along with an MD5/SHA1 sum of the full username - each server verifying that there exists a login name with those two letters in that particular position, and they are associated with that particular cryptographic sum, and nothing more. Notice that the controlling server (the one that you're logging in to) never sees any piece of the login name - but is merely informed (by the client) which machines (in no particular order) the login name pieces were sent to. A similar trick could then be played with the password - sending pieces of the password to some password verification servers, with a cryptographic sum of the verified login name. So, each server never has a record of full login names, and no server ever is sent the full login name.

    To bad no such system exists, eh?
  • by Black Art ( 3335 ) on Monday May 28, 2001 @02:35PM (#192225)
    Queso is very inaccurate. I have seen it give answers that can best be described as "wild-ass guesses". You are better off using nmap for OS detection. At least it has been updated on a regular basis.
  • Every single developer using SourceForge's CVS has a "copy stored elsewhere". That is how CVS works.

    A developer can type "cvs diff -r HEAD" to see what has changed between whatever is checked in and what they have on their local store.

    Actually the idea that the hackers would do this is rather silly. This was also suggested that hackers into MicroSoft may have modified the Windows source code to introduce back doors. Anybody who thinks this is possible should be writing movie scripts.

  • by Uruk ( 4907 )
    Obviously getting compromised is bad, but outside of vandalism of existing source code, like if they delete your CVS codebase, what are they going to do? Steal something you could already get through the web for nothing?

    Of course passwords could be compromised, which means the silly monkeys that use "er33t" as the password for sourceforge, slashdot, freshmeat, and hotgoatsex.com will have to change the passwords in different places too.

    What are the implications of this security break in? I'm open to the idea that they're larger than just vandalism of source code and passwords, but what's the bigger problem?

  • by jhubbard ( 4916 ) on Monday May 28, 2001 @03:16PM (#192228) Homepage

    The system that you describe sounds really nice, but it still doesn't deal with the intruder that replaces your authentication mechanism with one of their own. Your method of distributing parts of the account information to mulitple machines would prevent someone that is listening near one of the authenticators from getting all of the info. Why would they go to all of that trouble when they could compromise one machine on the network. After you compromise the machine, all you need to do is write a program that will pass i/o between the user and the other parts of the system.

    This is why they say that "security is a process." You could have the coolest, geewhiz, unbreakable cryptosystem in the world. But, if someone put a sniffer between your keyboard and computer, what good is it?

    My guess is that this is what happened here. Someone compromised the system and had the ability to change the authentication systems.

    I would've thought that something like Tripwire would have been used to check for possible changes in the system. Nothing is infalliable though and that is the most important thing to keep in mind.

    Besides, for a site that hosts ~21,000 projects and has ~180,000 users, I think that it's pretty amazing that it hasn't happened sooner

  • by Ewan ( 5533 )
    Well a large part of the requirements for a gpg key to be meaningful in many situations is that it is held on a seperate server from that of the tarball.

    Of course if you have access to both, then its trivial to replace the key with a new version which would accept the trojan.
  • by Ewan ( 5533 )
    This would require the software developer to download sourceforges trojaned version via CVS, ftp or whatever, build a new package, and resign it.

    If however a user just grabbed the latest version before the developer has resigned and repackaged it, along with the original (valid, unaltered) key, then the signing checking should point out the difference. Of course, if you had the key on the same server as the tarballs/rpms then it is of course totally irrelevant as the key could have been altered too.

    Ewan
  • by Ewan ( 5533 ) on Monday May 28, 2001 @01:58PM (#192231) Homepage Journal
    Well most obviously they could subtly alter the source code of one or several programs to include a trojan horse.

    Then, when you download and install something, you would also install a back door for the cracker to use to easily gain access to dozens, hundreds, or even thousands of machines.

    Of course, GPG signed tarballs are what you would normally use to verify the files and protect against this, but how many people actually bother with that?

    Ewan
  • I bet Windows systems are just targetted more than Linux and other Unix systems.

    I think inferring relative OS security based on web site defacement would be a mistake.

    -Kevin
  • I agree with what you're saying, but I still think the original poster muddled social issues with technical issues.

    As far as your question about choosing between two platforms: I don't think an IT organization would make a decision based on security alone, it would be a decision driven more by cost of ownership and other logistical (e.g. in house expertise) / economic factors.

    -Kevin
  • by khuber ( 5664 ) on Monday May 28, 2001 @06:07PM (#192234)
    No, you're wrong.

    Access to the authorized keys means that the intruder(s) could have added their own public keys, thus ensuring future access. The problem is not public key hashes being stolen.

    -Kevin
  • Two wrongs do NOT make a right..

    Aye, two Wrights make an airplane.

  • However, they're very cautious since 'no one was ever fired for buying Microsoft'

    However, they were fired for relying on it.

  • And so on. See back to Feb 2000 [lwn.net], for the same old arguments.

    We need a good, polite, robust, idiot-proof "mirror" script so that the folks who are interested in this stuff will be the backup of last resort more reliably.

  • heh

    That was excellent.

  • Well, because it's just the truth.

    While in my embryonic linux stage, I had two boxes cracked, and it was due to the default services (at their default configs) left on by the RH install, and then by me as I didn't know to turn them off (or how to check that they were on, how to know what the given services were for, etc.).

    Of course, getting cracked was an *amazingly* effective incentive to learn how to secure a system, which is why I haven't had a box cracked since those initial two. It also planted the seed of my now-healthy sense of paranoia, which contributes greatly to my skills in system administration.

    Anyways, RH's installation left a lot to be desired. It *still* leaves something to be desired, but they are improving. I'll stop there, as this subject has been discussed into the ground many times.

  • Stupid admin errors happen both on NT and UNIX - they're not a feature of the OS.

    First, just because someone makes an error doesn't mean they made a stupid mistake. Just as we don't know whether this was human error or buggy software, we don't know if this was a stupid mistake or an easily made error.

    Second, robustness (i.e. lack of error proneness) is indeed a feature of all software. Human error rate when performing a task is a useful metric for evaluating software usability. An OS that is "easy to secure" has a feature that many would find advantagous.

    Ideally, computers should serve humans. Making a task error prone requiring a human to go through the proper hoops or suffer a security breach is a reversal of this ideal.

  • For this very reason the FSF [fsf.org] started their own server [gnu.org] using the SourceForge software. The FSF plans to use it to manage their projects but, like SourceForge, it is open to the public. All the amenities of SourceForge without having a single point of failure.

  • I have no more information than you do but I kind of doubt that anyone was running around their network, undetected, for that kind of time. That really doesn't change the meat of the argument, though, restore the data (only) from the last known-good backup and rebuild everything from then to now by hand.

  • by Raven667 ( 14867 ) on Monday May 28, 2001 @05:57PM (#192243) Homepage

    Sure code could be modified, but not without being detected. I assume that they are going to restore the data from a pre-breakin backup, then diff the backup with the current data and ask the various software maintainers to verify the diffs. Alternately they could require the various software maintainers to checkin their local CVS tree with the master repository, and verify any discrepancies. Any time you have a properly implemented change control system like CVS it is scads easier to recover from a comprimise like this and ensure that your source code has not been comprimised. This isn't scary at all.

  • security.nl [security.nl] received a screenshot [security.nl] which shows a security problem in the SourceForge site, which was sent to the SF people months ago. They never reacted to this. Apparently a malicious person found the vulnerability as well.

  • by mlc ( 16290 )
    Of course, GPG signed tarballs are what you would normally use to verify the files and protect against this, but how many people actually bother with that?

    And how would this help? If a backdoor has been inserted into the CVS version of a project, then the maintainer of the project would inadvertantly include the backdoor (assuming s/he didn't notice it already) in the tarball. S/he would then sign it, and you would assume it to be safe.

    GPG-signatures can (at best) only prove that the package you downloaded is the same one that some known user uploaded -- they can't prove that there are no backdoors in the code, planted by either the gpg-signer or a third-party before the code was signed.

    s/gpg/pgp/ if you like; they're the same.
    --
    // mlc, user 16290

  • The admin could have been on crack and posted his pasword on Usenet..
    It could have been the sock people...

    It could have been CmdrTaco over his contention that it's Gnu/Linux...

    I'm kidding.. but you have a point...

    IMHO It really dosen't matter what you use. Hire a good admin let that admin run what ever he thinks is best. It dosn't need to be a pure Linux or Windows system.. Throw in Solarus, BSD, Mac and BeOs machines if the Sysadmin thinks it'll enhance the system.
    You think Windows or Linux can do everything perfictly?
    If so.. stay away from me...
  • by Felinoid ( 16872 ) on Monday May 28, 2001 @03:35PM (#192247) Homepage Journal
    Your right about the advocacy facter..
    Linux advocacy rises to match that of Microsoft FUD (in otherwords no better than)
    Two wrongs do NOT make a right.. three make a uturn and four make a left..

    Ok why should Slashdot ever post a Windows defect anyway?
    On the other hand.. Go read the stuff on Windows websites.. Every Linux defect is published as proof Linux is poor defective etc etc etc.

    Getting the facts straight..
    Windows can be secure Linux can be cracked..
    It's the SysAdmin that make it happen...
    Software is just tools...

    But never tell an auto repair profesional he must use the brand of tools you picked..
    Same for SysAdmin...
    If the SysAdmin prefers Dos he shouldn't be forbiden from using it if it can do the job.
    (Some tasks are insainly low overhead and can run from a XT running Dos... very few...)
  • If you write or use software, start using Gnu Privacy Guard [gnupg.org] signatures on the packages. It's not that hard, and it gives good (not perfect) protection against the distribution machine being compromised.

    The action plan is

    1. Generate a secret key. Use a strong passphrase, and keep it on a machine that you trust deeply. (Your own laptop or desktop.) Perhaps even keep it on removable media.
    2. Distribute the public key widely. Get other people to sign it, after checking your credentials.
    3. For all future releases of the software, either generate a detached signature, or put the MD5 signature into a GPG-signed release announcement.
    4. When you download software, check the signature before you install it.
    This is not complete protection: there are still attacks involving breaking the signing machines, getting users to use the wrong public key, and so on. But if more projects started using this, it would be a real advance.
  • So, why not let the legitimate Sourceforge users have a bit more information about what happened? Perhaps some of the users might have an idea for a fix, or at least a way to protect their own work.

    Until we know, there is just as good a possibility that the site was "cracked" by someone leaking an important password, somebody walking up to one of the servers, an upset employee, the brother (or brother's friend) of someone who works admining the SourceForge project ("Hey, can I check my email?" "Sure"), or even a laptop swiped at E3 that had an admin SSH account preconfigured.

    Don't assume that it's a technical problem... I've only had one and a half major successful breaks in security, and both were social, rather than technical problems. Plus the *very* common problem of cell phones, ISP and AOL accounts and such that are used for a few months past termination because HR didn't inform IT. Hell, we even had someone using our contact database (that's the half) because HR never told us, and he was running around with a company laptop and an (easily turned off) key disk.

    --
    Evan

  • > It is a mistake for a large part of the community to rely on one site for this sort of thing.

    I guess I agree. Sourceforge is a wonderful idea and a generous service to our community, but the community evolved in a decentralized environment, and I'm not sure centralization is the way forward.

    Of course, I don't think SourceForge was intended to be a centralization move. By all accounts they were somewhat surprised at the uptake on it.

    > I run my own CVS server, and am about to pay a small amount ($10/m) for an ISP to host my hobbyist code. Granted, it doesn't have all the features of sourceforge, but I don't mind.

    If enough people do that, a featureful system might well evolve for it. There's lots of free support code floating around, which a talented and dedicated party could probably forge into a nifty kit for small-site developer projects like yours.

    --
  • However, the original problem is that the source is open. Since the hackers can look through the code,

    You would have a case if open source projects were more subject to hacks than clesed source projects.

    The general evidence is that the opposite is true.

  • And by "general" you mean anecdotal.

    In this arena there is no other type.

  • Why would hosting on Sourceforge be a bad thing? I mean, you keep your code locally too, and you check to make sure that changes are what you expect once per release, right? So, why is hosting on Sourceforge a problem?
  • by xixax ( 44677 ) on Monday May 28, 2001 @03:09PM (#192263)
    Heck, we don't even know the nature of the breach, do we? Was data stolen?
    Oh no! This is a disaster! What if the crackers got a copy of the source code to the Linux operating system???

    Xix.

  • It is hard to disprove the open source myth that it leads to bad security because of easier-to-find holes when PHBs read things like this, that happen to major Linux servers.

    Right...because it never [securityfocus.com] happens [slashdot.org] to [slashdot.org] Microsoft [slashdot.org]. That's [attrition.org] very [attrition.org] clearly [google.com] known [google.com].
  • Running queso on sourceforge.net reports :

    216.136.171.196:80 * Novell Netware TCP/IP


    I think 'queso' is wrong [netcraft.com].
  • by ddstreet ( 49825 ) <{ddstreet} {at} {ieee.org}> on Monday May 28, 2001 @03:36PM (#192266) Homepage
    PHBs aren't interested in why not to use Microsoft.They look for reasons not to use Linux

    I don't know what PHBs you're talking about, but all the PHBs I've ever met care only about reducing their dept's spending and increasing their dept's output. They most certainly are 'interested in why not to use Microsoft', and it's called money. But they don't think there is anything else out there that they could possibly use.

    In the recent past, some of them have learned of this 'Lee-nooks' thing that they might be able to use instead of the oh-so-expensive Microsoft stuff! However, they're very cautious since 'no one was ever fired for buying Microsoft', and if Linux fails (many of them worry Linux and OSS may 'fail' as a concept, but in reality it's their deployment that might fail) then it's their ass for using it. Reports like this one do make them nervous about Linux, but only because they are worried that there's no comapny to blame when this happens (they think).

    PHBs may be stupid but they can add and subtract. Unless it's relevant to their business, they care very little about 'uptime' (usually) or 'reliability' (usually), but stuff like 'price' and 'liability' they are very well aware of. Linux intrigues them with the price, but they are very worried about the lack of centralized liability. That's why Redhat is doing so well, the PHBs have to have someone to
    1. get everything to work if their in-house techies can't, and
    2. point the finger at if everything goes to hell.
  • When you don't trust a host with your source or binary code, store the MD5 or SHA1 sum somewhere else.
    The BSD "ports" tree is very well designed for this. The MD5 sum is stored on *BSD mirrors, and the files are fetched from various locations (like Sourceforge) . When a port has to be built, the source code is fetched and compared with the awaited MD5 sum. If the sum differs from the computed one, a bigfatwarning appears and installation stops.
    I guess Debian packages fetched through apt-get have something like this, too.
    For other package or source code, put MD5 / SHA1 sums on another web site. But well... unfortunately in the real world, users will never check the sum.
    And this doesn't protect the CVS tree from being trojanized. But the CVS tree is another story. When a developper types 'cvs update' or 'cvs commit' and discovers odd changes (for instance on the part he -and nobody else- is working), he can discover the trojan and reset the tree to a sane state.
    In all cases, the open source world depends on trusted relationships. Sourceforge has the power to put trojans in all major open source projects and it would hurt a lot. The same thing goes for Tucows, Ibiblio.org, etc. Developers have to trust these free hosting services. End users have also to trust them. End users should also trust developers. There are many popular projects with only one developper, so nobody would review the code while an hidden trojan is making disaster.
    But open source developers and hosting services are clean. Everybody is trusting each other. While any of them could create severe damage to the open source world, it doesn't happen. This is a question of mentality. On some commercial operating systems, trojans and viruses are common, and people never install new software without running an antivirus.
  • "Not releasing the source code would solve many security problems"
    I disagree. Not releasing the source code means that :
    • Users can't trust any program because backdoors can be hidden. Remember Interbase ?
    • When users discover a hole, they can't fix it. Even if they are very skilled programmers and the fix is an oneliner. They can't. They have to wait for a patch from the vendor / authors. And while the patch isn't released, they are vulnerable.
    • Users can't help the development team to fix holes.

    If you read Bugtraq [securityfocus.com] you will notice that Windows applications have tons of security holes. But the number of holes is not important. The important thing is that often, a security advisory ends up with "Vendor has been contacted... no response so far... no known fix... no workaround..." . And what can vulnerable users do in this case ? Nothing. Wait. Pray that nobody will see the breach. Wait until the vendor wakes up. If he ever does.
    Also, remember that most closed-source encrypto schemes were hacked (decss, anyone ?) .
  • They probably are reasoning that if they give details, other people will do the same thing. However, anyone who's interested in this sort of nonsense probably already knows.

    No sense in making it easier for the crackers. "Here's what's broken! We've just narrowed your list of 384 possible exploits to try down to one!"

    Perhaps some of the users might have an idea for a fix, or at least a way to protect their own work. Heck, we don't even know the nature of the breach, do we? Was data stolen? Corrupted? What? Inquiring minds have a legitimate need to know.

    No, not yet. I know some of the people working SF, they already know how to fix this sort of thing and don't need /. posters telling them how to do their job (including me *grin*). And if I were in their place, I would first fix the server, then fix the other servers that haven't been compromised yet, and only then announce what the problem was.

  • Geocrawler was originally meant for one mailing list. That it's still around is incredible. I talked with a guy responsible for Geocrawler about it in Boston earlier in the month, and he assured me it's going away in favour of something they've been developing to replace it.

    Which is a good thing, since it's down for 8 hours every day doing magic things ;)
    --
  • by Jailbrekr ( 73837 ) <jailbrekr@digitaladdiction.net> on Monday May 28, 2001 @01:54PM (#192275) Homepage
    Whoever compromised the system should post their exploit on SourceForge.
  • by MrKevvy ( 85565 ) on Monday May 28, 2001 @04:32PM (#192279)
    But I suspect since sourceforge hosts MANY CVS based projects, that open-source software could be injected with outside code...

    Will they be changing their name to ForgedSource, then?
  • by RollingThunder ( 88952 ) on Monday May 28, 2001 @02:31PM (#192283)

    Actually, I'm waiting to find out what the cause was.

    Stupid admin errors happen both on NT and UNIX - they're not a feature of the OS.

    Software problems are a different story. And we don't know which yet, so I'm waiting. Mostly. :)

  • One major difference between 'secret' source and 'published' source is that it can take forever to find the holes if the source code is kept secret. OTOH, I will look carefully at any source or binary I download from Sourceforge, or built on their compile farms...

    This applies to both 'white hats' finding, reporting, and fixing the holes, and to 'black hats' finding, exploiting, and sharing the exploits.

    In general, intentionally added backdoors in open-source software have a relatively short lifespan, while backdoors in closed-source products can live on indefinitely.

    As I was quoted in a print magazine nearly a decade ago "The holes are already there, it's simply a matter of who finds them first".

    One advantage of OpenBSD is that a primary goal of the committers is to pre-emptively find and fix problems that have the potential to be holes.

  • by MrBlack ( 104657 ) on Monday May 28, 2001 @01:52PM (#192287)
    I've heard people decry the fact that most Open-Source projects are now hosted on Source Forge (primarily I think because they were worried about the company suddenly going out of business or doing something crummy and underhanded). I guess this is one of the other consequences of having a centralised repository.
  • by hitchhacker ( 122525 ) on Monday May 28, 2001 @03:37PM (#192296) Homepage
    I agree you can't "steal" open-source software. But I suspect since sourceforge hosts MANY CVS based projects, that open-source software could be injected with outside code... correct me if I'm wrong, but that seems pretty damn serious.

    cheers,
    metric
  • Careful not to feed the trolls too much are they'll get a stomach ache. Or something.....
  • by stilwebm ( 129567 ) on Monday May 28, 2001 @03:24PM (#192302)
    Sourceforge is probably not withholding information because they don't want people to try it again. Whenever there is a complicated compromise, it can take weeks to figure out what has been compromised and how. Generally the priority is to get the system running again, which typically requires a completely fresh start for the operating system. When a system is compromised, it is easy to tell for some thing what probably has been compromised (such as the password files in this case). But most hackers hide their presence from logs as much as possible - even script kiddies do that. Otherwise they would be detected before they got very far, and it would be easier for the victims to figure out how they were compromised.
  • Insurers charging more if you use NT [zdnet.com]

    J.S. Wurzler Underwriting Managers, one of the first companies to offer hacker insurance, has begun charging its clients 5 percent to 15 percent more if they use Microsoft's Windows NT software in their Internet operations. Although several larger insurers said they won't increase their NT-related premiums, Wurzler's announcement indicates growing frustration with the ongoing discoveries of vulnerabilities in Microsoft's products.

  • by Salsaman ( 141471 ) on Monday May 28, 2001 @02:44PM (#192309) Homepage
    How about this one [attrition.org] ?
  • by marm ( 144733 ) on Monday May 28, 2001 @06:14PM (#192314)

    Those graphs are very misleading, because they lump NT4 in with Windows 2000. It is widely known that NT4 had serious issues, which isn't surprising, since it was designed prior to the real internet explosion -- IIS was originally an add-on.

    That's a ridiculous argument. Regardless of what it was originally designed for, Microsoft ended up selling NT4 as an Internet server OS. If, as you readily admit, it had serious issues, then why were they promoting it as a premium Internet-capable OS in the first place? Further, when the server technology changes again in the future (and believe me, it will), how can you possibly trust Microsoft to get it right given the mess they made of transitioning NT4 to the Internet and webserving?

    Second, I should point out that Linux, and indeed every other Unix and Unix-alike, was designed before the 'real internet explosion' too. Indeed, if you trace back the lineage of 'proper' Unix, it was around when the internet was just being born, and many years before the arrival of TCP/IP, let alone HTTP. A webserver is still an add-on for most Unices and yet they seem to be able to cope quite adequately and securely with it.

    Third, all the other OS stats combine current and previous versions of the OS together. Given that Windows 2000 is merely NT5, why should it get any different treatment?

    Finally, go have a look at Attrition's website defacement stats for May 2001 so far [attrition.org] (although Attrition are no longer mirroring defaced websites, they are still compiling statistics on defacements). Here NT and Windows 2000 are treated separately. You will notice that although NT is by far the most defaced, Windows 2000 comes second with some 29.55% of all defacings (all this information correct at time of writing). This compares to a total of 8.99% of all defacings for combined versions of Linux. This is a quite remarkable achievement for Windows 2000, to achieve this in just 18 months since its release - over 3 times the defacement rate of Linux. Well done Redmond!

    Oh yes, for those of you who need a reality check about market share in the webserver market, this is the latest Netcraft survey [netcraft.com]. Sadly, the statistics by OS are not available without paying Netcraft (come on, we know it's the SSL survey that you make money from, please give us some hard OS information for non-SSL sites). However, it would be conservative to assume that approximately 60% of all Apache sites run Linux, and that figure still gives Linux twice the market share of NT and Windows 2000 combined. If we make another very conservative assumption, that Windows 2000 is half of that combined Microsoft figure (the following figures get worse for Windows 2000 the lower that share is), then we get this rather amazing figure:

    Taking even very conservative estimates, a Windows 2000 webserver is currently at least 12 times more likely to be defaced than a Linux webserver.

    I think that says it all.

  • The bit about SSH from the SF email:
    To prevent risk of SSH key data having been compromised, we have also removed any SSH key data you had previously posted to the SourceForge project CVS servers or shell servers, either directly or via the SourceForge website. If you had not posted SSH key data to the SourceForge site or the shell or CVS servers, this paragraph may be disregarded. We request that you review the SSH keys (authorized_keys) and use the 'Edit keys' link on your Account Maintenance page (https://sourceforge.net/account/editsshkeys.php) to post those public keys you are actively using. It should be noted that both SSH1 and SSH2 public key data (identity.pub/authorized_keys/authorized_keys2) may be posted via this interface.

    This is a useless measure, as all that is stored in the authorized_keys files are the public key hashes, which cannot be used to compromise any other systems. (Not unless they get more data about the key or find a way to reverse the encryption, but I count that as highly unlikely.)

    The only thing that could come out of having the public key hashes stolen is that we could maybe login to the systems of the bastards that hacked SF and get our revenge.

    Thusly, SF has wasted a chunk of time for everybody by obliterating our public keys.


    ICQ# : 30269588
    "I used to be an idealist, but I got mugged by reality."
  • Ya know, its inevitable that someone will bring this up in any slashdot story on either opensource or microsoft. I think we need to have a "law" about it, and I'd like to suggest that it be named after me.

    (C'mon, please? I've never had a law named after me before.)

  • What are the implications of this security break in?

    It is a secret plot to chew up bandwidth! The bastards knew that the ensuing discussion on /. would foul up network traffic for hours!!

    Seriously, though, think about the annoyance and loss of productivity for all of the people and projects that depend on sourceforge, not to mention the PITA that it will be for the sf admins over the next several weeks. This would NOT be the first time that a pissed off employee tried to screw his former employer...
    -bluebomber

  • "Not releasing the source code would solve many security problems."

    No, not releasing the source would hide many security problems. Probably only temporarily.

    -Gabe

  • My IIS server got hacked! Of course I never tried to secure it cause I had nothing on it....
  • by InsaneGeek ( 175763 ) <slashdot AT insanegeeks DOT com> on Monday May 28, 2001 @02:13PM (#192329) Homepage
    This could be extremely BAD, think about if someone were to add, modify just a couple of lines of code. As long as people have been keeping original, master copies offsite it shouldn't be too dificult to get things back to normal.

    But could you imaging though, if someone were to add/modify 4-5 lines off code and you didn't have another copy offsite? You would have to remember why every single line of code was there, you couldn't trust the comments telling you why this procedure is there.

    For an example: It would be very easy to add code to add, "allow-anyone with this password to get a root shell" lines to a compromised box. Now lets say it's an ISP running an IMAP server they get off of Sourceforge, gets a new version. The program appears to run just like it's supposed to, they never would know that there is a 3 line, fork shell process code added into it. Being an ISP they have to have this program accessible to anyone anywhere, so they can't have this program behind a firewall. Along comes the wiley hacker who compromised the code to begin with... *poof* root shell on box.

    That is the scary part, without being able to go back to a true "golden" state, EVERY single line of code has to be checked, without relying on possibly forged comments. Comparing MD5 hashes could tell you if the program has been modified, but some programs are modified hourly, most of these don't have checksum information.
  • It was Shoeboy! [sourceforge.net]
  • Sourceforge also has a customer base [valinux.com] to whom they might want to communicate security issues prior to letting the world know.

    I'm not saying this is the case, I'm just speculating.

  • Running queso on sourceforge.net reports :

    216.136.171.196:80 * Novell Netware TCP/IP

    Coincidence ?

  • by atrowe ( 209484 ) on Monday May 28, 2001 @05:33PM (#192340)
    "How dose it work?
    Well you set it up and tell it what you are doing. It installs all the software etc and sets everything up at the WORST possable setting."

    I think someone [redhat.com] beat you to it.

  • by atrowe ( 209484 ) on Monday May 28, 2001 @02:09PM (#192341)
    Typical Slashbot reaction. An open source site gets hacked and your response is "Yeah, well, it happens". If it were an NT/2000 based site you'd all be blathering about how crappy Microsoft is and why everyone should use Linux.

    As a side note, you're absolutely right. Security breaches are a fact of life on the Internet and no site is 100% secure. Just remember this the next time there's a story about a MS site getting cracked and try not to get all high and mighty about it because Linux, just like every other piece of software is NOT 100% secure.

  • give them credit for doing the right thing. Locking everything down, correcting the problem, and notifying the user. The last step for them to pull this off with absolute dignity is to release how it happened and what to do to fix it.

    They've already done more than what is the usual for most companies.

  • Those graphs are very misleading, because they lump NT4 in with Windows 2000. It is widely known that NT4 had serious issues, which isn't surprising, since it was designed prior to the real internet explosion -- IIS was originally an add-on.

    In contrast, Windows 2000 is much more secure and infinitely more stable out of the box than NT4. Of course there are some issues that need to be patched, but that's life.

    Bottom line: don't try to mislead people by pretending that those numbers are for Windows 2000; most are a result of widely-known NT4 holes that admins haven't bothered to patch.
    -------
    -- russ

    "You want people to think logically? ACK! Turn in your UID, you traitor!"
  • Plus the fact that when you buy Microsoft, you get lots of features that are guaranteed to work together and meshed in a nice, easy to use package. Microsoft offers end-to-end solutions with little overhead -- something that none of the Open Source distros can come close to claiming yet.

    As far as features go, the ones that ensured we wouldn't be adopting Linux are: ACLs, Directory Services, and ease of use.
    -------
    -- russ

    "You want people to think logically? ACK! Turn in your UID, you traitor!"
  • If they didn't provide full source for it, we could bust 'em for violating the license ;).
  • In my experience, even nmap's fingerprinting feature is often insufficient. And there are also countermeasures against OS fingerprinting.

    For example, on Linux one can use something like ippersonality [sourceforge.net] to mangle the responses to potential fingerprinting attempts, and make your computer look like running another os. Too bad the authors haven't updated the code recently, the most recent version seems to be made for 2.4.0test4.

  • Somebody might have got some of the sourcecode from the projects!
    Oh, wait.
  • This has nothing to do with open source. Securing a machine where people are shelling is difficult, even with chroot'd environment. It would have happened just as easy on Solaris, Aix, or BSD.
  • Sometimes it isn't easy to figure out exactly what did happen after the fact. In addition, they could still be in the proccess of fixing the problem even though they've publicly stated it has been fixed. Remember all those times when your dialup ISP told you it was your telephone company's problem to get you stuck in a loop of call centers to get some time while they fixed a few authenication servers that went down at the ISP. :P
  • If they do, RMS will bust them to change name to GNU/Sourceforge.
  • Hear, hear. But when a Microsoft-based site is cracked, even though the patches have been available and publicised on the MS security site, via their email Security Alert service, as well as via Bugtraq and NTBugtraq, isn't that due to bad sysadmin as well? You could certainly make the case that a much higher percentage of Microsoft admins are *likely* to be clueless / lazy about applying patches diligently... although how Linux admins of reasonably functional workstations stay sane, I can't imagine. Unless you assume that anyone on your LAN is trusted (a bad mistake IMHO)... I've frankly given up on patching my (Mandrake) box, there's waay to much software to keep track of, and life's too short to spend hours a day reading Bugtraq, downloading and applying patches when yet another buffer overflow is found in Pine (or whatever)...

    Yes, of course I should remove everything except the apps I actually use... you've done that, right? Every time you want to play with / explore some new app, you install it from the CD, apply patches, and then carefully remove it when you're done with it, right? I *don't* think so :)
    --
    "I'm not downloaded, I'm just loaded and down"

  • Sure, apt (sounds) much better than RPM (and InstallShield ;)... but that wasn't really my point.

    The problem is, I tend to forget to remove software; or rather, I never quite get around to deciding that I'm done evalling them. "Ooh, can't delete that just yet, I didn't ever get to grips with $feature..."
    --
    "I'm not downloaded, I'm just loaded and down"

  • by rfsayre ( 255559 ) on Monday May 28, 2001 @03:34PM (#192360) Homepage
    What I find particularly interesting about this whole deal is how their distributed network setup has worked against them. Reading the wording of that email closely, you notice that you are being asked to change your password because you MAY have used the system that was compromised. They don't actually know.
    They might know exactly whose passwords were stolen and on which machine, but there's a good reason not to limit the password resets to that group. Since the intruder evidently has access logs, they probably include his own valid logins, which may have been different for each machine he tried. If he received an email verifying his success, this could give him even more information than he has already. The most dangerous possibility is that there are other breaches that SourceForge hasn't spotted yet. It seems prudent that they sent the email to everyone who used the system, using the term "MAY".

    Art At Home [artathome.org]
  • Seems like SourceForge is making no mention of it on their front page.

    As a user that hasn't used SourceForge for more than a week, this makes me a bit worrysome. I strongly hope that they used one-way, 128+ bit encryption on the passwords.

    SourceForge is a very large operation. Remember that. No big operation is perfect, them included. Even RSA has been cracked (their website [attrition.org], rather.)

    No operating system, not even our beloved Linux, is totally secure. It's only secure until the next bug is found. Remember, security is a concept.

    Now, I have noticed there are some Windows zealots trolling Slashdot right now about the insecurities of the open source model, a la Microsoft. As a user of Windows 9x/NT, Linux, OpenBSD, FreeBSD, and a number of various other OSes, I can tell you right now that neither is more secure.

    It only takes more time to find the holes if the software is closed-source. At least with open source, they're generally found quickly and patched quickly.

    Neither closed or open source is more secure. And no OS is completely secure. Not Windows, not Linux -- not even BSD. Sorry!

  • by Zenin ( 266666 ) on Monday May 28, 2001 @03:04PM (#192366) Homepage
    When we yell about this site or that site getting cracked while using MS products, it is typically tied with a report explicitly stating that it was, infact, a MS product that had the security hole.

    But right now, we don't know anything about this attack. We don't even know if software is to blame. It could be a bad admin, it could be a buggy kernal patch, it could be someone sniffed an admin's root password while they unknowingly used a cracked copy of MS Terminal on a Windows box...

    Until we know what actually happend we can spin it any which way.
  • by euphline ( 308359 ) on Monday May 28, 2001 @05:45PM (#192371)
    I propose that it is conceivable to build a login system where no one server receives an entire piece of a login.
    A system with the same end result exists. It's known as dual-authentication SSL or client-authentication SSL or simply "cert based access control". In this type of an environment, the way it would work would be this:
    • a user, when creating their account, instead of a password [or in addition to a password] would say, "Here's my digital certificate."
    • The site would cache the user's public key.
    • Then, when the user attempted to access the site, an SSL connection would be created that would authenticate not only that the user was really talking to SourceForge (or whatever site) (which is what we all tend to think of SSL as doing) but also would authenticate that the user is in possession of the private key associated with the certificate.

    Since a private key cannot be derived from the public key [within a reasonable period of time, given an adequate key length], the public key would be worthless to anyone compromising the server. [As well, by doing this, you put the burden of security on the client. If a SourceForge patron does not adequately secure his/her private key, (or chooses not to participate... it could be an optional feature) then he/she takes the risk of having his/her password compromised, in the case of a server compromise.]

    -jbn

  • by philthechill ( 316949 ) on Monday May 28, 2001 @02:55PM (#192382)

    Signed distributions don't really protect against this - you pretty much have to audit all the changes since the last distribution before security was compromised, assuming you know when security was compromised. If you don't know when, then it's probably wise to audit the entire source for your project.

    The solution to this kind of problem does involve digital signing, though - digital signing of each code check-in by the author. This way you have accountability for each check-in, and you can just prune out all the "anonymous" check-ins. As long as you keep your private key safe on your dev box, compromises to the repository can't be undetectable (though they can go undetected if you're not looking for them).

    I wonder how hard it would be to modify CVS to add a little delta-signing? Might not be possible if CVS uses reverse deltas (like most repositories do).

    Basically you want to be able to run a utility on the source tree that verifies the identity of each check-in by cryptographically verifying an actual file hash signature of some sort. It would need to maintain a collection of the public keys used in signing to do this, so you need some key exchange protocol. In order to verify the signature of each check-in, we need to know what the set of data is for each check in. Typically it is a "delta" (basically the output of diff), or a set of deltas for a merge.

    The problem with signing the deltas is, most modern systems don't keep the deltas. Instead, they update the "tip" with your changes (this is an optimization, since the tip is the most requested version (with the exception of our waitress the other day, who said "I don't want the tip, baby, I want the whole thing!")), and then generate "reverse deltas" which are applied to the tip version if you need to go back in time.

    On the other hand, the forward deltas can probably be computed from the reverse deltas, so signatures on normal deltas could be verified with some computation. Alternately, the reverse deltas could be computed by the client (this is probably bad performance-wise) and signed.

    Better yet, since we're client-server-ish with CVS, you could submit your changes, the server could hash the set of reverse deltas after it's computed them, send the hash back to you, and you could sign (encrypt with your private key) the hash and send it back.

    That way, there is a quick way to verify who made each set of changes, without too much network bandwidth lost. To verify, the server can take the hash of the existing set of reverse deltas from a particular merge, then use your public key to decrypt the "signature" hash, and compare. If they are the same, then the delta files have not been tampered with.

    The question with this approach is, how do you protect the tip? In a reverse delta system, protecting the deltas is only half the battle (well a lot of things are half the battle! Losing is half the battle!) If you can't verify the authenticity of the tip, then an intruder can modify the tip and not touch the deltas, and you couldn't detect it. That's bad. I think in order to protect the tip, in addition to signing the hashes of the deltas, you should also sign a hash generated from the full and updated versions of all the files you touched with your merge. This way we should be able to verify both the tip versions and all the deltas, and have some accountability (we can associate 'nyms with each public key we have).

    Sounds like you would need to alter the pserver protocol, add some hashing to the post-merge processing, and update the clients with some GPG code so they could sign hashes.

    Any volunteers? ;)

    Phil

  • Big web sites have these from time to time, shake things up, keep everybody on their toes, give us all something to think about. It's too bad it happens to ones on our side, of course. Guess something besides their source was left open, huh?


  • No, they should not provide more details until they have the situation under control and have completed their forensic audit of the intrusion.

    When a system is cracked, basic OS binaries can be replaced with one that does the same function except it will now have a backdoor. And since we're talking about Linux platforms, with rapidly mutating code, it may be difficult to completely root out the compromised binaries. It can even be as simple as a subtle permission change on a device file or subdirectory.

    Someone else also mentioned that the CVS trees for projects could be compromised! And remember that a clever cracker could have compromised the system months ago without attracting attention; that could mean the backups are compromised as well. Add rebuilding "n" platforms from scratch (the only way to ensure the platform is trojan free), we're talking about a week or two of work, without even factoring in the time for the forensic investigation!

    A complete report of all details to the users (without completing the analysis and securing the platforms) informs the hacker to the progress in securing the systems and if a hole was left behind. Only debriefing the project owners is still not a reasonable option; the hacker could be someone that has a project in sourceforge.

    I hope they got some security heavy hitters to look into this and didn't decide to handle it in-house.
  • Heh, just kidding.
    This is NOT flamebait.
    Now, let's wait for them to post how it was done, like Apache did.

    Open Source Security isn't infallable... but at least we know why when all's said and done.

  • I was unable to find any kernal flaws in Win2k. However, the software bundled with Win2k, including WMP, is full of security flaws. I stand corrected.

  • The crackers might have used an alternative such as IP spoofing to gain access.

  • Sourceforge really should provide more details about how security was breached. They probably are reasoning that if they give details, other people will do the same thing. However, anyone who's interested in this sort of nonsense probably already knows.

    So, why not let the legitimate Sourceforge users have a bit more information about what happened? Perhaps some of the users might have an idea for a fix, or at least a way to protect their own work. Heck, we don't even know the nature of the breach, do we? Was data stolen? Corrupted? What? Inquiring minds have a legitimate need to know.

"Marriage is low down, but you spend the rest of your life paying for it." -- Baskins

Working...