News for hackers. Stuff that matters.
Re:Horde backdoored by bryanh on Tuesday February 14, 2012 @01:48PM (#3591214)
I've always been very trusting of open source software. I've often thought "surely someone else has looked through this source code" and just assumed that malicious code never hits stable releases. The same goes for "verified" binaries, packages, etc... apparently that is not always the case.

What are the possibilities that such code could make its way into some piece of extremely popular public facing software, say Apache? How many cleverly hidden "bugs" already exist that open us up to complete pwnage for the clever bastard behind them?

Just think about the havoc someone could do with a few popular but nasty PyPi or RubyGem packages...

Re:Horde backdoored by lunarscape on Tuesday February 14, 2012 @06:02PM (#3592208)
Did you read the link as I did? The server hosting the packages was compromised. This could have happened to any software, not just open source, and I'm sure it has.

>The same goes for "verified" binaries, packages, etc... apparently that is not always the case.

If proper package signing was in place, like most modern distros support, then this couldn't have happened. The backdoor was not in the main code in SVN or in Git, which specifically protects against this exact problem, but added to unprotected releases dumped on a server.

>What are the possibilities that such code could make its way into some piece of extremely popular public facing software, say Apache?

No bad code was added to the code base.

Re:Horde backdoored by ezyang on Tuesday February 14, 2012 @06:37PM (#3592301)
> The backdoor was not in the main code in SVN or in Git, which specifically protects against this exact problem

Pedant alert, but Subversion doesn't protect against malicious manipulation; it doesn't checksum its commits.

Re:Horde backdoored by rmccue on Wednesday February 15, 2012 @12:53AM (#3593215)
I think that phrase was intended to relate to just Git, although I could be wrong.
Re:Horde backdoored by exDM69 on Wednesday February 15, 2012 @02:48AM (#3593506)
Git uses a lot of hashes but they're for speed, not for security. If you want security from Git, you must cryptographically sign your commits, which is pretty common in big projects.
Re:Horde backdoored by lunarscape on Wednesday February 15, 2012 @05:14PM (#3596376)
I was specifically referring to Git.
Re:Horde backdoored by kylemaxwell on Tuesday February 14, 2012 @02:10PM (#3591301)
While those points all matter, don't think of this as an open source issue. This can happen to any software provider, and often does.
Re:Horde backdoored by Palomides on Tuesday February 14, 2012 @02:21PM (#3591351)
the back door wasn't ever in the version control, it seems, which means it was probably someone broke into the servers storing the code after it was packaged. code is definitely read by someone, but open source projects never have the resources to continuously audit ever single package they have for download.
Re:Horde backdoored by throwaway64 on Tuesday February 14, 2012 @07:12PM (#3592404)
on the contrary, many open source projects sign and hash their packages, to anyone that verifies the signature and hash, the tampering will be immediately apparent.
Re:Horde backdoored by loeg on Tuesday February 14, 2012 @10:51PM (#3592937)
Anyone who can backdoor a release on their FTP server can easily upload a new CHECKSUM file. Many users probably do not bother to check the hash. Even if you use public key crypto to sign the hash, users probably don't know your public key in advance. An attacker can sign their malicious hash with any valid public key they like.
Re:Horde backdoored by throwaway64 on Tuesday February 14, 2012 @11:18PM (#3593010)
yes, and its turtles all the way down, but its much harder to compromise (multiple) key servers than a simple download mirror. Its also trivial to setup some sort of totally unknown checking setup, that downloads the packages daily and checks if they are properly signed, and activates big red sirens if it is not.
Re:Horde backdoored by DanBC on Tuesday February 14, 2012 @07:21PM (#3592433)
MD5 hashing is known weak, and must not be used for security.

MD5 hashing is currently used to give quick and simple check on transmission download errors, rather than malicious attacks.

Re:Horde backdoored by exDM69 on Wednesday February 15, 2012 @02:45AM (#3593502)
That's why you should use SHA-hashes when you need cryptographic security.
Re:Horde backdoored by warp on Tuesday February 14, 2012 @01:58PM (#3591255)
Typically the people looking "through the source code" are the developers working on the the project. Both occasional contributors who want to fix a bug or add a feature for themselves, or the main developers taking those patches and adding them to the main release branch after reviewing the code.

All those developers use VCS repositories, not the releases distributed through FTP sites and such -- which were the files affected here.

Re:Horde backdoored by brador on Tuesday February 14, 2012 @02:11PM (#3591306)
Wasn't there a serious backdoor situation with some Linux distros (Ubuntu?) last year? Some guy came out detailing a 10 year contract of silence or something...
Re:Horde backdoored by kijin on Tuesday February 14, 2012 @02:28PM (#3591380)
You mean the OpenBSD IPSec backdoor controversy? Nothing found AFAIK.
Re:Horde backdoored by eneveu on Tuesday February 14, 2012 @04:00PM (#3591790)
Re:Horde backdoored by dignan on Tuesday February 14, 2012 @02:15PM (#3591324)
As I recall, numerous developers and security experts tore through the relevant code there, and they didn't find anything.
Re:Horde backdoored by zalew on Tuesday February 14, 2012 @04:40PM (#3591907)
security is not a matter of being open or closed source
Re:Horde backdoored by quantumhobbit on Tuesday February 14, 2012 @03:59PM (#3591789)
"given enough eyeballs, all bugs are shallow" There aren't enough eyeballs.