MIT Warns of Critical Vulnerabilities in Kerberos 5
kinrowan writes "MIT, inventor of Kerberos, has announced a pair of vulnerabities in the software that will allow an attacker to either execute a DOS attack or execute code on the machine. Some details of the story are at SearchSecurity as well as ComputerWeekly. Details of the advisories themselves are also available. The vulnerabilities also affect the VPN 3000 line of Cisco VPN concentrators."
What doesn't cause a DoS attack now adays? If DOS still stood for Disk Operating System, and we all used that, we'd be safe.
Oh well, guess we had a lot of news going on the past few days...
These are vulnerabilities in a particular implementation of K5, not in Kerberos itself. I think it's an important distinction.
"...it is trivial to construct a corrupt encoding
which will trigger the infinite loop...
Microsoft's directory service has "embraced and extended" Kerberos ... does it also have this vulnerability?
http://www.mandrakesoft.com/security/advisories?na me=MDKSA-2004:088
Has anyone seen exploit code in the wild yet?
Only if they're configured to authenticate against a KDC. From the Cisco advisory:
Cisco VPN 3000 Series Concentrators not authenticating users against a Kerberos Key Distribution Center (KDC) are not impacted.
Get your own free personal location tracker
It would be interesting if the Windows implementation of Kerberos used in AD was vulnerable too. Apart from MIT, and Windows, who uses Kerberos nowadays? Doesn't SSH, and public-key based authentication pretty much make the whole thing irrelevant?
Get your own free personal location tracker
Judging by how well Microsoft's kerberos plays with others, I'd say it's less of a 'clean room' implementation and more of a 'bachelor pad' or 'dorm suite' implementation.
"Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
would some one explain what kerberos does and how it works? and how one exploits a double-free?
Some drink at the fountain of knowledge. Others just gargle.
http://www.debian.org/security/2004/dsa-543
It's long been known that to get around Kerberos, all you have to do is throw him a sop.
Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
Umm.. most of the .mit.edu computers are students' own dorm room computers. Mit doesn't care what people do with them unless they start disrupting the network operations.
It is a pretty good deal with a fixed ip address, your own mit-domain name and a direct hookup without any extra firewalls or nats. I know I like mine. However, smarter than average kids do not necessarily good sys admins make. A hack on an "mit"-computer seems to enjoy questionable prestige especially in asia even though nobody ever hacks the university's computers.. just random people's personal ones. What's so great about defacing some bio-major's laptop..
Iowa State University also uses kerberos for for their entire system and I think several other universites do too if I remember from my searches on how to set up my linux e-mail to work correctly with it. On a related note, does anyone know of a linux e-mail client that actually will use kerberos_v5 authentication well? I've tried setting up fetchmail to do it, but kerberos_v5 isn't compliled in by defalt and there seems to be some bugs in the code that prevent the compile from working now that MIT has changed a few pieces of the code. Oh and I'm running Mandrake btw. I'd really love to stop using webmail so any sugestions would be great. Thanks
Because it's wrong. This vulnerability is very hard to exploit and there isn't an exploit in the wild. So what you're saying really isn't relevant to this discussion.
read the comments, even the +5 buggers make it clear that the writeup and the source article were complete rancid crap, even perhaps outright fabrications!
the story got posted the way it did simply because it was sensational and slammed microsoft in a super-snotty manner. so hey, my point still stands, whaddya know.
I suppose it is pointless to argue about whether or not Microsoft borrowed code unless you are prepared to file a law suit that will force Microsoft to show everyone their code. But I would not put much faith into the word of a corporation which has been found guilty of corporate misconduct when it comes to dealing with competitors and customers.
What I can say though is that after doing some TCP and UDP IP socket programming in Windows and in linux the API, header files, and what not sure seem to be earily similar for Microsofts TCP/IP stack to be a "clean room" implementation from non "tainted" programmers.
burnin
Having looked at the source code (our product incorporates a KDC and we had to patch it the other day when this story broke), the double-free problem is essentially a regression that crept in a few versions ago.
Someone at MS commented a few days ago (it was picked up by cnet i think) that their "Kerberos" implementation is not vulnerable to the double free because it's their own code. But of course MIT's implementation is not GPL-licensed so MS could easily have stolen^H^H^H^H^H^H adapted it just as they did with BSD's TCP stack.
Has anyone bothered to do behavioral scanning of MS's "Kerberos" to see if it matches up with MIT's?
No, ive not read the real articles yet ( they dont seem to load from here ) .. but does this also efect Microsofts Active Directory?
---- Booth was a patriot ----
go to:/ linux /core/updates/2/i386/
http://download.fedora.redhat.com/pub/fedora
and grab krb*
Or use yum, up2date, etc.
actually MIT cares A LOT what students do with their machines. i can't tell you how many times they threatened to shut down our house network because someone's windows box didn't have all the necessary security updates.
they are continually monitoring for vulnerable hosts on the MIT (18.*) network. my guess is that you won't see the above-mentioned vulnerabilities persist for long.
Like I said.. "unless they start disrupting the network operations." Windows worms fall under this category.
In my experience, unless you're running kazaa with a high volume of uploads (some people still don't disable the uploads) or are spreading worms from your computer, they do not care. In either of these cases they generally tend to disable the network drop in your room (works for I/S ran places like most of the dorms, but not fraternities).
Generic worm patterns are relatively easy to detect but anything more complicated will go unnoticed for sure.. If somebody roots your linux box nothing is going to happen unless that particular box begins to misbehave in disruptive ways.
...about "many-eyes" on the source always being more secure is deflated somewhat by this, if, in fact, the MS implementation does NOT have this flaw because they developed their implementation from spec.
I guess "sharper eyes" are better than "many eyes"...
What you think would happen if everyone disabled upload and be leech like you? Exactly, there would be no more Kazaa of any other P2P network left. Therefore I'm confident that Inburito is actually RIAA/MPAA employee. Beware!
ISTR that Kerberos 4 is flawed at the protocol level, not just implementation. Does anyone else know about this one?
The living have better things to do than to continue hating the dead.
About two weeks ago, we had an issue with our SSHD server. I didn't have Kerberos enabled but someone sent a malformed handshake that crashed the ssh server. It turns out the version of OpenSSH we had installed by default had Kerberos enabled. The later versions do not, so if you're using OpenSSH, make sure you're using the latest version.
In this case, /. missed the train.
Since i have to help support 10,000+ windows machines, i would not look foward to having to patch for such a fundamental flaw...
---- Booth was a patriot ----
Who are these MIT guys anyways and what do they know about anything? Ha!