Slashdot Mirror


OpenSSL Patches Critical Certificate Forgery Bug

msm1267 writes: The mystery OpenSSL patch released today addresses a critical certificate validation issue where anyone with an untrusted TLS certificate can become a Certificate Authority. While serious, the good news according to the OpenSSL Project is that few downstream organizations have deployed the June update where the bug was introduced. From the linked piece: The vulnerability allows an attacker with an untrusted TLS certificate to be treated as a certificate authority and spoof another website. Attackers can use this scenario to redirect traffic, set up man-in-the-middle attacks, phishing schemes and anything else that compromises supposedly encrypted traffic. [Rich Salz, one of the developers] said there are no reports of public exploits.

45 comments

  1. Trusted certificate owners by psergiu · · Score: 1

    So i understand from this that o don't need to rush & patch my web servers who all have Trusted certs.
    Right ?

    --
    1% APY, No fees, Online Bank https://captl1.co/2uIErYq Don't let your $$$ sit in a no-interest acct.
    1. Re:Trusted certificate owners by Lunix+Nutcase · · Score: 1

      Did you install the version of OpenSSL that introduced the bug?

    2. Re:Trusted certificate owners by XanC · · Score: 1

      Does 1.0.1e-2+deb7u16 qualify?

    3. Re:Trusted certificate owners by psergiu · · Score: 1

      Latest one i have in production is 1.0.1m - the release before the LogJam fix in 1.0.1n that introduced this bug.

      --
      1% APY, No fees, Online Bank https://captl1.co/2uIErYq Don't let your $$$ sit in a no-interest acct.
    4. Re:Trusted certificate owners by Anonymous Coward · · Score: 1

      No, that was released 19th of March.
      The June update is 1.0.1e-2+deb7u17

    5. Re:Trusted certificate owners by Qzukk · · Score: 1

      It sounds like if you are not verifying certificates then it's not critical, but if you've got client certificates to identify/authenticate users you need to update.

      If you're running any kind of client connection (for instance, consuming a https webservice) then you'll need to update (unless they're using gnutls or nss instead of openssl)

      --
      If I have been able to see further than others, it is because I bought a pair of binoculars.
    6. Re:Trusted certificate owners by kthreadd · · Score: 2

      So i understand from this that o don't need to rush & patch my web servers who all have Trusted certs. Right ?

      You may want to rush if your web server validates client certificates? That is, does any of your users have to present a certificate to the web server instead of just the opposite way around?

    7. Re:Trusted certificate owners by petermgreen · · Score: 3, Informative

      Debian claims that their patched versions of openssl for squeeze/wheezy/jessie are not affected by this issue.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    8. Re:Trusted certificate owners by petermgreen · · Score: 1

      AIUI this is mostly a client issue, servers do not normally validate certs presented to them (client certs do exist but they are rarely used and even where they are used afaict it'susually with a "known cert for each user" model rather than a CA based model).

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    9. Re:Trusted certificate owners by Iarwain+Ben-adar · · Score: 1

      Reference please!

    10. Re:Trusted certificate owners by Anonymous Coward · · Score: 0
    11. Re:Trusted certificate owners by Anonymous Coward · · Score: 0

      Unless you're running on sid you're fine:
      https://security-tracker.debian.org/tracker/CVE-2015-1793

    12. Re:Trusted certificate owners by Anonymous Coward · · Score: 0

      I actually had 1.0.2c in production, mostly on old Solaris 10 servers and a few clients. It actually has OpenSSL 0.9.7 but that is too old for some of the features that we want to use, and since we already build the server software from source we might as well build OpenSSL as well. We don't use client certificates so we were safe, but upgraded to 1.0.2d anyway.

    13. Re:Trusted certificate owners by kthreadd · · Score: 1

      Unless you're running on sid you're fine: https://security-tracker.debia...

      According to that page testing (stretch) is also vulnerable, and a few people might actually use that.

    14. Re:Trusted certificate owners by antdude · · Score: 1

      If true, that explains why the lack of updated OpenSSL packages on my oldstable Debian.

      --
      Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
  2. Compromise Window by xdor · · Score: 1, Funny

    Apparently the NSA/FBI needed collect someone's encrypted data in the last year. Now that they have what they want, they are sewing it back up again.

    Though with the NSA's purported computing capability and back doors it doesn't seem like they would need this -- unless some lesser player on the intelligence field got this in -- but then I'm positing corroboration with the OpenSSL folks, so it seems like only a government would be capable of coercing this kind of flaw. But with the underhanded C contest, maybe someone at OpenSSL would make a "mistake" for the right price.

    1. Re:Compromise Window by fustakrakich · · Score: 1

      There are too many secrets in the system to trust anyone. Wipe the word from your memories. It's over, Johnny.

      --
      “He’s not deformed, he’s just drunk!”
  3. Bugs are like cockroaches by fustakrakich · · Score: 1

    For every one you see, there are tens of thousands more under the cabinet. Outside single user mode this whole certificate thing is not trustworthy in any sense...

    --
    “He’s not deformed, he’s just drunk!”
  4. SubjectsInCommentsAreStupid by lesincompetent · · Score: 0

    Don't wanna sound like a witch hunter here but why don't we start checking who and when introduced critical bugs like these?
    Background checks and all...

    1. Re:SubjectsInCommentsAreStupid by fisted · · Score: 1

      Yes well why don't you start checking then?

    2. Re:SubjectsInCommentsAreStupid by lesincompetent · · Score: 1

      I did mr. smartass, turns out the reviewer is the same guy who reviewed the heardbleed 'patch' too.

    3. Re:SubjectsInCommentsAreStupid by fisted · · Score: 1

      mr. smartass

      Where did that come from?

      turns out the reviewer is the same guy who reviewed the heardbleed 'patch' too.

      And who introduced the problems (rather than reviewing the fixes)?

    4. Re:SubjectsInCommentsAreStupid by lesincompetent · · Score: 1

      Can't be arsed to check again. They're both equally culpable in my view though.

    5. Re:SubjectsInCommentsAreStupid by fisted · · Score: 1

      Okay, so you're an idiot. Thanks for clearing that up beyond doubt.

  5. WTF is a "TLS certificate"? by xxxJonBoyxxx · · Score: 1

    Hey editors - did you mean an "X.509 certificate?"

  6. LibreSSL and BoringSSL? by tepples · · Score: 3, Interesting

    If you're running any kind of client connection (for instance, consuming a https webservice) then you'll need to update (unless they're using gnutls or nss instead of openssl)

    Are LibreSSL and BoringSSL also affected? The article mentions that a BoringSSL contributor found the problem, but it doesn't say one way or the other whether this misbehavior made it into any releases of BoringSSL or any other OpenSSL fork.

    1. Re:LibreSSL and BoringSSL? by QuietLagoon · · Score: 2
      According to a posting on the OpenBSD tech mailing list, LibreSSL is not affected.

      .
      http://marc.info/?l=openbsd-te...

      We have received several emails asking if we are impacted by the latest CVE-2015-1793. We are not impacted. The code related to that CVE was added after we forked 1.0.1g and we did not merge these changes from upstream. This CVE only concerns newer OpenSSL releases.

  7. X.509 cert with hostname as common name by tepples · · Score: 4, Informative

    A TLS certificate is an X.509 certificate whose common name identifies a hostname in the manner specified by TLS. All TLS certificates are X.509 certificates, but not all X.509 certificates are TLS certificates because not every X.509 certificate's common name identifies a hostname.

    1. Re:X.509 cert with hostname as common name by madbrain · · Score: 1

      Also, SSL/TLS certificates are X.509 certificates with the proper key usage / extended key usage.

      --
      -- Julien Pierre http://www.madbrain.com/blog
  8. How the bug was introduced by bitwise+counselor · · Score: 2

    This bug was introduced recently in https://github.com/openssl/ope... to add support for "In certain situations the server provided certificate chain may no longer be valid" This bug doesn't affect libressl, boringssl, or vigortls.

    1. Re:How the bug was introduced by Anonymous Coward · · Score: 0

      You do realize that you can look at the history of patch submissions on GitHub, right? It's kind of one of the reasons people use project management software in the first place. I can't be bothered to go searching around myself because I'm not that paranoid, sometimes people make mistakes too. Yes, the NSA and other conspicuously public "secret" agencies these days have a lot of vested interest in a bug like this being worked into OpenSSL or similar packages. No, that doesn't mean you need to conduct a torch-and-pitchfork lynching of any developer who happens to screw something up either.

      One of the few lines of dialogue that didn't make me roll my eyes in TRON Legacy was when CLU was talking about the desire to build the "perfect system..." By the end of the movie we understand CLU never _could_ have designed a perfect system because he was essentially a carbon copy of his creator...and his creator wasn't perfect. Nobody is. Neither are the people writing the browser you're using, the OS that's running it, nor OpenSSL. That being said, if you're so paranoid about the letter-agencies _intentionally_ introducing bugs...like I said, GitHub tracks just about every change made that I can think of, line by line and by user. I sincerely doubt that there's "anonymous" patches accepted into OpenSSL, so you want to lynch somebody, use the search engine and get your rope out.

    2. Re:How the bug was introduced by Anonymous Coward · · Score: 0

      Who introduced it? What about some background checking on this guy\gal?

      The patch seems to be created by Matt Caswell (matt@openssl.org) and reviewed by Stephen Henson (steve@openssl.org).

    3. Re:How the bug was introduced by Slayer · · Score: 1

      AFAIK Stephen Henson was the guy who also approved the patch that ultimately led to the heart bleed exploit. Call me paranoid all you want, but I'm getting nervous about OpenSSL at this point.

    4. Re:How the bug was introduced by Anonymous Coward · · Score: 0

      > but I'm getting nervous about OpenSSL at this point.

      Welcome to a year ago.

      Anyone who has ever even looked at OpenSSL's codebase can see that it is a clusterfuck of spaghetti, not well-thought out, security conscious code. Hack after hack after hack after cludge. I would not trust any of that to be secure.

  9. Thats one way of looking at it by coop247 · · Score: 1

    the good news according to the OpenSSL Project is that few downstream organizations have deployed the June update where the bug was introduced

    Good news everybody, people aren't installing our broken and insecure updates!

    --
    //TODO: Insert catchy phrase
  10. Re:How could this happen? by rubycodez · · Score: 1

    OpenSSL problems are due to proprietary company controlling the project for certain proprietary interests.

    Why don't we call you a CorporateSlaveTard?

  11. Re:Too Many Secrets by sconeu · · Score: 1

    That's why I get my crypto from SETEC Astronomy

    --
    General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
  12. Re:How could this happen? by Anonymous Coward · · Score: 0

    OpenSSL problems are due to proprietary company controlling the project for certain proprietary interests.

    Not really, OpenSSL is open-source, anyone can modify it.

    The problem is the complete shittyness of the OpenSSL code.

    Here's 49 pages of the stupidities that the LibreSSL people ( http://www.libressl.org/ ) found while going through the OpenSSL code: http://opensslrampage.org/

  13. Re:How could this happen? by rubycodez · · Score: 1

    No, anyone can submit a contribution which may or may not get accepted by those controlling the project. Your understanding is so flawed

  14. Re:Too Many Secrets by Last+Warrior · · Score: 1

    too many secrets

    ill have some of that world peace about now.

  15. Test suite by Anonymous Coward · · Score: 0

    Is it me or is there close to zero test harnesses for regression tests? And wasn't there money raised as well?

  16. Fund LibreSSL, not OpenSSL by RR · · Score: 1
    Theo de Raadt:

    OpenSSL is not developed by a responsible team.

    Understatement.

    --
    Have a nice time.
  17. RHEL/CentOS/etc not vulnerable by whitroth · · Score: 1

    There was an announcement by RH in response to this, noting that the vulnerabilities were included in a recent release by openSSL, and that they had not gone into RHEL updates, so RHEL is not vulnerable, nor are it's children, like CentOS.

                    mark