Slashdot Mirror


SSL Cert Weaknesses Exposed By Comodo Breach

snydeq writes "InfoWorld's Woody Leonhard delves deeper into the Comodo SSL scandal and finds the breach calls into question the integrity of the SSL certification process itself. 'While the press has focused on the sensational fact that Comodo's site was hacked from an Iranian IP address, we really should be asking three questions: How did somebody working with an Iranian IP address get a username and password from Comodo with enough clearance to create SSL certificates? Why did Comodo issue SSL certificates for google.com, live.com, yahoo.com, mozilla.org, and skype.com? Why are browser updates used to revoke SSL certificates?'"

33 of 194 comments (clear)

  1. Thanks Comodo by Mr_Plattz · · Score: 2

    Before those questions are answered, I'd just like to thank Comodo for making my next SSL certification renewal an even easier decision.

    1. Re:Thanks Comodo by thue · · Score: 5, Informative

      The beauty of it is that even if you do not buy your certificate from Comodo, you are still just as vulnerable to false certificates in your name from Comodo (Or any other of the ~650 CAs).

  2. SSL certs are both over-trusted and under-trusted by billyswong · · Score: 5, Insightful

    If you went to a site with a cert signed by those big companies, those sites are trusted with no questions. If a site don't want to pay and use a self-signed cert instead? Wow, the end-user are warned as if it is more dangerous than plain HTTP site!

    A more rational mechanism should be telling users the truth honestly, i.e. "this site's traffic is encrypted and the authority is promised by xxx.com, or if self-signed, self-proclaimed". Those big companies aren't that trustful, they are just lucky enough to gain an early seat into the root cert trust list in the dawn of internet.

  3. Peter Guttman's take by kensan · · Score: 4, Informative

    He makes some interesting points on EFF's SSL Observatory mailinglist: https://mail1.eff.org/pipermail/observatory/2011-March/000138.html

    1. Re:Peter Guttman's take by Jesus_666 · · Score: 3, Insightful

      Let me get this straight.

      If I have the ability to obtain a cert for one site (say, mycompany.com), I have the ability to obtain entirely valid certs for any site on Earth? And the only way to counteract this is to have browser vendors blacklist my keys in their next update? And that's the foundation HTTPS stands on? And alternative schemes that may address the problem aren't even considered by the browser vendors?

      Wow. If I understand that correctly, web encryption is in a pretty bad shape as far as trustworthiness goes.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    2. Re:Peter Guttman's take by lbschenkel · · Score: 2

      Not exactly. But if you manage to compromise or convince any of the built-in CAs trusted by browsers (or any of the hundreds -- or thousands -- of sub-CAs they delegate to) to give you a certificate for any website on Earth, and you can redirect your victims to go to your website instead of the real one, then yes. By compromising any CA where you can build a chain of trust to a trusted root, then you can impersonate any website (if you manage to get a certificate). Some of these CAs are actually owned/controlled by some not-so-trustful governments, and they can generate any certificate they want. Quite a weak weakest link, don't you think?

  4. Re:Regarding question 1 by Confusador · · Score: 2

    Conversely, someone with a North American IP shouldn't be able to get a cert for the National Iranian Oil Co., at least not without triggering a sanity check in the system. I can't see why that would be controversial; clearly someone wasn't doing their job.

  5. Re:Regarding question 1 by flonker · · Score: 4, Informative

    They didn't buy it. They created it through the reseller process. OpenSRS, for example, requires that all IPs that have access to the domain registration process are registered beforehand. That would have stopped this attack cold. Comodo didn't even have so much as a "wow, that's funny, this /24 has never logged in before, and is registered to a country I don't have any resellers in." Also, a lot of people seem to believe that automated systems should blacklist high profile targets from being automatically granted certificates.

  6. Re:SSL certs are both over-trusted and under-trust by arogier · · Score: 2

    If only we weren't beholden to decisions made in the 80's and 90's. IPv4, HTTPS we might as well start over. While we're at it hardware AES extensions on more low power processors, should I really have to choose between a VIA Nano and Core i5 if I want decent SSL encoding speed.

  7. There really is no proof the hackers are from Iran by Anonymous Coward · · Score: 2, Interesting

    All we have is Comodo claiming they were from Iran, and an IP address. But why should we trust them? If you ask me, Iran fits in a bit too well as the bad guys.

  8. Re:SSL certs are both over-trusted and under-trust by TheSunborn · · Score: 2

    The problem with that solution, is that it give no protection against "man in the middle" attack.

  9. Re:SSL certs are both over-trusted and under-trust by billyswong · · Score: 2

    The problem with that solution, is that it give no protection against "man in the middle" attack.

    Please elaborate, as I have not suggested any changes in the protocol (yet). I am merely asking browsers to present things more accurately, closer to the truth, not "see the little lock then you are safe" stuff. Also not over-reactive to outdated/self-signed cert.

  10. Re:SSL certs are both over-trusted and under-trust by Nursie · · Score: 2

    You would have self-signed certs presented as "semi-secure", which they are not.

  11. Re:SSL certs are both over-trusted and under-trust by Nursie · · Score: 2

    Only if the client has the certificate ahead of time. Otherwise it really isn't.

  12. Re:SSL certs are both over-trusted and under-trust by HungryHobo · · Score: 2

    I accepted a self signed cert from a college server when I was physically in the room with it and chances of MITM were stunningly low.

    I go home and get a change of cert warning connecting to the server and alarm bells start ringing.

    In such a case self signed certs are *more* secure than a cert signed by someone...somewhere who is apparently trusted by someone has signed their cert and which may have been compromised as in TFA.

  13. Re:SSL certs are both over-trusted and under-trust by Jon+Stone · · Score: 2

    With unencrypted HTTP, any one who can see the packets can snoop the whole session.

    With SSL/TLS, with a self-signed certificate, the attacker has to be in a position to tamper with the packets. The attacker has to impersonate the server to the client, and potentially the client to the server (depending on the attack). This is a much harder problem than simply sniffing the traffic with tcpdump.

    Anyone on a public WiFi network can sniff the packets of other users on the WiFi network. It would be very difficult to pull off an attack on a self-signed SSL connection.

  14. Re:SSL certs are both over-trusted and under-trust by Rigrig · · Score: 3, Informative

    I agree it's stupid how browsers show self-signed certificates as more dangerous than plain HTTP.

    The difference between paid-for certificates and self-signed certificates means more than just who promises authenticity though: The certificate's signature can be checked against the certificate shipped with the browser, thus preventing MITM attacks.

    Basically:

    1. HTTP: everybody on the network can read your stuff, including passwords etc. They don't even need to perform a MITM attack. With a simply MITM attack they can also alter content.
    2. Self-signed HTTPS: your traffic isn't that easily sniffable anymore, but an attacker can perform a MITM attack to read/alter your data. He'd intercept all your browsers' requests, including the certificate, and replace them with his own.
    3. CA-signed HTTPS: an attacker can't perform a MITM attack, because intercepting the certificate request means it's signature won't match with the CA-cert that your browser shipped with.

    Thus paid-for certificates mean you won't get MITM'd, the part where the CA also verifies identities is just bonus.

    --
    **TODO** [X] Steal someone elses sig.
  15. Re:There really is no proof the hackers are from I by flak89 · · Score: 2

    This is stupid many time there is a story about hacking and a IP coming from that 'third world country' (insert name here China[ ], Iran [x], Russia [ ], all other[ ]......), someone assume that a person local to that country did all the job. What if that IP in Iran was not secured ? What if that person actually used the internet and connected to that IP in Iran from somewhere else (doh). There is a ton of non-patched OS, vulnerable IP out there. Some peoples shouldn't use the internet (or for that matter shouldn't make conclusions or assumptions on 'too technical stuff')

  16. Re:SSL certs are both over-trusted and under-trust by muckracer · · Score: 2

    > Only if the client has the [self] certificate ahead of time. Otherwise it
    > really isn't [more secure than plain http]

    Actually all you need is the fingerprint of the certificate to verify, not the whole cert.

    For example, as hosting provider you may provide PHPMyAdmin logins for your customers, so they can admin their databases from the browser. A self-signed certificate from the hosting provider to secure that login is perfectly reasonable, as is a phone call to the customer providing them with the fingerprint of the self-signed cert to prevent a MITM. And yes, that is most certainly more secure than plain-text HTTP. In fact, it's even more secure than the gazillion-trusted-potentially-MITM-enabling CA certs!

  17. Two more questions by Lincolnshire+Poacher · · Score: 5, Insightful

    1. Why was a key-gen server connected to the Internet? Shouldn't certificates be delivered out-of-band, such as on a CD delivered to the indicated registered address?

    2. Why exactly do we still trust Comodo as a CA, when the like of cacert.org cannot meet the "requirements" to be added as a CA in Mozilla products?

    1. Re:Two more questions by RulerOf · · Score: 3, Insightful

      Why exactly do we still trust Comodo as a CA, when the like of cacert.org [cacert.org] cannot meet the "requirements" to be added as a CA in Mozilla products?

      $urely, you can't be $eriou$.

      --
      Boot Windows, Linux, and ESX over the network for free.
    2. Re:Two more questions by wsapplegate · · Score: 2

      1. Why was a key-gen server connected to the Internet? Shouldn't certificates be delivered out-of-band, such as on a CD delivered to the indicated registered address?

      For the very same reason some resellers of this pitiful excuse for a CA deliver certificates to you before you've even scanned a single document proving you're authorized to ask for it (yes, seriously): Because it would be Bad For Business[tm]. People want to start their damn online shops Real Quick, and people who make these shops don't want to irk the customer by asking for lots of papers and delaying the setup. Like always, business efficiency and security do not mix well.

      2. Why exactly do we still trust Comodo as a CA, when the like of cacert.org cannot meet the "requirements" to be added as a CA in Mozilla products?

      According to CAcert, we (or rather, the browser vendors) trust anybody who passes an expensive audit by those guys. The CAs are just like registrars, they've a big incentive to sell as much certificates as they can, they can have resellers even more hungry for business, and everything goes naturally downhill from there. Here's an alternative idea: IRL, who does certify your identity (or that of your business) and has pockets deep enough to handle any liability lawsuit if they made a mistake? Right: Your government. Hence, they're in the best position to know if you can legitimately ask for a certificate in the name of ACME Corp. Let certificate issuing be a public service, then. Personal certificates are already being embedded in some ID cards (IIRC, Belgium provides something like this). Why not getting an account to generate SSL server certs tagged with your identity along with your passport (or the identity of your business along with your certificate of incorporation)? I know I would trust such certificates much more than those issued by a random corporation on the basis of (at best) crappy scans or facsimiles that could as well have been photoshopped in the first place.

      As for certificates that are just domain validated and do not embed any identity in addition to the CN, browser vendors should (1) relax the audit procedures so there can be people providing those certificates for a negligible sum (or even for free, at least one real CA already does it) so people can easily encrypt their communications without revealing their identity, and (2) find a conspicuous way to inform the user about the real assurances provided by a certificate. Sorry, but it is now painfully obvious that the nice closed lock in the address bar means absolutely nothing, and I very much doubt most people are paying attention to those blue and green bars after years of having been told to "look at the lock and the HTTPS URL".

      My .2 €

      --
      Xenu brings order!
    3. Re:Two more questions by pseudorand · · Score: 2

      True, browser makers could have all release updates that removed comodo as a trusted root CA instead of just blacklisting the 9 certs that they think were signed. But that would have done the following:

      1) Made users of any site who got their cert signed by Comodo see a popup (which they'd probably suffer no ill effects from clicking through, further training users to ignore such warnings).

      2) next time a CA got hacked, they'd never admit it since it would mean certain death for the company. So instead of reading about it on slashdot, you'd find out about it years later when someone finally figured out that all there data had been going to Iran, despite SSL encryption.

      That's why we still trust Comodo. They did the wrong thing in letting the certs get issued, but they did the right thing in announcing it to mitigate the damage. This probably isn't the first time a root CA has been compromised, just the first time it's been made public. So is Comodo really all that bad?

      And yes, SSL is a bit of false security, but until you figure out a way to traing the entire web browsing population on how to verify an SSL key (and have some really massive key signing parties), it's the best we've got and a heck of a lot better than nothing.

      So quit yer' whining!

  18. Re:SSL certs are both over-trusted and under-trust by Confusador · · Score: 4, Informative

    But it's still better than http, because it's not trying to solve the vulnerability you're complaining about. Plain HTTP is vulnerable to MITM and ANY SORT OF EAVESDROPPING. Self signed certs are vulnerable to MITM, and eavesdropping (I believe) if the 3rd party catches all of the key exchange. CA signed certs are vulnerable to neither.

    Claiming that self-signed certs are the same as plain-old-http is as ridiculous as claiming that self-signed certs are secure. They won't protect you against an even mildly determined attacker, but they will stop e.g. the Google van from picking up your email. (Yes, that would have been a problem users could have fixed easily, but do you trust them? More layers of security, when easily implemented, are better.)

  19. open access points by leuk_he · · Score: 2

    obfuscated http(https without certificates) is way more secure against wiretapping than not security at all.

    And even then the current GUI of browser for invalid https certificates is way less usefule than expected. Due to the harsh error it is not a good strategy to hack out comodo yourself, since you get a lot of error messages that are not important.

    https does only garantee there is no man in the middle attack. the CA does not say much more than that. Even a malware ridden site for a company "always trust" might get a certificate. It might even be untrackable after that.

  20. Re:Even more important by TheRaven64 · · Score: 3, Interesting

    How? I have an account, and I've clicked on the load all comments button in preferences, but I still only get 250 comments by default. Other complaints:

    • It's still a fixed-width layout, so I have scroll bars unless I make my browser window wider (what is this, 1998?)
    • In a recent update, some event handler when I reply to a comment in the page that opens when I jump to a specific comment (e.g. in a message) decides to jump me back to the top of the thread and makes the input text field lose focus
    --
    I am TheRaven on Soylent News
  21. Re:Even more important by Inda · · Score: 2

    It all sucks dog's balls.

    Using the old D1 system is the only usable option.

    http://slashdot.org/prefs/d1

    --
    This post contains benzene, nitrosamines, formaldehyde and hydrogen cyanide.
  22. Re:SSL certs are both over-trusted and under-trust by roman_mir · · Score: 3, Insightful

    This gets repeated over and over again, and still all the MITM scaremongering carries on, while sensible approach of not displaying visual cues for HTTPS with self signed certs, that they are 'secure', but simply encrypting the connection and proceeding to the site, the same way it's done for HTTP is drowned out in the flood of FUD.

    What browsers should do is display the fingerprint for the certificate near the URL, so it's easy to verify, but rather than that, HTTPS connections should be treated exactly like HTTP connections, unless there is a CA, in which case the browser should provide visual cues that a third party CA believes this is the actual certificate for the site, that the browser connects to.

  23. yeah, that's another question by YesIAmAScript · · Score: 2

    Question #4, on the list, perhaps.

    Why, if Google's certs come from Thawte, is it that big a problem of Comodo issues a bogus google.com cert?

    Browsers should remember that Google's certs last came from Thawte (a particular root cert) and today, all of a sudden, it is being verified by another company. Browsers should warm you about this. I know a lot of people would just click "yes" and be done with it, but I think also given it would happen worldwide (in the case of a worldwide attack) would bring the story, the presence of new and possibly fake certs to the fore.

    Also, on another note, companies like Comodo should flat out just cache Alexa or something and require additional verification before issuing a cert for a high-traffic site, especially if they don't have them as a current customer.

    --
    http://lkml.org/lkml/2005/8/20/95
  24. Re:SSL certs are both over-trusted and under-trust by jd · · Score: 2

    There was a time, not that long ago, when someone faxed Verisign a request for the private keys for Microsoft's SSL certificates and Verisign responded by handing the keys to them. No verification that the person was legit. DNS providers were just as vulnerable, with people sending in requests for zone transfers by e-mails with forged headers, faxes, letters on stationary not bearing any corporate logo. It worked often enough for there to be numerous scandals.

    As for China managing to trick the top-tier routers to re-route half the world's Internet through their packet sniffers... Well, I never was a fan of BGP, and I've grown to loath it all the more.

    Getting back to SSL, first nobody should be using SSL 3.0 any more. TLS 1.2 is the current standard and has signficant improvements. Sadly, none that would install a brain into the heads of PHBs or half-asleep cert techs, but it's better than nothing.

    Second, let's look at how other people solve this problem. In the physical world, official documents to do with identity usually require at least one witness to countersign and a recognized notary office to stamp the document to reduce the risk of tampering. In the GnuPG/PGP world, it is not unusual to have keys digitally signed by "witnesses" and GnuPG uses an algorithm to reduce the risk of tampering. So clearly, these kinds of procedures have a digital parallel in use.

    How would this work in SSL? Well, you could have it so that if organization A knows that organization B's certificate is genuine and correct, organization A could counter-sign B's SSL/TLS certificate as an extra layer of trust. (If a fake Google certificate had a few dozen counter-signatures, all from Iran, it shouldn't be hard to figure out it's fake.)

    Or there could be secure public fingerprint servers, where instead of a simple upload (as per MIT's keyserver), the verification of identity by the keyserver owners was every bit as strict as implied by the certificate grade. The cert fingerprint would then be uploaded by the owners and digitally signed by them. A browser, on seeing a new key, could then ask if you wanted to verify the key against one of the known public fingerprint servers rather than giving a technical analysis most users can't understand.

    Or we could dump the SSL/TLS approach and go with a different site authentication mechanism. It's not like there's a shortage of them, it's more that Netscape implemented SSL and so nobody really bothered with trying to adapt the others. (Ok, there was a short-lived SHTTP, in addition to HTTPS, but I can't think of any other real effort for website authentication since then. Site-to-host authentication should be standard for all services, since the connection has nothing to do with the service, it's just a connection between a site and a host.)

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  25. Re:SSL certs are both over-trusted and under-trust by sjames · · Score: 3, Insightful

    Not at all. The current state of affairs is that self-signed certs are treated almost as bad as invalid certs. The site's identity with a self-signed cert is just as good as an unencrypted connection would be (but no better) but it is more secure against 3rd party sniffing. I would rather it look the same as an unencrypted connection (no lock icon, no green trust indicator) rather than the OMFG IT'S A SELF-SIGNED CERT!!!!!!!!! click here, here, here, and here, gee, it was nice knowing you! like it does now. Perhaps it should display a 'cone of silence' icon.

    However, if the cert has changed since the last time I visited a site, especially if it's now signed by a different authority, I should be concerned MORE than a self signed cert, especially if the previous cert shouldn't be near expiring yet.

    The problem is that trust is fine grained and multi-dimensional but is presented as a simple go/no-go threshold.

  26. Re:SSL certs are both over-trusted and under-trust by Timmmm · · Score: 2

    Erm, you could indeed redirect the user to your own root DNS server, but then none of the DNSSEC replies you sent would have the correct signatures (since you don't have the real private keys used by the actual root server).

    Obviously the browser has to already have the public keys for every root zone, but that's no different to SSL certificates. And DNSSEC has to used at every zone.