Slashdot Log In
Debian Bug Leaves Private SSL/SSH Keys Guessable
Posted by
timothy
on Tuesday May 13, @12:01PM
from the security-is-a-process dept.
from the security-is-a-process dept.
SecurityBob writes "Debian package maintainers tend to very often modify the source code of the package they are maintaining so that it better fits into the distribution itself. However, most of the time, their changes are not sent back to upstream for validation, which might cause some tension between upstream developers and Debian packagers. Today, a critical security advisory has been released: a Debian packager modified the source code of OpenSSL back in 2006 so as to remove the seeding of OpenSSL random number generator, which in turns makes cryptographic key material generated on a Debian system guessable. The solution? Upgrade OpenSSL and re-generate all your SSH and SSL keys. This problem not only affects Debian, but also all its derivatives, such as Ubuntu." Reader RichiH also points to Debian's announcement and Ubuntu's announcement.
Related Stories
Firehose:Debian bug let hackers guess private SSL/SSH keys by Anonymous Coward
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.

stupid stupid stupid (Score:5, Insightful)
did I mention stupid?
this is how some of the old video games were "broken" despite using "random" numbers, the seed was always the same... leading to the same sequence of events
Reply to This
Re:stupid stupid stupid (Score:5, Insightful)
Who did this? You don't remove the seeding... stupid
That's what I was thinking too. What kind of idiot makes that sort of change?
Reply to This
Parent
Re:stupid stupid stupid (Score:5, Funny)
Reply to This
Parent
Re:stupid stupid stupid (Score:5, Interesting)
Reply to This
Parent
Updated advisory from Ubuntu (Score:5, Informative)
Reply to This
Re:Updated advisory from Ubuntu (Score:5, Informative)
Reply to This
Parent
The big question is.. (Score:5, Insightful)
But seriously, removing the code that seeds a random number generator? I can hardly imagine making such a change by accident. I may just lack a sufficiently colorful imagination, though.
(or, before resorting to conspiracy theories, we should probably ask ourselves first, "can this possibly be explained by simple stupidity?"
Reply to This
Re:The big question is.. (Score:5, Informative)
Reply to This
Parent
OSS, only as good as the last developer? (Score:5, Insightful)
But the point here is that the freedom that OSS gives you does require you to trust the whole distribution chain. In this case there was an added muppet who did something they shouldn't have thus rendering everything downstream insecure. OSS is great but it required great developers, given that it has take well over a year to get the advisory out it shows that the many eyes piece didn't work here, mainly because the eyes were looking at the original source not the botched packaging job.
The "easy to use" Linux box in the house uses Ubuntu and has this issue and like many people I didn't even think to check that the OpenSSL wasn't the REAL OpenSSL it was OpenSSL with muppet extensions. Maybe there needs to be some form of extension that warns that a package has been modified from its original source code and that the modification was done by "K. Frog" so you can determine whether to trust that package or look back to the source.
Or some sort of voting system on contributors (how very Web 2.0) so you can see how the people who touched your package were rated with the biggest weighting being given to the last person through the code (hand edited by Linus = 5 stars, hand edited by James Gosling = 5 stars, hand edited by the bloke who wrote clippy = 2 stars, hand edited by a bloke who removed a seed generator = 0 stars).
Having the code is great, but this makes me want to know much more about who last edited that code.
Reply to This
Re:OSS, only as good as the last developer? (Score:5, Insightful)
No software is perfect. when F/OSS screws up everything including the exact versions of the software where the bug began, until it is fixed is known. You know what/where/when/how, and most of the time why it happened.
With closed source software your considered lucky if you get a patch in a timely fashion.
Personally i would rather know what happened and when too.
Reply to This
Parent
What's the hurry? (Score:5, Funny)
*grin*
Reply to This
How Frakin stupid can you be? (Score:5, Funny)
Reply to This
Re:How Frakin stupid can you be? (Score:5, Funny)
BUTTERCUP: Who are you?
MAN IN BLACK: I am no one to be trifled with, that is all you ever need know.
BUTTERCUP: To think -- all that time it was your cryptographic protocol that was poorly seeded.
MAN IN BLACK: They were both poorly seeded. I spent the morning downloading a patch to build an immunity to keys being guessed.
Reply to This
Parent
2 years? (Score:5, Interesting)
Reply to This
comics (Score:5, Funny)
http://www.xkcd.com/221/
Reply to This
Too early (Score:5, Funny)
I wake up and what do I see first thing? That there is a problem with Debian's OpenSSH package and the
Now I am thinking, "What exactly is going on here? Is choking on a bucket of cocks not a good source of randomness?"
Reply to This
A great filter (Score:5, Insightful)
Reply to This
Re:It will be fixed (Score:5, Insightful)
Reply to This
Parent
Re:It will be fixed (Score:5, Insightful)
Debian people screwed up. This leaves a huge distaste in my mouth for Debian (and Ubuntu).
Reply to This
Parent
Re:It will be fixed (Score:5, Insightful)
note: When I have to run Linux instead of a BSD it's Debian and/or Kubuntu all the way since the benefits outweigh the negatives, but it's still an annoying habit of theirs.
Reply to This
Parent
Re:It will be fixed (Score:5, Informative)
I'm sure the problem will be fixed if the developers acknowledge that the problem exists. Not a big worry.
Yes, it is a big worry because any keys generated with this package are now potentially suspect. This means that anybody who's used Debian or a Debian derived distribution like Ubuntu needs to go back and destroy all host and personal keys generated since 2006. All of those keys are potentially guessable.
And that's a real vulnerability. Early versions of Netscape's SSL implementation (the first SSL implementation) were trivially crackable because of just such a vulnerability [berkeley.edu].
Reply to This
Parent
Re:It will be fixed (Score:5, Insightful)
If someone stole your crypto keys and has had them for a year...
How thoroughly might they have compromised your system by now?
How many passwords might they have stolen that you use on other systems?
What else might they have done that will give them access in the future even after you fix this?
Just regenerate your keys and no problem? The problem that guessable keys are generated will undoubtably be fixed asap, if not already. The problem that this has been the case for the last year will not be, and is a big worry.
Reply to This
Parent
Re:It will be fixed (Score:5, Informative)
This has the potential to turn into a huge pain in the arse for Debian based shops, who will need to reissue SSL certificates, SSH keys, and a whole host of other essential elements of their security infrastructure.
Reply to This
Parent
Re:You stupid god damned open sourcers (Score:5, Insightful)
Yeah, like all those times when MS cut checks for all their customers whose computers were compromised! Oh, wait...
Reply to This
Parent
Re:Of course... (Score:5, Insightful)
... and regenerate all the keys, yes? It isn't quite as simple as you suggest...
"All OpenSSH and X.509 keys generated on such systems must be considered untrustworthy, regardless of the system on which they are used, even after the update has been applied."
Reply to This
Parent