Slashdot Mirror


Massive, Coordinated Patch To the DNS Released

tkrabec alerts us to a CERT advisory announcing a massive, multi-vendor DNS patch released today. Early this year, researcher Dan Kaminsky discovered a basic flaw in the DNS that could allow attackers easily to compromise any name server; it also affects clients. Kaminsky has been working in secret with a large group of vendors on a coordinated patch. Eighty-one vendors are listed in the CERT advisory (DOC). Here is the executive overview (PDF) to the CERT advisory — text reproduced at the link above. There's a podcast interview with Dan Kaminsky too. His site has a DNS checker tool on the top page. "The issue is extremely serious, and all name servers should be patched as soon as possible. Updates are also being released for a variety of other platforms since this is a problem with the DNS protocol itself, not a specific implementation. The good news is this is a really strange situation where the fix does not [immediately] reveal the vulnerability and reverse engineering isn't directly possible."

93 of 315 comments (clear)

  1. Oh cool! by RockMFR · · Score: 4, Funny

    http://www.doxpara.com/

    Your name server, at 65.24.7.3, appears vulnerable to DNS Cache Poisoning.

    Sweet!

    1. Re:Oh cool! by brunascle · · Score: 5, Funny

      http://www.doxpara.com/

      Your name server, at 65.24.7.3, appears vulnerable to DNS Cache Poisoning.

      In fact, we arent even www.doxpara.com, we just hacked your name server. That's how we know.

    2. Re:Oh cool! by GeffDE · · Score: 5, Insightful

      Seriously, is an IP address too much to ask?

      Article should be modded +1 Ironic because the links necessitate the use of DNS...at the very least, the DNS checker should have been a straight IP.

      WTF?

      --
      It has been a nervous year, with people beginning to feel like Christian Scientists with appendicitis.
  2. Re:So give a layman explanation by X0563511 · · Score: 3, Insightful

    Dan Kaminsky discovered a basic flaw in the DNS that could allow attackers easily to compromise any name server; it also affects clients.

    If you don't understand that, you don't need to care.

    --
    For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
  3. More independent verification needed by suso · · Score: 3, Insightful

    Here everyone, install this patch to your Unix/Linux DNS servers that was conceived of on the Microsoft campus.

    While if true, one should be expedient to fix it, one should also be careful to verify that this is true.

    1. Re:More independent verification needed by suso · · Score: 3, Insightful

      Well of course it is. Anyone can make a list. From the investigating I'm doing right now, it does seem to be legit. But I just think its important to be careful. Don't just blindly patch what is probably the most critical service on your network.

    2. Re:More independent verification needed by Anpheus · · Score: 2, Funny

      If you're using a Linux DNS server that's open source, why don't you just read through the source code and find out what changed, I mean, psht, it's so easy?

      Yes, I'm being sarcastic.

    3. Re:More independent verification needed by dvice_null · · Score: 5, Funny

      > Microsoft's own DNS implementation is also affected

      Did anyone else notice that today is Tuesday?

    4. Re:More independent verification needed by Nos. · · Score: 2, Informative

      Except your Unix/Linux server is probably using BIND , and ISC has released a patch (and lots more information): http://www.isc.org/index.pl?/sw/bind/bind-security.php

    5. Re:More independent verification needed by cduffy · · Score: 2, Insightful

      If you're using a Linux DNS server that's open source, why don't you just read through the source code and find out what changed, I mean, psht, it's so easy?

      Yes, I'm being sarcastic.

      Why the sarcasm? If you're hiring sysadmins who aren't also system-level developers, you're not hiring people who can Do The Job Right.

      Granted, it's not realistic to read through every patch from upstream... but if it's something you consider that critical and are that suspicious of, yes, your staff should have the relevant expertise in-house to read and evaluate what's going on.

    6. Re:More independent verification needed by InlawBiker · · Score: 3, Funny

      It's easy, you just look for a comment like: /* BEGIN bug causing possible MASSIVE future EXPLOIT. */

    7. Re:More independent verification needed by 74nova · · Score: 2, Funny

      It could also be near something like //fsck it, I'm going to lunch

      --
      use your turn signal! you people act like it's divulging information to the enemy
    8. Re:More independent verification needed by Dan667 · · Score: 3, Funny

      If I was a hacker I would look for that comment to find an exploit in the first place. And other like

      // this is ugly, but it seems to work
      // remember to fix this later
      // whoever wrote this sucks

    9. Re:More independent verification needed by isorox · · Score: 3, Insightful

      but if it's something you consider that critical and are that suspicious of, yes, your staff should have the relevant expertise in-house to read and evaluate what's going on.

      Or have the ability to recognise they are out of their depth and be able to use resources from other departments (or even external suppliers)

    10. Re:More independent verification needed by Darkness404 · · Score: 2, Insightful

      But how many companies really need sysadmins that are system-level developers? Now, granted, it is good to have a sysadmin who can write programs in binary and such, but most don't need that. They just need someone who knows how to put the HTML on the servers and make it work. They need someone who can bail out the boss who managed to forget his password, they need someone who can figure out if it is your monitor that is broken or your graphics card. But for most small-ish businesses (less then 100 employees), they just need/want someone who can set up a server and fix it when it breaks. Nothing more, nothing less.

      --
      Taxation is legalized theft, no more, no less.
    11. Re:More independent verification needed by lgw · · Score: 3, Funny

      Oh, the only one your *really* need to look for is // should never happen

      although // drunk now, fix later

      is also good.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    12. Re:More independent verification needed by Penguin+Follower · · Score: 4, Insightful

      So you are insinuating that all system admins also have to be programmers? There are plenty of people with the skills to set up, maintain, and secure (properly) systems of all kinds (*nix, Windows, Macs, Cisco equip) who are NOT programmers. Some people are not cut out to be programmers, but are quite capable outside of that realm...

    13. Re:More independent verification needed by jeremypv · · Score: 2, Interesting

      >Did anyone else notice that today is Tuesday?

      http://www.microsoft.com/technet/security/bulletin/ms08-037.mspx

      --
      ~jeremypv
    14. Re:More independent verification needed by es330td · · Score: 5, Funny

      it is good to have a sysadmin who can write programs in binary

      I'd like to meet one of these sysadmins. I've written system stuff in C and other stuff in Pascal, C++ and Perl over the years but the guy that can write direct to binary must really know his stuff. Just think, his keyboard only needs two keys!

    15. Re:More independent verification needed by Schraegstrichpunkt · · Score: 4, Insightful

      Right... How many otherwise competent sysadmins do you know who can't C code? I've known plenty. Usually the good coders get jobs as coders, rather than as sysadmins.

    16. Re:More independent verification needed by nabsltd · · Score: 3, Informative

      Do you really have your firewall restricted in such a way that UDP packets are only allowed through if they come from specific ports?

      In other words, do you care if a query to an external DNS server comes from port 15875 or port 15876 on a machine in your behind-the-firewall network? Likewise, do you care if incoming DNS queries to your DNS server come from port 28410 or port 28411 on Comcast's DNS server?

      Since it's currently random (but fixed at startup of the server) in some DNS implementations, this shouldn't affect anything for 99.99% of people. Any sysadmin who sets up firewall rules that were so stringent as to assume a source port for a protocol that doesn't require a specific source port should have to deal with the trouble their stupidity caused.

    17. Re:More independent verification needed by lukas84 · · Score: 5, Insightful

      Why the sarcasm? If you're hiring sysadmins who aren't also system-level developers, you're not hiring people who can Do The Job Right.

      People with that amount of expertise will hardly be challenged by sysadmin position. And without a challenge you'll get bored. As such, you'll never find people with such high qualifications in sysadmin position.

      A sysadmin of course needs to know his stuff, and especially a unix sysadmin should be able to read C code and get the basics (and have extensive knowledge in scripting languages).

      But i doubt that understand the gritty details how bind works (or reading a DNS packet with just a hex editor) is something that can be expected from a sysadmin.

      But i also might just be defending my lack of knowledge, so beware :)

    18. Re:More independent verification needed by cduffy · · Score: 2, Insightful

      Hey -- building or patching executables opcode-by-opcode is a time-honored tradition among crackers, old-school virus writers and masochists.

      Granted, hex isn't *quite* binary...

    19. Re:More independent verification needed by QuantumRiff · · Score: 5, Funny

      No, its binary, real men solder a telegraph device to the motherboard, and just push down for 1, up for 0, Really, really fast!

      --

      What are we going to do tonight Brain?
    20. Re:More independent verification needed by QuantumRiff · · Score: 3, Funny

      Have you ever seen the oppositte? A bunch of coders trying to be sys-admins.. scary! Was the first admin at a software dot-com, they wanted to know why the network, consisting of a dozen $50 100MB "Switches" they got a staples daisy chained together were so slow.. I can understand their idea, as in theory, it should work, but in reality it doesn't. (kinda like when I program. It always compiles, doesn't always work...)

      --

      What are we going to do tonight Brain?
    21. Re:More independent verification needed by Danny+Rathjens · · Score: 2, Informative

      Senior sysadmins certainly should be able to program. Programmers only have to debug their own code, sysadmins have to debug everyone's code. :D But seriously, to properly debug problems you have to be able to work at all layers of abstraction, from hardware up to the application level; just sitting at one level of installing, applying updates, and rebooting to "fix" problems does not a sysadmin make.

      Job titles in our industry have always been a bit hazy, though. Perhaps the confusion arises because of a distinction some people make between a system administrator and an MIS or IT person? I wouldn't call the guy helping the sales droids with their windows machines a sysadmin - even though a sysadmin is capable of that of course. The sysadmin is the person running the critical infrastructure of the company such as firewalls, routers and web/file/mail/dns/cvs/development/testing/production servers.

    22. Re:More independent verification needed by purplebear · · Score: 2, Informative

      Those tend to be referred to as network and system engineers these days.

    23. Re:More independent verification needed by afidel · · Score: 2, Interesting

      Yeah really, I figure half the reason Windows gets such a bad rap is that many of the people implementing it don't know how to read a crash dump. When we implemented our Citrix farm two years ago we ran into a couple BSOD's which I was able to trace back to some obscure KB articles through the crash dumps and obtain the private hotfixes from MS. Since that initial month we haven't had a single server crash across the entire farm. I didn't even really need to read the assembler portion of the crashdumps, just the function entry points to figure out what was going on. Also I would have to work MUCH harder if I couldn't script because when you have to apply a change to several or all of over 160 servers it would take quite a while to do them by hand!

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    24. Re:More independent verification needed by Tekzel · · Score: 2, Funny

      We are all duly impressed with your superhuman abilities. We recognize that you are a superior form of human being, and should really be placed in your rightful place as Emporer of Earth. We are but children compared to the greatness that is you.

    25. Re:More independent verification needed by somersault · · Score: 3, Funny

      /* John was hit by a bus last week :( I have no idea what he was doing here, I'll just return 1 and hope for the best.. */

      --
      which is totally what she said
    26. Re:More independent verification needed by somersault · · Score: 4, Funny

      No. This last week, as often happens, I blindly wandered through the hours in a haze of narcotics and alcohol, vomiting onto my co-workers and randomly saying "whuth day is ih..??". This culminated in me forgetting that it is the second Tuesday in July and therefore due to a long and boring story, the one time in the year where I am meant to come home and cook dinner for the start of a romantic evening with my beloved wife. I think it was rather the straw that broke the camel's back, and she's just this minute left me for a tall Puerto Rican calendar designer. He always knows what day it is.

      Oooooh wait, you mean like patch tuesday? Gotcha..

      --
      which is totally what she said
    27. Re:More independent verification needed by cduffy · · Score: 2, Insightful

      Oh, hush. I'm not (and have never claimed to be) all that good -- the preexisting guru here is way the hell better than I am, and the only thing I need to do to be put in my place is to ask one of my old friends from the embedded-system days what they're working on presently -- many of them are hardcore kernel folks now (a few both were and are Linux architecture maintainers; those folks grok modern CPUs in a way I probably never will). I didn't count those people in the "about five" count because they're too busy to do system administration, and I don't have certain knowledge that they ever picked it up (they were on the kernel development side of the house even back in the day, while I was userland but occasionally moonlighted in their world).

      I'm not arguing that putting folks with that kind of skillset to use doing system administration is in any way productive -- but having sysadmins who can grok, debug and extend other peoples' C and do light kernel work when necessary vastly increases the flexibility of your IT department and allows independence in cases where one might otherwise be at a vendor's mercy.

    28. Re:More independent verification needed by cduffy · · Score: 2, Interesting

      I should have specified senior sysadmins, to be sure -- there's no reason to be that picky about everyone on staff. OTOH, the whole point of having senior people is to have someone who can dig into and eventually solve any issue that comes up -- and that means understanding what's under the abstractions. Addressing your comparison, software isn't as reliable as hardware is these days; maybe in ten years this won't be the case, but right now having someone available who can dig into the operating system (or your app server, or any layer inbetween) is damned useful.

  4. not that big of a problem by simul · · Score: 5, Informative

    I used to run a DNS hosting company. Fortunately, this error only affects caching resolvers, since it is yet another example of cache poisoning. There have been (and continue to be) hundreds of cache poisoning exploits over the years. This one is fairly technical and would require significant expertise to execute in a timeframe (ie: before everyone patches up) to cause harm. I don't know about you,but if someone started flooding my servers with thousands of response regords in hopes of guessing a transaction ID, my iptables config would block them in a heartbeat.

    this is not the kind of security problem that should cause people's heart to skip a beat. your average malware worm is much worse.

    dan has written an article on a javascript attack that can compromise a home router.... that's probably far worse - in terms of real damage (ie: bot creation, personal data stolen)

    in sum... run yum update.... then don't worry about it.

    1. Re:not that big of a problem by morgan_greywolf · · Score: 5, Interesting

      an has written an article on a javascript attack that can compromise a home router.... that's probably far worse - in terms of real damage (ie: bot creation, personal data stolen)

      And that's precisely why the first thing I do on a home router is to disable the cashing nameserver and install DJBDNS on a Linux box instead. :)

    2. Re:not that big of a problem by PCM2 · · Score: 2, Interesting

      Am I right in guessing that the Web page containing the payload would have to be coded with the default password AND the default IP address of your router's admin interface? I'm sure I'm in the minority, but I generally set my subnet to a 10.x.x.x address block when I first configure my home router.

      --
      Breakfast served all day!
    3. Re:not that big of a problem by Hyppy · · Score: 2, Insightful

      Except for a large number of businesses that are of sufficient size to run DNS services, and which demand some level of support with their mission critical operating systems.

    4. Re:not that big of a problem by negRo_slim · · Score: 2, Funny

      In other words, if you're stupid enough not to change your password, you're going to get your router hacked. No fucking shit, Sherlock.

      Ahhh the joys of default passwords. I remember my high school's implementation of network security which had a few default passwords just waiting be found via lycos... or was it hotbot back then?

      Either way when it was discovered I was assuming control of my work station to increase screen resolution to effectively use the IDE they had provided, well they slapped me on the wrist and brought me back down to 640x480 for security reasons of course. When I said fuck it and wrote a program that changed the resolution for me with the skills I had been taught in that class... Oddly enough instead of a passing grade my school year dramatically shortened. ie Explusion.

      Stupidity and default passwords ftw!

      --
      On the Oregon Cost born and raised, On the beach is where I spent most of my days
    5. Re:not that big of a problem by morgan_greywolf · · Score: 2, Funny

      Nope. It's a cashing nameserver. That's why I'm rich and you're not. :-P

    6. Re:not that big of a problem by Effugas · · Score: 5, Interesting

      [This is Dan Kaminsky]

      No, this attack is much worse than my home router exploits (which, admittedly, aren't getting fixed anytime soon). While it is indeed nice to have compromised firmware living somewhere on your LAN, being able to generically attack everyone using a given ISP is a much more valuable proposition -- especially when I don't need to worry about the pesky paranoid people changing their router passwords, or even using a router I haven't built a script to attack.

      I'm being very circumspect about implications. August 6th will be an interesting day.

      It's funny you mention the iptables auto-block. There's been a known attack here for years -- spoof the root servers attacking you, and...yeah.

      That being said, we agree on the ultimate fix...run yum update, and be done.

  5. DJBDNS not affected. by morgan_greywolf · · Score: 5, Informative

    Note that DJBDNS (and derivatives) are not affected, since it uses randmoized source ports for DNS resolving.

    1. Re:DJBDNS not affected. by Just+Some+Guy · · Score: 4, Funny

      Note that DJBDNS (and derivatives) are not affected, since it uses randmoized source ports for DNS resolving.

      Also not affected: DJBDNS's IPv6 and IXFR functionality, since Dan didn't want to bother implementing them.

      --
      Dewey, what part of this looks like authorities should be involved?
    2. Re:DJBDNS not affected. by morgan_greywolf · · Score: 2, Informative

      IPV6 patch for DJBDNS

      Personally, I have no need for it or the IXFR functionality at this point.

      However, my understanding is that BIND's IXFR implentation breaks if you use hand-written or tool-generated zone files.

  6. Sinisterness by COMON$ · · Score: 2, Funny
    FTA The good news is this is a really strange situation where the fix does not immediate reveal the vulnerability and reverse engineering isn't directly possible.

    FTA Update: Dan just released a "DNS Checker" on his site Doxpara.com to see if you are vulnerable to the issue.

    in other news

    Sooooooo, Im supposed to run a random file on my network to check an unknown DNS issue...this just reminds me all too much of those "download our program to fix all your antispyware issues" alerts.

    And finally the obligatory profit usage:

    1. Find a vulerability

    2. Dont tell anyone what said vulnerability is.

    3. Release malware in the form of a "Patch" to "Fix" the issue exploiting thousands of servers.

    4. ???

    5. PROFIT!

    --
    CS: It is all sink or swim...oh and did I mention there are sharks in that water?
    1. Re:Sinisterness by StreetStealth · · Score: 4, Funny

      Still, it's not exactly like you clicked a banner with a lame attempt at a bouncing, fake window telling you your DNS software was in immediate need of a fix and that this combination patch and shopping buddy would fix it.

      --
      Your mind is clear / The things that you fear / Will fade with how much you / Believe what you hear
    2. Re:Sinisterness by Effugas · · Score: 4, Informative

      [This is Dan Kaminsky]

      Er, you know you use DNS to retrieve web pages, right?

      So I just watch how you retrieve my web page, and synthesize content based on the Port/TXID patterns you request my page with.

      No code. Just script. And then I tell you whether you need to install a patch from your own vendor. It's not too complicated.

  7. I would say that this is a pretty serious issue... by iXiXi · · Score: 2, Interesting

    "An attacker with the ability to conduct a successful cache poisoning attack can cause a nameserver's clients to contact the incorrect, and possibly malicious, hosts for particular services. Consequently, web traffic, email, and other important network data can be redirected to systems under the attacker's control." Too bad the fix doesn't 'Cure' the problem. It only makes it more difficult. "ISC is providing patches for BIND 9.3, 9.4 and 9.5" - Thank the Internet gods.

  8. A matter of time by courteaudotbiz · · Score: 2, Insightful

    This is utterly serious! And only a matter of time before attackers compromise DNS on servers and/or clients.

    The good news is this is a really strange situation where the fix does not immediate reveal the vulnerability and reverse engineering isn't directly possible.

    And wow! Great news! There's a very critical flaw over the entire Internet name-to-IP infrastructure. But don't bother, it will take time before the bad guys find what we fixed...

  9. Reverse Engineering? by ergo98 · · Score: 5, Informative

    From the summary-

    The good news is this is a really strange situation where the fix does not immediate reveal the vulnerability and reverse engineering isn't directly possible

    His DNS tester is submitting a DNS check that it knows will be relayed, and then monitoring if the upstream check (it is intentionally doing lookups against a DNS server it controls) consistently uses the same source port. If it does, hypothetically an attacker could send "response" packets in concert with the original request, poisoning the cache.

    I would guess that the patch makes the DNS server randomize the nonce when relaying DNS requests.

    I know nothing about this, but that's my super-l33t-hacker assumption from looking at it for 10 seconds.

    1. Re:Reverse Engineering? by HTH+NE1 · · Score: 2, Funny

      When an absolute statement is modified with an adverb, the statement is not generally true. Examples:

      • "does not immediate[ly] reveal"
      • "isn't directly possible"
      • "the statement is not generally true"
      --
      Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
  10. Re:Hmmm by outZider · · Score: 4, Insightful

    Because it isn't 1912, and we aren't on the Titanic. They can say with reasonable confidence that it's difficult to find the underlying issue, but nothing is hackproof, or sinkproof, or lameproof.

    --
    - oZ
    // i am here.
  11. Finally...! by JackassJedi · · Score: 5, Funny

    I'm (sort of) a native German speaker, in which "DNA" is abbreviated "DNS" ("DesoxyribonukleinsÃure" with "sÃure" being "acid").
    Needless to say, my first impression of the headline was way more futuristic than what is there.

    --
    Power corrupts the few, while weakness corrupts the many.
    1. Re:Finally...! by Koiu+Lpoi · · Score: 5, Funny

      "sÃure"

      Welcome to the fail that is "no unicode on slashdot". Enjoy your stay.

  12. CERT advisory in readable format: by molo · · Score: 3, Informative

    Here is the CERT advisory in a readable format.

    http://www.kb.cert.org/vuls/id/800113

    BTW, did they hold this for a Microsoft patch Tuesday?

    -molo

    --
    Using your sig line to advertise for friends is lame.
  13. Nature of the attack by Animats · · Score: 5, Informative

    It's reasonably obvious from the CERT advisory how an attack would work. The CERT advisory tells us that the vulnerable systems are ones where the 16-bit DNS transaction ID and the 16-bit port number for a transaction are not randomly chosen. The CERT advisory also tells us that the attacker must be able to spoof IP addresses, that is, they must not be behind some ISP with egress filtering. CERT also tells us that it's a DNS poisoning attack.

    So it looks like a form of this attack documented in 2003 at "Cache Poisoning using DNS Transaction ID Prediction". Back in 2003, it took a large number of packets to make this attack work, and even then it wasn't reliable. But there may be a more cost-effective attack strategy if you know how the DNS server assigns transaction numbers and ports.

    The fundamental problem comes from 1) the fact that source IP addresses can be forged, and 2) the DNS transaction ID, at 16 bits, is far too short to be considered a useful random key. Any key with security implications should be at least 64 bits and be generated by a crypto-grade random number generator.

  14. Debian advisories.. glibc stub resolver effected! by molo · · Score: 5, Informative

    Debian released 3 advisories:

    bind9:
    http://www.debian.org/security/2008/dsa-1603

    bind8:
    http://www.debian.org/security/2008/dsa-1604

    glibc:
    http://www.debian.org/security/2008/dsa-1605

    Bind9 now contains a port randomization, which can require firewall rule changes.

    Bind8 is now considered deprecated and the advisory recommends upgrading to bind9. There is no patch for bind8.

    The glibc stub resolver is also vulnerable, and there is no patch yet. The recommended workaround is to install bind9 as a caching resolver and point /etc/resolv.conf at localhost.

    In short, this is a big mess.

    -molo

    --
    Using your sig line to advertise for friends is lame.
  15. Let the DJBing begin! by swb · · Score: 3, Interesting

    Attention all DJB software fans, here's another chance to champion the superiority of DJB's software. Don't forget to include positive commentary on the licensing and patch status.

    Thanks!

    1. Re:Let the DJBing begin! by Cyberax · · Score: 5, Funny

      Uhm...

      DJB-ware is now in _public_ _domain_. That's even more liberal than the BSD license.

      So, update your /etc/hate file with newer facts...

    2. Re:Let the DJBing begin! by Anders · · Score: 4, Funny

      Attention all DJB software fans, here's another chance to champion the superiority of DJB's software.

      Yup, and we even have the time, as we are not busy patching our servers!

    3. Re:Let the DJBing begin! by myowntrueself · · Score: 4, Funny

      Don't forget to include positive commentary on the licensing and patch status.

      Anyone who champions DJB software already has to bear the burden of running qmail. It doesn't get much worse than that already.

      --
      In the free world the media isn't government run; the government is media run.
    4. Re:Let the DJBing begin! by tomreagan · · Score: 3, Informative

      http://cr.yp.to/distributors.html

      As of December, the software is in the public domain. No licensing issues. If you would like to take on a distribution that has been patched, please feel free.

      DJBDNS actually IS superior. It is lighter weight and more secure. And it has addressed this issue as best you can for more than 5 years.

  16. The real solution... by Ethanol · · Score: 4, Interesting

    ...is to sign the root and deploy DNSSEC.

    Unfortunately that's politically non-expedient. But now that this vulnerability is out there, maybe the political will can at last materialize.

    The second-best solution is to deploy DNSSEC using DNSSEC Lookaside Validation (which means you get trust anchors from some other known site, not from the root zone). And that's available now.

    The worst thing about DNSSEC is it's too damn complicated at present; there needs to be the equivalent of "one-click" zone signing. ISC (and others) are working on getting us closer to that.

    The third-best solution is what's been done today. We just made it a lot harder to exploit the vulnerability--typically about 16000 times harder, depending on your configuration. There's a difference between "harder" and "impossible" though.

    1. Re:The real solution... by mpeg4codec · · Score: 4, Interesting

      ...is to sign the root and deploy DNSSEC.

      Unfortunately that's politically non-expedient. But now that this vulnerability is out there, maybe the political will can at last materialize.

      The political will has been shifting a lot lately. I've spoken directly to the gentleman in charge of managing the root zone, and he says that technically speaking it would be an overnight change. All the DNSKEYs and RRSIGs have been generated, he's waiting for the OK from above, which he says appears to be more likely with each passing day.

      The second-best solution is to deploy DNSSEC using DNSSEC Lookaside Validation (which means you get trust anchors from some other known site, not from the root zone). And that's available now.

      The largest DLV repository that validates that the DNSKEYs belong to who they say they belong to (think Verisign-style verification), is run by isc.org. At this writing, this zone has a grand total of twenty five DLV records. Not exactly what I would call useful from a security standpoint, although it is a start.

      I'm a part of a DNSSEC monitoring project (called SecSpider). We have a set of pollers distributed around the world from which we collect data about the current deployment. In conjunction with this, when we are able to collect an identical DNSKEY RRset, we generate DLV records and serve them from one of our delegations. For details on how to use it, check out our blog. This serves the same purpose as ISC's repo, but the data is collected in an orthogonal manner. We currently have DLV records for over 12000 zones, although we haven't directly verified the identity of any of them.

      The worst thing about DNSSEC is it's too damn complicated at present; there needs to be the equivalent of "one-click" zone signing. ISC (and others) are working on getting us closer to that.

      This I can't disagree with. DNSSEC is over-engineered by academic crypto people. In fact, DNS in general is somewhat over-engineered, but at least it was successfully rolled out. ISC's efforts are valiant, and hopefully with a larger roll-out their tools will become de-facto.

      The third-best solution is what's been done today. We just made it a lot harder to exploit the vulnerability--typically about 16000 times harder, depending on your configuration. There's a difference between "harder" and "impossible" though.

      Yes, the difference is that impossible isn't possible. You can't stop a determined hacker, not even with the best technology (think of social engineering attacks). Security is like an onion: as soon as you pull away one layer there are a dozen more to get in your way.

    2. Re:The real solution... by Ethanol · · Score: 3, Insightful

      The largest DLV repository that validates that the DNSKEYs belong to who they say they belong to (think Verisign-style verification), is run by isc.org.

      (My employer, BTW.)

      I'm a part of a DNSSEC monitoring project (called SecSpider). [...] This serves the same purpose as ISC's repo, but the data is collected in an orthogonal manner. We currently have DLV records for over 12000 zones, although we haven't directly verified the identity of any of them.

      That's an intriguing idea, but it doesn't really serve the same purpose as ISC's DLV until you do verify identity. (Would UCLA's lawyers be comfortable with someone relying on your DLV record repository for, say, banking transactions?)

  17. Re:So give a layman explanation by smittyoneeach · · Score: 3, Funny

    Recommendation is more CERTS, as they will help with the sand breath.

    --
    Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
  18. Wait, HOW serious is this? by zero1101 · · Score: 2, Insightful

    This is from the advisory.

    Filter traffic at network perimeters
    Because the ability to spoof IP addresses is necessary to conduct
    these attacks, administrators should take care to filter spoofedaddresses at the network perimeter. IETF Request for Comments(RFC)
    documents RFC 2827, RFC 3704, and RFC 3013 describe best currentpractices (BCPs) for implementing this defense. It is important to
    understand your network's configuration and service requirements
    before deciding what changes are appropriate.

    So...is this REALLY that serious? Is anyone NOT already doing this? I'm incredibly skeptical of big, sensational security alerts like this.

  19. djbdns apparently not affected by Mr.Ned · · Score: 4, Informative

    ... because djb recognized the vulnerability. it's even documented as such: http://cr.yp.to/djbdns/dns_random.html

  20. Re:Any name server? by Russ+Nelson · · Score: 2, Informative

    djbdns consists of a separate server (tinydns) and resolver (dnscache).

    --
    Don't piss off The Angry Economist
  21. Bad summary including a Word document?? by ockers · · Score: 2, Informative

    What a terrible summary. What would be really useful and news worthy would be a link to a web page with some information about the vulnerability. The links in the summary included: 1) a WORD DOCUMENT? WTF? 2) a PDF, 3) a podcast?? WTF? and 4) a link to a slashdotted DNS checker. How about a link to the CERT vulnerability web page which describes the problem?

    http://www.kb.cert.org/vuls/id/800113

    Now THAT would have been much more useful. Do people who work as sysadmins actually have time to sit around listening to a podcast? Especially when there are DNS servers to patch?

  22. Re:My first response is to call Bullshit by winkydink · · Score: 3, Insightful

    Google Dan Kaminsky and come back and talk.

    --

    "I'd rather be a lightning rod than a seismometer." -Ken Kesey

  23. Re:My first response is to call Bullshit by Shados · · Score: 2, Funny

    Its a problem in the protocol. So the only systems that would not be vulnerable are those that did -not- follow the specs. Guess Windows is safe, since Microsoft never follows the specs :)

  24. The Death of BIND by Sevn · · Score: 4, Interesting

    I help admin one of the larger DNS systems (90,000+ zones) and our initial testing of the patched BIND showed it having half the performance of prior versions. That prompted us to very quickly replace all BIND caching servers with something else. We had already replaced authoritative services with something else because of BIND's lackluster performance. 3+ hours to load zones on reboot is quite frankly ridiculous. We really had no choice. Microsoft said they were going to open their mouths on a certain date, and we had a massive time crunch. We can't be the only company that simply had to ditch BIND. And I can't say I'm sorry to see it go. I'm sure mister Vixie is a great guy, but his domain name service is, and always has been complete garbage.

    --
    For every annoying gentoo user, are three even more annoying anti-gentoo crybabies. Take Yosh from #Gimp for example.
    1. Re:The Death of BIND by Sevn · · Score: 2, Interesting

      Oh, and despite the Ron Paulesque nature of the DJB fanbase, I'd still recommend the djbdns suite as the best free solution. I can think of a little ISP in Iowa that I set up with djbdns that has to be happy they don't have to do a thing right now.

      --
      For every annoying gentoo user, are three even more annoying anti-gentoo crybabies. Take Yosh from #Gimp for example.
    2. Re:The Death of BIND by Ethanol · · Score: 5, Informative

      How in the world did you manage to get hold of the patches, test them, and deploy a competing product on a 90,000+ zone installation in the two hours between the patch's public release and your post? That's... really fast work.

      Out of curiosity, what version of BIND were you running prior to the change, and on what OS/hardware?

      It is true--and we acknowledged in the release announcments--that the initial security patches (9.3.5-P1, 9.4.2-P1, 9.5.0-P1) cause a significant performance hit on heavily-loaded systems.

      There are further code optimizations that get performance roughly back to baseline, but we felt they were too extensive to release without putting them through a beta cycle.

      Two beta releases, with the enhanced performance code, were published at the same time as the patches: BIND 9.5.1b1 and BIND 9.4.3b2; you can grab them now (um, for values of "now" that include "very soon"; one of our 10G fiber links picked an unfortunate moment to fail).

      The remaining beta, BIND 9.3.6b1, will be released in a few days, because five releases at one time was already enough to juggle.

    3. Re:The Death of BIND by Sevn · · Score: 4, Interesting

      We've known about it for a while. Certain providers were contact about it a while ago. Any other information is confidential, as I said, not my call. We were seeing QPS start out at 5,000ish then drop to 3,000ish during our testing. With the 30ish days we had to react, the path of least resistance was replacement. The only version we were given to play with was 9.5.0rc1, which was three weeks ago. Understand that all this was driven by Microsoft saying they were going to spill the beans on a certain date. So your "now" wasn't good enough to meet our deadline. I'm not a huge fan of replacing production services that are "working fine", and BIND was performing adequately for us before we got the word on this vulnerability from one of our vendors. At this point, we are "BINDless" though, and the mountains we had to move will probably not be moving back.

      --
      For every annoying gentoo user, are three even more annoying anti-gentoo crybabies. Take Yosh from #Gimp for example.
    4. Re:The Death of BIND by Ethanol · · Score: 4, Interesting

      Thank you for your reply.

      The only providers who should have received the patches earlier than today were a small group of our support customers who've contracted for advance notice of security issues. They were all told that this was a preliminary patch only, and to watch for betas with better performance--and that the patches were highly confidential and covered by nondisclosure agreements.

      Your installation profile doesn't seem to match any of theirs, and in any case I hope they would have let us know before they eliminated BIND from their networks. If you are not one of our support customers, then I'm very concerned that you had the patch in your hands as early as you say you did. Partly because it means you only got a partial picture of the situation, and partly because it means someone violated our trust--and it's important that we know who, so we can emphasize to them that this is not a joke.

      Can you please tell me where it was that you got the patch you tested?

    5. Re:The Death of BIND by Sevn · · Score: 4, Interesting

      I am one of your support customers. Thing is, I'm not comfortable saying much else because we were told the 10th was the magic day, and it leaked 2 days early. To be clear, the patched BIND worked the way it's supposed to, and I'm sure it's going to work fine for most customers. With the news that you have patched versions that address the issues with heavily taxed servers, probably almost all of them. We jumped the gun because that's what we do. : ) And I'm sorry I was critical on BIND. It is still the industry standard, and the original daemon that made it possible to get rid of enormous host files. There's a degree of comfort in running *the* DNS daemon, and we were doing it even though my organization is decidedly anti opensource. That speaks volumes.

      --
      For every annoying gentoo user, are three even more annoying anti-gentoo crybabies. Take Yosh from #Gimp for example.
    6. Re:The Death of BIND by Ethanol · · Score: 3, Interesting

      Ah. Well, that's a relief, then, of sorts. :)

      Thanks for the kind words about BIND and I'm sorry it didn't meet your needs this time. Please encourage your management to contact ISC and tell us about your choices and your experiences.

  25. Re:Any name server? by Russ+Nelson · · Score: 4, Informative

    Everybody else is being patched to the level of security that we djbdns users have always had. Not to be *too* smug, of course.

    --
    Don't piss off The Angry Economist
  26. Re:So give a layman explanation by netwiz · · Score: 2, Interesting

    Do I trust it? I don't know. Tell me the facts. The sheer quantity of internet shenanigans going on of late makes me suspicious. This sounds like they're patching for a remote root exploit, but a protocol issue won't do that. DNS poisons? What is it then?

    They're making us patch everything, and aren't telling us what it does. These are my systems, and you're going to tell me precisely what's going on before any of your code gets to run.

  27. ok, who let the Debian guys loose again? by spir0 · · Score: 2, Funny

    from http://www.kb.cert.org/vuls/id/800113: "The DNS protocol specification includes a transaction ID field of 16 bits. If the specification is correctly implemented and the transaction ID is randomly selected with a strong random number generator, an attacker will require, on average, 32,768 attempts to successfully predict the ID."

    Just put the real seed back into the code.

    obrant: and who the frak releases advisories in DOC format in the 21st century?

    --
    The reason girls and Windows users don't understand UNIX is because all the documentation is in Man files.
  28. Re:So give a layman explanation by cmaxx · · Score: 4, Informative

    Read the diffs to BIND and work it out. They're only hiding things from the bad guys to give you a few more hours window to implement the patches.. :)

    --
    ...an Englishman in London.
  29. Re:Prior Art by hal9000(jr) · · Score: 2, Informative

    The advisory indicated two different scenarios and discussed specifically that section 2.2 (the advisory did not call it out by name). the flaw Kaminsky found he claims, is still possible even while addressing transaction ID guessing.

  30. Re:My first response is to call Bullshit by Lennie · · Score: 2, Insightful

    It is known for years that it's less secure, if you don't use proper randomization. Now it turns out, it's _really_ insecure. Duh.

    --
    New things are always on the horizon
  31. Re:My first response is to call Bullshit by quazee · · Score: 5, Interesting

    The exploit is trivial to figure out - if a caching DNS server has recursion enabled, and also sends the outgoing DNS queries to the authoritative servers over a fixed (or predictable) UDP port, you can just send forged UDP responses together with your recursive DNS query.
    The bogus response will be cached and will affect other users of the DNS server.

    The attacker also needs to also guess the transaction ID (16-bit value), but they can send multiple bogus UDP responses with different transaction IDs.
    Also, vulnerable implementations may generate transaction IDs in a predictable way, so the attacker can obtain the current state of the PRNG by generating a recursive DNS query to DNS zone under attacker's control.

    Such an attack cannot be performed from a typical home broadband connection, as most ISPs will not route packets originating from IP addresses not allocated by the ISP.
    The attacker needs to be in control over the routing/egress filtering within his AS (e.g. an enterprise-level Internet service).

    --
    throw new SuccessException("Sig read successfully");
  32. Re:Any name server? by rs79 · · Score: 3, Funny

    " Everybody else is being patched to the level of security that we djbdns users have always had. Not to be *too* smug, of course."

    Bingo.

    If we were being smug we'd say something like "what do you expect when cert advisories are published as doc files?".

    --
    Need Mercedes parts ?
  33. Re:So give a layman explanation by Nefarious+Wheel · · Score: 3, Informative

    A good way to find out is to go directly to the CERT web site and have a look at the vulnerability note they're talking about. Link here, if you trust me =) http://www.kb.cert.org/vuls/id/484649/

    --
    Do not mock my vision of impractical footwear
  34. Re:So give a layman explanation by deathsyn · · Score: 5, Insightful

    Dan Kaminsky discovered a basic flaw in the DNS that could allow attackers easily to compromise any name server; it also affects clients.

    If you don't understand that, you don't need to care.

    What's funny is that the CERT advisory gives Dan Bernstein credit for the work around, which he came up with over 7 years ago.

  35. Pretty sad, actually by X.25 · · Score: 2, Insightful

    1. DNS (well, UDP protocols in general) problems have been known for ages. This is nothing new, it's just new because so much drama has been created. There is a reason why certain counter-measures have already been implemented in DNS software. Never mind that noone is using them because it requires effort.

    2. So much focus has been put on "phishing". I'd like someone to explain me how phishers are going to forge certificates and get sensitive info? Sure, I'll get bogus IP for the website I want to visit, but unless phishers manage to create valid certificate for gmail.com (for example), I'll get a nice warning box. Which is the same shit as what is happening now, when you go to a phishing website. Those who click "Ok" on every prompt will still get fucked, those who check errors will still not be tricked. Nothing changes.

    3. Security became a joke when advisories like "Man in the middle attack allows attackers to steal Myspace passwords" started showing up on first pages of various news outlets.

  36. It's noted in the advisory. by Grendel+Drago · · Score: 3, Informative

    From this posting: "DJB was right. All those years ago, Dan J. Bernstein was right: Source Port Randomization should be standard on every name server in production use."

    But I'm sure his acting like a jerk still means that nobody should ever take his criticisms of software design seriously. Heck, the BIND folks didn't, and it's not like people are going to stop using BIND.

    --
    Laws do not persuade just because they threaten. --Seneca
  37. Re:Any name server? by Russ+Nelson · · Score: 2, Funny

    Reportedly, djb wears all black, not all-aluminum. If I were you, I'd start wearing all black also.

    --
    Don't piss off The Angry Economist
  38. Re:So give a layman explanation by nacturation · · Score: 2, Insightful

    These are my systems, and you're going to tell me precisely what's going on before any of your code gets to run.

    So don't trust it. You're already running their code and you seemed quite happy to do so without them telling you precisely what potential bugs could exist. Why get so demanding now?
     

    --
    Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
  39. It's not so much the software. by Grendel+Drago · · Score: 2, Insightful

    I understand that djb draws a lot of flack for being a legendarily caustic personality; I'm just a little bitter that the sensible parts of his advice get ignored as well. DNSSEC is an implausible mess with a single point of failure, IPv6 migration is a joke, and DNS without source port randomization is vulnerable to spoofing. Despite his other, wackier beliefs (a new format for FTP listings! a new format for mail transfer! blasting mail across parallel connections instead of one connection per server just because I like it that way!), there's some important stuff in there.

    --
    Laws do not persuade just because they threaten. --Seneca