Multiple Vulnerabilities in OpenSSL
gfilion writes "Updated versions of OpenSSL are now available which correct two security issues: A null-pointer assignment during SSL handshake and an out-of-bounds read that affects Kerberos ciphersuites. Full advisory available on OpenSSL site and US-CERT."
News at 11
/. front page news? This came out on the FreeBSD mailing list 36 hrs ago, and a fixed version of OpenSSL is already available.
Honestly people, is this really
CVSup; make buildworld && make installworld
Problem solved.
**AA: a bunch of mindless jerks who'll be the first against the wall when the revolution comes
According to this link ;)
Here
There are three vulnerabilities.
This was, like, sooo yesterday on the Bugtraq lists
Bored? Why not join a decent mess
which they do regularly anyway, thanks to cheap-ass Fry's RAM, ECS motherboards that cost $19.95, and republican style electricity service.
I'll update when I feel like it.
A good admin doesnt need /. to tell them that their OpenSSL is vulnerable.
Already updated, but (w/o Kerberos) could this actually lead to anything more than the crashing of sshd and httpd child processes (assuming that's all one's using OpenSSL for)?
Please don't comment "so I guess Windows isn't so insecure, is it...". We always seem to get a few of these. OpenSSL/OpenBSD has a VERY good security track record. Is a vulnerability a problem? Yes, but when MS has OpenBSD's track record, you can compare.
Also I think this is a good news post simply because it helps to show we're not Anti-windows bias. We report security problems on ALL os's.
Oh well, sometimes you just have to combat the trolls.
I'm betting that there are a large number of sysadmins who pay more attention to /. than they do to keeping systems up to date.
because it's more complicated code than "hello, world!"
Next morning, box his linux and windows box had been compromised.
Slashdot is a great forum for this type of critical patch. Gets the news out very quickly to people who dont read the security sites everyday.
Agile Artisans
Hey, SOMEONE found out about it. Har har har!
Because people aren't whipped and beaten enough to learn to stop making mistakes.
It's not that difficult these days. Set up a cron job to do "emerge sync && emerge -uD world" or the equivalent every 24 hours. No attention required.
LOAD "SIG",8,1
I mean this is over a day old now. Why it took CERT so long to send the advisory I don't know.
Nothing really to see here folks. Both attacks crash the SSL server, so we're looking at DOS attacks and not 'holes'. This is certainly serious for the business who relies on it, but for home networks and casual use (which I'm sure is common among slashdotters) this is no sweat.
:)
Nice to hear that they found the holes, though.
~Dalcius
Rome wasn't burnt in a day.
Probally has something to do with many people being able to do code audits freely and of course submit their fix for it ;)
GeekLeak.com - Silly name, serious geeks
Mod parent up. This is hilarious !!
Probably because, as with homepages, weblogs, ammusing photoshops and 99% of everything else on the internet, the author is the only person that reads their work.
Just because it's open source doesn't mean anyone else is reading it!
Okay, maybe not less funny - but just as unfunny.
I subscribe to debian-security-announce, and I got a msg about the openssl problem sometime last night (it was in my inbox this morning).
That's the fastest and most reliable way to keep up-to-date.
This is exactly the reasons Bondage & Discipline Languages like Jave and C# exist. Every programmer wants to believe he is the alpha-type and so tries to make his code run the fastest, but doesn't want to do the less glorious work of validating pointers (perhaps encapsulated in a class if necessary for security products--something that C++ is actually good for), checking bounds, and documentation (one of the most overlooked and most important parts of an open source project--how useful is 1000 eyes if they don't understand what you are doing). Take away these difficulties, except documentation, and you minimize stupid programmer errors. Sure it doesn't run as fast, but thats hardly the prime design requirement for security software.
Set up a cron job to do "emerge sync && emerge -uD world" or the equivalent every 24 hours. No attention required.
Until someone roots the Gentoo servers....
And I don't mean Simple Object Access Protocol...
As of the time of this writing, yum repositories for Fedora Legacy 7.2 have does *NOT* have these updates!!!
I have no problem with your religion until you decide it's reason to deprive others of the truth.
i patched this like ten hours ago.
I'm in the process of trying to figure out Windows security. So far it's a bloody mess. For all the byzantine token-passing and ACL's, the damn thing is still getting compromised left and right.
Maybe they should scrap it all and start over. I don't recommend them following the Unix security model either, cause that root=god thing ain't all that either.
Considering most setups (namely FreeBSD ones) aren't affected because this is a problem with Kerberos ciphersuites and the OpenSSL code is extremely MIT Kerberos specific so this flaw doesn't affect it.
From the FreeBSD security list:
If one compiles OpenSSL oneself, *and* has MIT Kerberos, *and*
> enables the Kerberos options, *and* has all ciphersuites (or at least
> the Kerberos ciphersuites) specified in your application's
> configuration, then you might be affected. But that has nothing to
> do with FreeBSD.
> Thus, answering your question again:
>
> Isn't FreeBSD vulnerable to the second "Out-of-bounds read affects
> Kerberos ciphersuites" security problem?
>
> No, FreeBSD is not.
Whatever you do... don't release a patch for these problems anymore.. I hear from an "industry leader" that exploits only happen after a patch is released.
better safe than sorry!!!
*CHANTING*
"JUST GIVE HUGS... don't fix bugs!"
"START FROM SCRATCH... don't release that patch!"
and...so on
Obama is a twitter sock puppet
openssh uses openssl, retard
your lame attempt at being cool by using programming operators just makes you look more stupid, fucko
You're joking, right? A day is flat-out amazing. CERT used to take months to announce stuff. It was a joke; I unsubscribed because at the time, I found out about stuff in updated RPM changelogs well ahead of when I read it in one of CERT's email alerts. They'd often take over a week to send an email out about a virus that had already thoroughly spread.
Please help metamoderate.
there's a shortage of admins in the bad to mediocre range though.
Boffoonery - downloadable Comedy Benefit for Bletchley Park
Makes me wish I were running Gentoo.
maybe your should like, make a movie or something. i think it has potential.
How is the comment off-topic when all the comments to the story are pointing out exactly the same thing?
honestly moderators, you're not even trying anymore.
slashdot use experimental neural-net to handle the moderation. also, all the comments are generate by AI. come on man, wake up. take the red pill already. or else you'll be trapped in this place forever reading stories about microsoft and sco and jon kats hellmouth series.
Thanks.
Rule #1: Unsafe data should be handled in sandboxed languages.
Rule #2: Programs that are exposed to unsafe data (server processes) should run at some minimum and constrained privilege level, not as root. The "must be root to bind to ports less than 1024" rule on Unix is almost exactly the opposite of what the rule should be.
I'm sure many people who don't understand these issues will flame me or say I am trolling, but oh well, someone needs to keep bringing this up until it sinks in.
------------
Create a WAP server
Ah, but what data is untrusted? It depends on the application, does it not?
In any case, this is "only" OpenSSL 0.9.7d; imagine what 1.0.0 will be like! *snigger*
...when the "home" server I'm logging into is 400km away, it's kinda hard to get back in touch. I'd have to call up my folks and have them hit the reset button, not exactly what they (Did I do something wrong now?), me (Sigh, I have to ask the least technically compentent people for help) or the server (I swear it'll corrupt something important, Murphy's law) wants...
Kjella
Live today, because you never know what tomorrow brings
There is a minimal cvsup config for FreeBSD 4.9 - cvsup -g -L 2 and you're off and running.
*default host=cvsup6.FreeBSD.org
*default base=/usr
*default prefix=/usr
# The following line is for 4-stable. If you want 3-stable or 2.2-stable,
# change "RELENG_4" to "RELENG_3" or "RELENG_2_2" respectively.
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
# If your network link is a T1 or faster, comment out the following line.
*default compress
src-all
#ports-all tag=.
make buildworld & make installworld install *world*, which does not include anything you built out of
FreeBSD *is* intimidating at first, but if you take the thirty days of pain at the end of that time you'll be looking at your Linux boxes and wondering why you ever put up with the chaos
I am very easy to get along with, but I don't have time to waste being nice to people who are being stupid. -Theo
Guilty as charged....
I probably should have posted that anonymously...;-)
while true ; do echo this is my sig; done
Just welcome your new [NO CARRIER] overlord and get over it. It's not like your whole world suddenly collapses if someone gets modded up for a joke you don't like, is it?
Sigs for Nerds. Sigs that Matter.
When an OSS / Linux / BSD / OS X / something other than Windows flaw is found, it's serious.
It really is. You need to take it seriously and fix it. ASAP. Hopefully, most folks who run said OSes are paying attention, and will do what they need to do to secure the flaw.
That said, every time anyone uses Outlook to read email, the above looks really, really good.
Department of Homeland Security: Removing the rights real patriots fought and died for since 2001
If you have RedHat and can't do the up2date any longer, here's what I did to make mine work:
g z ./config shared --prefix=/usr
:)
wget http://www.openssl.org/source/openssl-0.9.7d.tar.
tar xvfz openssl-0.9.7d.tar.gz
cd openssl-0.9.7d
make
make test
make install
Configure with "shared" because it will install the shared library, which is needed for other programs such as SSHD. The prefix is where RedHat put its *.so files that's needed by OpenSSH.
Not sure if it's required or not, but I just restarted SSHD (uses OpenSSL) after that just in case.
Btw, the above is just what I did. I make no warranties. Follow it at your own risk.
eTrade SUCKS
Oh look, another valid post modded as a troll because it doesn't follow the Slashdot party line. Sad really.
Couple of points so that you don't get modded down again:
1. Linux rocks, always (don't question it). Even if it doesn't apply, you have to say it.
2. The philosophy behind open source is infallible.
3. Bugs in open source programs are never as bad as propietary bugs.
4. If the bug really is as bad, well it was because it wasn't licenced correctly per GPL, artistic license, etc.
I ditched OpenSSL and OpenSSH long ago. I'm tired of crappy code and new vulnerabilities. I mean it's not like I'm running wu-ftpd anymore. Right now I use gnutls and lsh instead. They probably aren't flawless but probably much better anyway. I plan to change my OpenLDAP to tinyldap as well, but I'll hold my breath until it gets write support.
I have some problems with its lack of language features, but for security-critical components memory safety, configurable security settings and controlled crashes (exceptions that can be caught and terminate just one thread) can not be beat. sshd should be written in Java, at least as an option for extra security, with as little native code as possible.
are you willing to take the performance hit to convert it to another language though?
:-)
c is just one step away from being a macro assembler, so it's very fast. it's suitable for writing hardware device drivers, something most other languages are not. you won't be seeing any gigabit ethernet drivers written in java, for example. unless you want your gigabit ethernet driver to perform like 10mbit
the reason there's pointers, etc. is because that's the way CPUs operate. C being such a lowlevel language inherits that functionality directly.
once you get into languages that do typechecking, reference tracking, etc. in order to "avoid evil pointers", you introduce a lot of overhead.
and you don't eliminate the exploits either, you just exchange the old ones for new ones.
don't depend on your programming language saving you from doing stupid things.
I see a fair number of posts from people who rely on /. to learn about security flaws. That doesn't seem to be a sensible approach. It is pretty easy to follow a security list and keep an eye out for vulnerabilities affecting your system(s). I am a home user with a simple Web server in the basement. I subscribe to the CERT list. Others here mentioned Bugtraq. I catch quite a few alerts that I don't hear about in more general forums until after I see activity in my Snort logs. Even with a nightly update via yum some things need individual attention. Case in point, a flaw in a PHP application (Gallery) that falls outside of the packages covered by yum. You have to know about it to fix it -- and the bad guys know about immediately.
Don
I'm not surprised that there is another bug. It is software and even software that aims to bring us security is written by programmers who are human and make mistakes.
/. All software is built by fallible humans and no process is 100% effective in preventing such flaws from being introduced into programs.
What this does show is that claims that open source code is inherently more secire because it is more widely reviewed and vetted are simply not true. Whether it is Microsoft or open source, we will be living with security flaws and bugs for the forseeable future.
I'd really like to see the end of the open source is more secure than closed source flame wars on
he can't hear you with his foil hat on so tight.
I'm confused. Does that mean, in addition to updating openssl, I also have to recompile openssh with the new version of openssl? Also what about mod_ssl, or anything that depends on openssl being present in order to be able to compile?
This is why you use java. How many bugs have been found in Java's SSL libraries? None that I've ever heard of, and that's not because they're obscure. Both of these bugs could never exist in java. They would both throw exceptions when encountered, and those would be handled, rather than coredumping the program.
Lets face it guys, if you're not writing an OS, a game, or a calculation based app (lapack, etc...), you're insane if you're not writing in java. That's all there is to it. Why work twice as hard so you can have twice as many bugs and support half as many platforms? It just doesn't make sense.
my $.02
Yes, there is a bug in the code. No its nothing to go nuts about. I have verified the existence in a product for our company, but you know what it does? Nada.
We use Apache + OpenSSL in our Product. When an SSL request comes in with the malicious data, Apache creates a child process to deal with it. Child process uses NULL pointer to access Memory. Process SEGFAULTs and dies. Apache remains running.
In a well architected system you protect yourself on multiple levels. Linux uses memory protection to limit the damage one bad pointer can do. Apache does the right thing and spawns child processes to deal with requests, thereby preventing problems from bringing down the whole server.
Another poster was right, many of these exploits are sensationalism to scare people and attract readers.
The argument isn't that Open Source is inherently more secure when written, but that overall it is more secure.
What's the difference you ask?
Closed source software M is found to have a bug, and that hole is open for 6 months; Open Source software S is found to have a bug, but the hole is open for 2 weeks MAXIMUM, most of the time it's fixed and patches available within 1 week.
Thus, Open Source is more secure because holes, which are, to a certain extent, inevitable, remain open for a very short amount of time, and on the whole not long enough to exploit.
A null-pointer assignment
an out-of-bounds read
Aside from the programmer's errors, if C was safer, both bugs would have already been caught a long time ago. C is clearly to blame here.
What's a little speed and RAM trade off for security? So say the C/C++ flamers... Little do you realize this is crypto for servers. OpenSSL is BSD licensed, so why don't you people port it to Java and stop whining why it was written in C and assembly in the first place? If not, then stop/don't use it.
Don't like it in C/C++, port it to your signed and trusted language. It's Open Source!!!!!!
For most applications, you are right that safety outweighs performance concerns. However, OpenSSL is in that 1% of applications where performance outweighs everything. It is a crypto library. Crypto is extremely CPU intensive.
OpenSSL is expected to run as fast as possible, to the point where parts of it aren't even written in C. The core bignum and hashing routines are written in assembly language for various platforms.
You even mentioned this caveat:
if you're not writing an OS, a game, or a calculation based app (lapack, etc...)
But you didn't seem to realize that this caveat certainly applies to OpenSSL (if ever there were a calculation based app, this is it).
In order for A to be more secure than B, it is not required that A be 100% secure. Of course all software has bugs, even open source. That does not exclude the claim that open source is MORE secure than closed source.
Logic. Learn it. Love it. Live it.
Come on, this shows nothing. The ONLY conclusion you can draw from this is that OpenSSL 0.9.7c is probably less secure than OpenSSL 0.9.7d. That's it.
Reviewing source code does not make any software more secure; because reviewing code does not change the code. The only thing reviewing does is to potentially find security flaws you didn't know existed. And that's what happened in this case. The fact that it's open source means that people other than the authors are also able to perform reviews, which in theory means that potentially more flaws will be discovered. So the fact that this flaw was discovered, and it was by a group of people other than the authors, in my opinion means that the open source model worked. We now have version 0.9.7d which is more secure.
To try to make any kind of comparison to say MS code, or even to other open source software is mostly a waste of time. And to all you Java/GnuTLS pundants, no, this doesn't prove that your pet favorite implementation is any more or any less secure that OpenSSL. Facts are facts, which are not opinions.
Honestly people, is this really /. front page news?
We get a front page headline for ever user-ran executable that is somehow labelled a "Microsoft hole." I see no reason why OSS software should be treated any differently (though sometimes it is...).
This has to be at least the 6th post that mentioned safer languages like Java... blah blah... Hello? Speed? Encryption? Nah... don't want that to be fast... DUH
It's no use ssh-ing to a box if you won't be able tu use it afterwards due to low-memory slow responsiveness.
automatic software updates were invented by non-windows and non-apple guys decades ago.
ever wondered how large companies deploy their software (i.e. Deutsche Telekom with 400.000 desktop systems?) Most of them have custom solutions far more superior than "Windows Update".
Or simply ask an average debian user what "apt-get update" means.
"Updating" is so much more than just getting the "latest" updates.
- you also need additional "dependend" software
- optionally "recommended" software
- configurations of software might also get updated
- maybe you want to stay up-to-date in a named flavour (like stable, unstable, alpha, beta, etc.)
- and it should be possible to "hold" a version or just go back to an older version.
---