Slashdot Mirror


IE and Konqueror Bug Makes SSL Insecure

Spad writes "The Register reports that IE and Konqueror both have a bug that allows anyone with a legit Verisign SSL certificate to issue a 'legit' certificate for a 3rd party site. IE and Konqueror don't both to check the issuer of this intermediate cert making SSL in both browsers something of a joke". Update by Hetz: if you're using KDE from CVS, the fix is inside or you can wait to next week for KDE 3.0.3 (which will have more fixes for KDE 3.0). Thanks to Waldo bastian for the blazing fast fix (95 minutes since it was reported).

39 of 443 comments (clear)

  1. Heh by kraf · · Score: 3, Insightful

    Has Slashdot become the comment board for The Reg articles ?

  2. Sounds like a feature to me! by Nonesuch · · Score: 4, Funny
    I've been looking for a way to issue new "trusted" certificates for my web sites without having to pay big bucks to Verisign.

    Little did I know, the answer was right in front of me, in the form of the one Verisign certificate I shelled out the cash for :-)

  3. Re:What about Mozilla by baldass_newbie · · Score: 4, Informative

    From the article:
    "Mozilla was not vulnerable, but I'm not sure if that's because it handled the situation properly, or is, ironically, somehow too buggy to be exploited."

    I don't know if that's exactly a show of support. It goes into more depth if you'd bother to read the article.

    --
    The opposite of progress is congress
  4. Re:Huh? by sporty · · Score: 5, Informative

    Let's say I go to verisign and get a certificate for encryption, which also garantees my identity. With in the cert, is my information, encryption information, where the cert came from and who issued the cert. I can use my cert to generate other certs using encryption software.

    What this means, for people who have browsers which don't check where the cert came from, will not be warned that a certificate was granted from an untrusted source. Who are trusted sources? AOL, Thawte, Verisign.. etc.. Look in browser prefs for certificate authorities; the trusted circle of people to say you are who you are.

    Why is this dangerous? Well, for one, you can claim you are whomever you wish, while looking like you are from this trusted circle. You look like you are from this trusted circle because no one claims otherwise. Your browser would usually bitch at you about certs made from non-authorities. But since your browser won't bitch about where your cert came from, and just looks at the authority..

    So what if it isn't from a trusted circle? Using this in combination with dns spooofing, you could get people to give you information over ssl "secure connection" (rolling eyes) without the browser bitching at you that the cert you are looking at was made by verisign but not issued by verisign.

    --

    -
    ping -f 255.255.255.255 # if only

  5. Re:SSL is insecure? by kasparov · · Score: 5, Insightful

    Since the title of the article is "IE and Konqueror bug makes SSL Insecure" and the article body says "IE and Konqueror don't both to check [sic] the issuer of this intermediate cert making SSL in both browsers something of a joke," then I would venture to say that they were not calling SSL in itself insecure. Let's try not to be nit-picky for the sake of being nit-picky.

    --
    There's no place I can be, since I found Serenity.
  6. Start Timing... by Vengie · · Score: 3, Insightful

    Before the M$ vs Everyone war starts...how about we have a fair and simple timing contest.....where does this get fixed first? ;)

    --
    When in doubt, parenthesize. At the very least it will let some poor schmuck bounce on the % key in vi. (Larry Wall)
    1. Re:Start Timing... by Jucius+Maximus · · Score: 3, Funny
      "6 months: most MSIE users have the security update
      1 year: most Linux/BSD users get around to updating"

      You forgot:

      7 months: security people figure out that MSIE patch doesn't work, MSFT denies it.

      9 months: microsoft releases new patch

      18 months: IE users finally are patched

  7. So? by dasmegabyte · · Score: 5, Insightful

    The certificate issuer is not exactly a secure concept anyway. The whole idea of "trusted providers" being a list of folks engineered by the browser's authors is just asking for trouble. Any of those companies can "go rogue" and start issuing free certs to anybody who asks, which one of them did a while back (then they succombed to the pressures and revoked all the rights, which was pretty crummy).

    Besides, the contracts of all cert providers totally absolves them from any crime or misuse of data undertaken by their issued members. Which is a strange definition of "trust"...that it can only be placed in an unknown third party who has no control nor responsibility over the site you're connecting to, and neither has any liability should your data wind up in the hands of ne'erdowells.

    Which is why I self sign everything. Since it all boils down to whether or not you trust me, why should I spend $150 trying to trick you into thinking I've passed some rigorous test for "trust". All that matters is that the data users send me is encrypted, which it is. That $150 cuts into my already wafer thin margins, and it cuts even more when you think I'll have to get a different sert for each of my subdomains.

    Which is where this bug is actually beneficial. It allows you to get signed once for all your domain names. No more paying exorbitant sums for the paltry 10,000 cycles of processor time it takes to generate a certificate, you can get www.yourdomain as well as yourdomain, yourmisspelleddomain, secure.yourdoman and mail.yourdomain certified for the price of one. Just sign the main site...and use the money to buy an escrow insurance policy.

    --
    Hey freaks: now you're ju
    1. Re:So? by mlong · · Score: 5, Insightful
      Which is why I self sign everything. Since it all boils down to whether or not you trust me, why should I spend $150 trying to trick you into thinking I've passed some rigorous test for "trust". All that matters is that the data users send me is encrypted, which it is. That $150 cuts into my already wafer thin margins, and it cuts even more when you think I'll have to get a different sert for each of my subdomains.

      Unfortunately most clients/browsers seem to go out of their way to discourage self-signed certificates with error messages that sound like "This certificate was self-signed. We don't know who the hell this person is. They could be a terrorist wanting to destroy your computer. If you click YES then they could format your harddrive and steal your credit card. By the way, even if you click YES we'll keep asking you everytime you visit this site unless they shell out some $ to Verisign or Thawte"

      --
      //m
    2. Re:So? by topham · · Score: 3, Interesting

      While I agree with you as to the actual effectiveness I don't think self-signing is actually a solution.

      I know that Verisign is less than absolutly trust worthy. I also know they take atleast basic steps to ensure they issue a certificate to the correct entity. (Yes, they have made mistakes on that in the past, re: Microsoft).

      I don't on the other hand, have any reason to believe you aren't a fly-by-night huckster waiting to receive a dozen (or thousand...) credit card numbers...

      I want some level of assurance that you are indeed traceable. Even if, to some degree, its a false hope. Even if you pull off a scam on Verisign (or any other registrar) I know that there is a much larger trail to trace back to you and that it is more likely to get a good response from law enforcement authorities and/or financial institutions.

      On the other hand, I've never concerned myself much with running programs which were self-signed. I mean, heck, I've run unknown programs on my computer since 1988, whats a few 'self-signed' programs...

    3. Re:So? by bwt · · Score: 5, Interesting

      Any of those companies can "go rogue" and start issuing free certs to anybody who asks, which one of them did a while back (then they succombed to the pressures and revoked all the rights, which was pretty crummy).

      A certificate authority really is nothing different than a 3rd party who says "that certificate is legit". As you point out, anybody can be a certificate authority. However, I should be able to control who I think is a TRUSTED certificate authority, and the application should assure that I'm only told that certificate authority X certified certificate Y if that did in fact happen. If a CA goes "rogue", you can (and should) simply remove it from CA's that you trust.

      This bug is much worse: IE appearently treats anyone certified by a CA as equivalent to that CA for certification of intermediates. Verisign certifies JohnDoe and then JohnDoe can transitively assert that Verisign certifies BadDude.

      That is a disaster, because it means that in order to trust Verisign, you have to trust **everybody** that Verisign has ever certified, which is impossible.

      Which is why I self sign everything. Since it all boils down to whether or not you trust me, why should I spend $150 trying to trick you into thinking I've passed some rigorous test for "trust".

      Thats why I self-sign everything as you too :-] Seriously, though , there is nothing wrong with self-signing so long as there is an independent way to validate that you are who you say you are. For example, I work in a military environment and our cert admins hand walk certificates from them to you. Browsers generally come with the big CA's certificates built-in, so it's much easier to validate that Verisign is Verisign.

  8. testing Moz 0.9.4 doesn't qualify as a test by ChrisCampbell47 · · Score: 4, Informative
    Testing Moz 0.9.4 doesn't qualify as a test. Nor does slagging 0.9.4 bugs qualify as slagging Mozilla.

    Somebody please turn this guy onto Mozilla 1.0!

    1. Re:testing Moz 0.9.4 doesn't qualify as a test by jslag · · Score: 4, Insightful
      I see; and testing IE5 and IE5.5 is different how?


      Because, dear troll, Microsoft alleged at their respective release times that IE5 and 5.5 were 'release quality' software, while moz made it clear that 0.9.4 was still undergoing development.

    2. Re:testing Moz 0.9.4 doesn't qualify as a test by Fjord · · Score: 3, Informative

      Not to mention that IE5 and IE5.5 have had several security updates. While they aren't the most recent version of the software, they are still supported products. Not to mention the fact that IE5.5 is the highest browser a Windows 95 user can and will ever be allowed to use (the reason why our web application supports IE5.5, many corporate customers in our domain haven't moved from 95).

      --
      -no broken link
  9. Re:Spoof? by gmack · · Score: 4, Informative

    Don't be so sure about that. For the longest time windows allowed javascript to edit c:\windows\hosts (has the same affect)

    Also the entire *point* of SSL certs is to make this sort of thing impossible. It should have popped up a warning telling the user that it wasn't the real certificate.

  10. Check the SecurityFocus thread about this here by Otis_INF · · Score: 5, Informative

    http://online.securityfocus.com/archive/1/286893/2 002-08-05/2002-08-11/1 (opens in new window).

    It seems that it isn't TOTALLY browser related. Verisign and Microsoft both know about this error, according to the people in the thread. It's a good read with a lot of detailed info about the flaw and where the flaw exactly is.

    --
    Never underestimate the relief of true separation of Religion and State.
    1. Re:Check the SecurityFocus thread about this here by MSG · · Score: 5, Insightful

      Yes, it is totally browser related. The post that you refer to says that MS doesn't plan on fixing it, but not that it isn't their problem. The problem lies in their PKI implimentation, and regardless of their public face's claims of focus on security and trustworthy computing, they're continuing their old habits of not fixing problems until their customers force them to.

  11. Damn. by FreeLinux · · Score: 5, Funny

    It's been 20 minutes now and KDE doesn't have the fix up yet.

    This is just rediculous. Why are they taking so long? I don't have all day. ;)

    Seriously though, with a long list of IE bugs still outstanding and Microsoft blaming Verisign, rather than fixing their software, I'll bet that KDE has a fix a month or more before MS.

  12. Re:The Joke had already been made... by sphealey · · Score: 3, Insightful
    the problem is the client. If you have a private key and a browser comes up with an erroneous key, what is stopping someone from doing a mim attack on you because the client can't tell the difference between a faked key and the one that he has to push yes to upon entering the damn site?
    Have you ever known anyone (except perhaps Bruce Sterling) to visit a site to get a download or submit an order, get a "certificate not known" message, and do anything except click "Proceed"? Joe and Jane sysadmin, much less Richard and Sally end user, have no idea how certificates work and what answers should be given to what dialogue.

    Totally broken protocol from the end users' perspective.

    sPh

  13. Re:Spoof? by roca · · Score: 3, Insightful

    > Man-in-the-middle attacks are very complex and
    > not likely to be pulled off "in the wild".

    No. MITM attacks are very easy to pull off with the right tools. You can easily take control of any TCP connection made by any other machine on the same Ethernet. Even if the network is fully switched you can use ARP poisoning to get around that.

    Of course, if you manage to take control of a DNS server then you can easily do MITM attacks against many machines. Heck, do you trust the employees of your ISP with your banking information?

  14. 'nother link by Draoi · · Score: 3, Informative

    .. to a buried page on the guy's own site. This shows a little more detail on how to get a test setup running.

    --
    Alison

    "It is a miracle that curiosity survives formal education." - Albert Einstein

  15. Try it yourself right now ... here is what I saw: by wherley · · Score: 4, Informative

    If you hit the discoverer's web site using Mozilla 1.1b you get an -8183 error and it
    will not display the page. Note this is not a complete spoofed-site demo unless you trick your DNS resolver into reporting his IP for www.amazon.com and pull up his page using SSL with that URL.

    I would infer that Mozilla is correctly detecting the mistake in the certificate chain.

    Notes on another practical demonstration of this bug are here.

  16. Interesting resonance by wiredog · · Score: 5, Informative

    With this article from the Atlantic Monthly about Bruce Schneier and bad security.

  17. Certificates aren't very effective to begin with by defile · · Score: 4, Insightful

    Signed certificates simply state that Verisign trusts the company is who it says it is. That's about it. Signed certificates do not define whether your communications are encrypted or cleartext.

    Signed certificates cannot prove that:

    • The company you're purchasing from is trustworthy
    • The certificate wasn't stolen
    • Verisign wasn't tricked into signing the certificate (which has happened)
    • An attacker hasn't redirected your connection to some other site from the backend (think PHP fopen())

    Many companies don't bother with having their certificates signed. It's pricey, an administrative burden, and doesn't really increase security. I'm annoyed that browsers have been swept into warning you if the site you're visiting doesn't support Verisign's cash flow.

  18. Re:Spoof? by MikeBenham · · Score: 5, Insightful

    A lot of people have been saying that, so I wrote a tool (sslsniff) to demonstrate the problem in a more "real-world" setting. It performs undetected hijacking/sniffing of IE SSL sessions, even on a switched network. sslsniff: http://www.thoughtcrime.org/ie.html

  19. Comment removed by account_deleted · · Score: 3, Interesting

    Comment removed based on user account deletion

  20. Re:Certificates aren't very effective to begin wit by PigleT · · Score: 3, Interesting

    "I'm annoyed that browsers have been swept into warning you if the site you're visiting doesn't support Verisign's cash flow."

    I know the feeling... the only other problem is, though, how does the vast consumer-base out there deal securely online? It doesn't add anything to have to phone up to read out an SSL certificate fingerprint - you might as well just place the order over the phone!

    Maybe what we need is a kind of web-of-trust like the idea of a PGP key-server, only for SSL certificates?

    --
    ~Tim
    --
    .|` Clouds cross the black moonlight,
    Rushing on down to the circle of the turn
  21. Re:Huh? by BlueUnderwear · · Score: 4, Informative
    Still, with checking in place, I can just go to verisign, get me a cert.

    You'll get an "end-entity" certificate earmarked for your own website (you have to prove you're in charge of the URL that you are getting a certificate for). The certificate won't work on other sites (because the browser compares the site's URL with the URL embedded in the certificate),...

    Start producing certs

    ... nor can it be use to produce other certificates. Indeed, a non-buggy browser only accepts certificates with the "CA basic constraint" set to true for creating other certificates. And the CA won't hand out any such certificates, except to other reputable CA's.

    --
    Say no to software patents.
  22. Overall Impact by photon317 · · Score: 4, Insightful


    Please beware that the overall impact of this problem is relatively minimal. The sky isn't falling. What this allows is a man-in-the-middle attack without the usual telltale browser confirmation box that one sees when using an unsigned certificate. The attacker still has to get on the network between you and the website and essentially transparent-proxy your connection through a rogue ssl proxy to make this all work. For the most part people with this level of network access for wide numbers of people are not so devious as to actually do this for profit.

    On another note - if they did a traditional man-in-the-middle SSL attack, it might be very hard to track down who did it, but it would be very easy to tell it was being done (because you'd get a browser warning about the certificate not being vaild for this site and/or signed properly). With this new approach, you get no browser warning, but it's presumably easy to track down the culprit, since the certificate signing chain will include a legitimate cert issued to the attacker that can be queried at Verisign or whoever they used - unless they steal a cert from someone else.

    --
    11*43+456^2
  23. Re:Spoof? by ceswiedler · · Score: 3, Informative

    By the way, I've performed full man-in-the-middle with a real bank
    involved and myselft as victim. It's easy and works perfectly, so I've put
    a brief description and screenshots at http://arch.ipsec.pl/inteligo.html
    Details on programs' setup and fake certificate generation are omitted
    not to provide script-kiddies with a ready recipe.

    Actually, you can use Mike's https://www.thoughtcrime.org/ as demo
    site but you first need to DNS spoof your browser into thinking
    that www.amazon.com has address of 66.93.78.63, which is easy using
    dnsspoof from dsniff for example.


    From the SecurityFocus thread referenced in another post.

  24. Re:Incident response? Let the race begin! by tshak · · Score: 4, Interesting

    But will the KDE team have regression tested their fix?

    --

    There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
  25. This is truely wonderful - if lessons are learned. by Observer · · Score: 3, Insightful

    Assuming the sources cited are accurate, we now have two independent misimplementations of SSL certificate handling, indicating that two purveyors of software that is entrusted with providing a secure (ie, private and authenticated) communications channel have screwed up in a way that suggests they did not understand properly what they were doing.

    Rather puts buffer overflows into the shade, doesn't it?

    As the late Professor Doctor Edsgar W. Dijkstra commented: "If you don't know what your program is supposed to do, you'd better not start writing it." RIP, a great man.

  26. Re:It hardly makes SSL a "joke" by anthony_dipierro · · Score: 3, Informative

    About 99.999%+ of the primary uses of SSL/TLS out there are for transport encryption, not for site authentity verification, and this does nothing to reduce the security of the transport encryption.

    Umm. No. You are wrong. If you don't authenticate the person you are talking to, then you are vulnerable to a man-in-the-middle attack and the security of the transport encryption is nil.

  27. Re:Take that B of A! by TeddyR · · Score: 4, Informative

    One bank security official once told me unofficially wrt that is that the bank does not like the fact that the source is availible. To them, this means that anyone can compile the browser and "take out" some of the features that make the browser secure. Or trojan it to make an SSL connection, get the username/password, and dump it to a text file or send it remotely.

    With the older closed browsers there is supposedly a much smaller chance of that happening.

    Try Opera... Some of them disallow NS6, but allow opera...

    --

    --
    Time is on my side
  28. You don't get it by pclminion · · Score: 3, Insightful
    Sure, it boils down to whether or not I can trust you. But how do I know that your signature is *your* signature?

    By consulting with a mutually trusted third party, of course. A similar concept as that of a notary public. (I said similar, not identical).

    Trust centers such as Verisign make it a little simpler to verify identity: I don't have to personally check you out myself -- I accept Verisign's "voucher" that you are who you say you are, and therefore I offload my research responsibilities onto Verisign.

    This is not a perfect system for many reasons. But you can't HAVE a perfect secure system. I think this system is about the best we have for now.

  29. Re:Try it yourself right now ... here is what I sa by karmawarrior · · Score: 5, Informative
    Wrong error. The bug here is not that a website is saying it's X when in fact it's Y, it's saying that it's X and saying Z has said it's X and Z hasn't. So I assume what's happened is you typed in "thoughtcrime.org" into your browser, it identified itself as "amazon.com" and you got the error you're describing.

    Now, do the spoof as he suggests. Edit your hosts file so that www.amazon.com has www.thoughtcrime.org's IP address, ie put in the line: 66.93.78.63 www.amazon.com into your hosts file. Where that file is depends on your system; in Unix it's in /etc, in Windows 9x it's in C:\WINDOWS (or whatever %WINDIR% is), in Windows NT it's something like C:\WINNT\System32\Drivers\etc. It's a plain text file. To confirm you've set it up right, type "ping www.amazon.com" afterwards, if it's pinging 66.93.78.63 then you're all set.

    Now open your browser, and go to https://www.amazon.com/. If you don't get an error, your browser is vulnerable.

    --
    KMSMA (WWBD?)
  30. Re:Certificates aren't very effective to begin wit by mpe · · Score: 3, Interesting

    Signed certificates simply state that Verisign trusts the company is who it says it is.

    Other than take money do they do that much to establish that the company is who they say they are.
    Anyway the certificate can say that the company is A and the webpage can say it's company B. If the certificate is okeyed by Verisign the user won't even see the certificate by default.

  31. Re:Try it yourself right now ... here is what I sa by Melantha_Bacchae · · Score: 3, Informative

    I tried the thoughtcrime.org test with the browsers I keep around under OS X. Here are my results:

    Mozilla 1.0: passed (the others are right, the error message could be more user friendly, but it worked)

    Chimera 0.4.0: failed (no SSL options in Preferences, also an early version without many features)

    Omniweb 4.1 (v422): failed (SSL options in Preferences)

    iCab Preview 2.8.1: failed (no SSL options in Preferences)

    By "failed", I mean displayed the web page with no error messages (which I presume is the test). Some of those that failed don't appear to provide SSL support in the first place.

    OmniWeb doesn't have much excuse though, it appears to have SSL support, and it is not a beta.

    It's beginning to look like Mozilla is the only one on the ball here.

    "What I'm thinking is different from what you are."
    Belabera, "Mothra 3" 1998

  32. Re:Well I see /. says a "fix" is available now... by HeUnique · · Score: 5, Informative

    Well, the issue has been known to Waldo Bastian for the last 2 days and he fixed in on both KDE HEAD and KDE 3.0.x branch, and he's now fixing the KDE 2.2.2 branch (for people who preffer to stay with KDE 2.2.x yet).

    The patch HAS been tested in the last 2 days, but it took 95 minutes to post a fix since the story was released..

    Thanks,

    --
    Hetz (Heunique)