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."
For those of us not on the FreeBSD mailing list, it is.
In particular, if you were running OpenSSH on Windows, which still depends on OpenSSL, then you are still in trouble. This isn't an OS security problem, it's a library security problem.
Karma: It's all a bunch of tree-huggin' hippy crap!
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.
It's certainly front page news if there's a non-exploitable flaw in Windows for which a patch has been released.
cvs, make and build sure.. But when it's click windows update, somehow it's some monumental task thats just the worst thing imaginable.
I don't need no instructions to know how to rock!!!!
Okay, maybe not less funny - but just as unfunny.
Copy it from
Over a period of several updates, how do you avoid having stale libraries/executables/config files scattered all over your machine?
That's a fine question indeed. What I do is:
make DESTDIR=/usr/local/fake_root distrib-dirs distribution
make DESTDIR=/usr/local/fake_root installworld
make DESTDIR=/usr/local/fake_root installkernel KERNCONF=foobar
/usr/local/fake_root and stuff in /. I like find and sort and vimdiff to do that. It's not super elegant, but you don't have to do it too often if you're tracking something like RELENG_4_9, since rarely do things get updated. What you would use it for is when you make changes to the base, which leads me to:
/etc/make.conf, do:
Then you can compare the contents of
Is there a risk that 'make installworld' will silently overwrite a functional replacement previously installed from ports?
Yes! But you can get around it. In
NO_SENDMAIL=true
Now sendmail won't be built, although its stale files will hang around; refer to point 2 above.
You'll also, in rc.conf, want:
sendmail_enable="YES"
sendmail_flags="-bd"
sendmail_outbound_enable="NO"
sendmail_submit_enable="NO"
sendmail_msp_queue_enable="NO"
At least for Postfix, which you say you use.
Anyway, we need to rewrite the entire thing in the elegant languages of the 21st century. I suggest this
"She's a scientist and a lesbian. She's not going to let it slide." Orphan Black
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.
Sure, it's entirely possible to write perfect C code with no mistakes, and it's possible to not validate input on Java code and make plenty of mistakes. You gave a great example: SQL injection attacks. Java has some great defenses against that: Use java.sql.PreparedStatement instead of java.sql.Statement. Even better, use something like JDO to give an abstracted OO view of the data.
Here's where C breaks down: The human mind doesn't think in the right way to use C safely. We can't change the human mind (yet), but we can change which language we use. Humans just don't spot out-of-range errors, for example, but out-of -range errors are all trapped in Java and also because Java collections know their size (unlike C arrays/pointers) out-of-range errors are much more obvious.
Also, saying that "if you validate your input you can run it at any priv level you want" is just the wrong way to think about this. Mistakes will happen in any sufficiently large system (ie, any system that is large enough to be useful today). The only reasonable thing to do is to contain those mistakes, which means isolate processes and functions.
Or you can keep on repeating "nothing bad would ever happen if we didn't make any mistakes!" I guess if that's what you think, I can't change your mind.