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
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.
And a dog doesn't need slashdot to tell him where the nearest bone is buried.
Point being: slashdot isn't news for good admins. It's news for nerds that are hopelessly wrapped up in battle between Open Source and the evil Micro$haft corporation that they fabricated to bring some drama to their dreary lives.
Hellooooo -1 country!
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
Okay, maybe not less funny - but just as unfunny.
Next morning, things were hosed. :(
The moral is if you need SSH, FTP or any other service up, keep one eye BugTraq... but slashdot posts a lot of the good ones for those of us who don't have time to read everything.
But, if you don't have a need for the service, shut down the port! NEVER leave up a port you don't need up. There are tons of script kiddies out there just trolling for an opening. If you don't belive me, just turn on the logging for your router and watch the probes go rolling by.
Agile Artisans
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....
It puts the patches on the server, or else it gets the hose again.
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.
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
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
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
If you need the program to run, its init's job to keep it running and init does a fine job doing exactly that.
I guess you start your critical ssl apps out of the rc scripts don't you?
A well built server can take a # kill -9 -1 and still keep on going. (thats kill -SIGKILL every process)
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
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.
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).