Slashdot Mirror


Man-In-the-Middle Vulnerability For SSL and TLS

imbaczek writes "The SSL 3.0+ and TLS 1.0+ protocols are vulnerable to a set of related attacks which allow a man-in-the-middle (MITM) operating at or below the TCP layer to inject a chosen plaintext prefix into the encrypted data stream, often without detection by either end of the connection. This is possible because an 'authentication gap' exists during the renegotiation process, at which the MitM may splice together disparate TLS connections in a completely standards-compliant way. This represents a serious security defect for many or all protocols which run on top of TLS, including HTTPS."

170 comments

  1. We need to invest in Quantum Physics. by jellomizer · · Score: 4, Funny

    Only with quantum physics can we actually get a secure data transfer. Or not or both.

    --
    If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    1. Re:We need to invest in Quantum Physics. by PiSkyHi · · Score: 5, Funny

      Come on moderators, its a joke - Yes, I realise its both funny and not funny at the same time.

    2. Re:We need to invest in Quantum Physics. by Anonymous Coward · · Score: 0, Funny

      Most of the mods here wouldn't get an intelligent joke if it came up and kicked them in the face.

      It'd have to kick them in the nuts to be low-brow enough for them to notice.

    3. Re:We need to invest in Quantum Physics. by Anonymous Coward · · Score: 0

      I LOLed. +1

    4. Re:We need to invest in Quantum Physics. by L4t3r4lu5 · · Score: 3, Insightful

      Unfortunately, that's incorrect. By hearing (reading) the joke, you have observed its state. This has destroyed the alternative quantum state of the joke.

      What will really irritate quantum physicists in this instance is that, unfortunately, the joke is both funny and unfunny at the same time. The state of the joke relies upon the opinion of the observer, not any quantum juxtaposition.

      In fact, I'm not so sure this is related to quantum phy... Oh.

      --
      Finally had enough. Come see us over at https://soylentnews.org/
    5. Re:We need to invest in Quantum Physics. by mcgrew · · Score: 3, Funny
    6. Re:We need to invest in Quantum Physics. by Jurily · · Score: 1

      We know it's funny, we just don't know exactly how funny it is.

    7. Re:We need to invest in Quantum Physics. by 93+Escort+Wagon · · Score: 1

      Come on moderators, its a joke - Yes, I realise its both funny and not funny at the same time.

      Before reading it, I thought your post might be funny. But my twin brother saw it first and didn't find it funny, which determined my state.

      --
      #DeleteChrome
    8. Re:We need to invest in Quantum Physics. by jbezorg · · Score: 1

      I died laughing when someone opened the box.

      --
      I've lost all my marbles except one & It's fun to test angular & centripetal acceleration in my skull
    9. Re:We need to invest in Quantum Physics. by Hurricane78 · · Score: 1

      It has destroyed the alternative states, yes. But it has created a separate universe for everybody!

      So now we all run our very own instances of the universe.

      Who am I telling this... you could just be imaginations of my mind... and if not, you are now in MY universe anyway! :D

      --
      Any sufficiently advanced intelligence is indistinguishable from stupidity.
    10. Re:We need to invest in Quantum Physics. by johny42 · · Score: 1
    11. Re:We need to invest in Quantum Physics. by OldSoldier · · Score: 1

      Funny... but as I understand it... one mode of QM communications only allows for 100% detection of an intercepted communication, not specifically unbreakable ciphers.

    12. Re:We need to invest in Quantum Physics. by Interoperable · · Score: 0, Offtopic

      As someone doing graduate work in quantum information I can say that the same old measurement jokes really just aren't funny. That's it. No meta-joke, they're just not funny.

      I can also say that we really should invest much, much more money into quantum physics. Buckets and buckets of money.

      --
      So if this is the future...where's my jet pack?
    13. Re:We need to invest in Quantum Physics. by Anonymous Coward · · Score: 0

      Unfortunately, that's incorrect. By hearing (reading) the joke, you have observed its state. This has destroyed the alternative quantum state of the joke.

      Some people believe an alternate universe is created; in this universe the joke might be funny, in the alternate universe it's not funny (that's also where Spock has a beard).

    14. Re:We need to invest in Quantum Physics. by L4t3r4lu5 · · Score: 1

      So now we all run our very own instances of the universe.

      You've shifted into philosophy, my friend.

      Solipsism

      --
      Finally had enough. Come see us over at https://soylentnews.org/
    15. Re:We need to invest in Quantum Physics. by L4t3r4lu5 · · Score: 1

      Investing in your future Rolls Royce Phantom and Sandbanks apartment, are we?

      --
      Finally had enough. Come see us over at https://soylentnews.org/
    16. Re:We need to invest in Quantum Physics. by Interoperable · · Score: 1

      Ha ha, more like Ramen noodles and rent money.

      --
      So if this is the future...where's my jet pack?
    17. Re:We need to invest in Quantum Physics. by GrpA · · Score: 1

      The funniest part of your post is the (Score:0, Funny)

      GrpA

      --
      Enjoy science fiction? "Turing Evolved" - AI, Mecha, Androids and rail-gun battles. What more could you want?
    18. Re:We need to invest in Quantum Physics. by Anonymous Coward · · Score: 0

      .
      .
      Not even so: since we now have demonstrated how to slow-down, store and modify light on-the-fly, what is abusively called "quantum encryption" (key exchange rather than encryption) is, ahem, no more than marketing (abusively again) repackaged as "science".
      .
      .

  2. oh joy by LoneWlf · · Score: 1

    More cyber terror :)

    --
    -LoneWolf-

    It is by will alone I set my mind in motion.

    1. Re:oh joy by Anonymous Coward · · Score: 0

      Millions of potential exploiters didn't know about it, until now.

      Thanks /.

    2. Re:oh joy by toleraen · · Score: 2, Insightful

      If the only place the exploiters were getting their info from was Slashdot, this world would be a much more secure place, and the attacks that did make it through would have more ponies.

    3. Re:oh joy by Albanach · · Score: 4, Insightful

      Millions of potential exploiters didn't know about it, until now.

      Millions of ordinary people didn't know there was a vulnerability until now. Who knows how many bad guys knew already though?

      Knowing of a potential vulnerability allows people to alter their behaviour if they deem that an appropriate response. Systems administrators can examine setups to see if they can use other methods to secure communications and it also allows all those who have written applications to examine their code.

      I'd rather know of a vulnerability and respond, than not know while others are potentially exploiting it.

    4. Re:oh joy by think_nix · · Score: 4, Informative

      I wouldn't be so sure on that, anyone can read a mail-listing Ill quote this from Marsh Ray on the ietf mail list:

      I can confirm the severity of the TLS MITM bug. I've had a working
      exploit going since the end of August.

      Steve Dispensa and myself put together (with help of many of course) an
      industry working group to address it. I think we were successful in
      producing a preliminary fix, which vendors are in various stages of
      testing and deployment.

      We'd agreed to responsibly delay disclosure to give the industry time to
      coordinate the fix.

    5. Re:oh joy by Anonymous Coward · · Score: 0

      Trojan ponies?

    6. Re:oh joy by isama · · Score: 1

      trojan unicorns.

    7. Re:oh joy by ThatsNotPudding · · Score: 1

      Who knows how many bad guys knew already though?

      If by Bad Guys, you mean Governments; probably damn near all of them, quietly building up a vast, J Edgar Hoover-style database for both blackmail and 'The Usual Suspects' showtrial roundups.

    8. Re:oh joy by sheph · · Score: 1

      Security isn't accomplished by silence. The bad guys have known about this for a long time. Kind of hard for average people to protect themselves when the risk isn't made public. At the end of the day not much has changed. If you want a computer that is secure unplug it and lock it in a vault. Otherwise, expect that everyone on the Internet can see the information you keep on it.

      --
      I don't believe in karma, I just call it like I see it.
    9. Re:oh joy by evilviper · · Score: 1

      Who knows how many bad guys knew already though?

      It doesn't matter how many may have known. What matters is if it was ever used. And once it is, it doesn't take too long to track down where the hole in the security system is...

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    10. Re:oh joy by jamesh · · Score: 1

      Millions of ordinary people didn't know there was a vulnerability until now.

      Dear Ordinary Person,

      As you may have heard in the media, there has been an exploit discovered in the security protocols used in the banking sector. As such, we require you to log on and reset your password. Please click on this link and enter your security details there. Please ignore any certificate warnings that you might see, they are unavoidable while we implement a more secure protocol.

      Sorry for the inconvenience

      Bad Guy^H^H^H^H^H^H^H Yourbank

  3. web developers by chrisranjana.com · · Score: 1, Funny

    So are these man in middle exploits fixed in the latest Ubuntu release ?

    --
    Chris ,
    Php Programmers.
    1. Re:web developers by bbernard · · Score: 1

      "So are these man in middle exploits fixed in the latest Ubuntu release ?"

      No, they've just changed the name to "koala in the middle" exploits.

      --
      ----- Connection reset by beer
  4. We need by jav1231 · · Score: 1

    We need someone who can eliminate these middle men! Where's Tom Shane on this??

    1. Re:We need by FauxPasIII · · Score: 1

      In Antwerp, I would think.

      --
      25% Funny, 25% Insightful, 25% Informative, 25% Troll
    2. Re:We need by Anonymous Coward · · Score: 0

      nope, bangkok.

  5. This vulnerability is brought to you... by Anonymous Coward · · Score: 0

    ...by the CIA/NSA/[insert your favorite spying agency]

  6. Here is a good joke by Anonymous Coward · · Score: 0

    Wasn't the man in the middle attack the subject of a Michael Jackson song?

    1. Re:Here is a good joke by Anonymous Coward · · Score: 0

      That was "Man in the Mirror"

    2. Re:Here is a good joke by tom17 · · Score: 1

      And what exactly is a Man In The Mirror attack?

    3. Re:Here is a good joke by Jim+Efaw · · Score: 1

      And what exactly is a Man In The Mirror attack?

      I don't know, but it probably involves a "special underwear" packet.

      (It's worse than you think: I blew the chance to use moderator points on this post just to make that joke. See what I do for you folks?)

  7. This is news? Come on! by Anonymous Coward · · Score: 1, Informative

    Anyone who knows anything about TLS/SSL knows that MitM attacks are always the biggest risk.

    Heck, appliances like the IronPort devices use exactly that to inspect user traffic.

  8. Its a quantum man in the middle attack by Viol8 · · Score: 5, Funny

    Its the same man in all 3 places.

    1. Re:Its a quantum man in the middle attack by Anonymous Coward · · Score: 0

      Im in ur tubes. Confusing ur adminz.

    2. Re:Its a quantum man in the middle attack by jonaskoelker · · Score: 1

      Just like DRM, then? ;-)

    3. Re:Its a quantum man in the middle attack by Anonymous Coward · · Score: 0

      OMG! Comment WIN!

  9. Now the terrorists win. by elucido · · Score: 0, Offtopic

    So now that SSL is pretty much useless, lets assume the terrorists have all of our https and ssl secured credit card numbers. This is on top of the random number generator vulnerability in Windows which most people don't know about.

  10. Re:This is news? Come on! by Anonymous Coward · · Score: 0

    So you didn't load certificates or keys on your IronPort? Wow, you must have the only magic IronPort made.

  11. Dissabling SSL re-negotiation? by AbbeyRoad · · Score: 4, Insightful

    Am OpenSSL patch (http://www.links.org/files/no-renegotiation-2.patch) disables SSL
    renegotiation, closing the security hole.

    But let me ask this : who would ever require SSL renegotiation in practice?

    I mean seriously -- changing the cipher in the middle of an SSL session??
      -- no mainstream scenario would ever do this.

    A question comes to mind why renegotiation was ever supported in the first place.

    The next question is what OTHER seldom-used "features" are supported by
    most SSL implementations that are just supported so that the implementation
    can claim full RFC compliance, but are never actually used by real web sites.

    My own SSL builds disable everything except RC4-*-RSA

    1. Re:Dissabling SSL re-negotiation? by dopodot · · Score: 5, Informative

      It's more than changing the cipher type, it's also negotiating up from anonymous client to verified client. The second situation occurs ALL THE TIME in web services that require different levels of trust for different content within the same site. So it's not a "seldom-used" feature in the least.

    2. Re:Dissabling SSL re-negotiation? by John+Hasler · · Score: 2, Insightful

      > The second situation occurs ALL THE TIME in web services that require
      > different levels of trust for different content within the same site.

      Don't do that.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    3. Re:Dissabling SSL re-negotiation? by Anonymous Coward · · Score: 5, Informative

      "But let me ask this : who would ever require SSL renegotiation in practice?"

      from,

      http://h71000.www7.hp.com/doc/83final/ba554_90007/ch04s03.html

      SSL renegotiation is useful in the following situations, once you have established an ordinary SSL session:

              * When you require client authentication
              * When you are using a different set of encryption and decryption keys
              * When you are using a different set of encryption and hashing algorithms

      The last two are kind of useless in practice. The first one is very useful to authenticate the client. Actually, if this is the only way to verify client cert, then SSL renegotiation is vital part of SSL.

    4. Re:Dissabling SSL re-negotiation? by Anonymous Coward · · Score: 0

      But let me ask this : who would ever require SSL renegotiation in practice?

      I mean seriously -- changing the cipher in the middle of an SSL session??

        -- no mainstream scenario would ever do this.

      A question comes to mind why renegotiation was ever supported in the first place.

      If I remember correctly, SSL renegotation was (and probably ever is) used for upgrading cryptographic strength when transaction are done with financial institutions. Encryption is/was subject to some legal restrictions in some countries, wich ones have/had some exceptions (obviously for exchanging financial or other sensible data).

    5. Re:Dissabling SSL re-negotiation? by ArsenneLupin · · Score: 1

      But let me ask this : who would ever require SSL renegotiation in practice?

      I mean seriously -- changing the cipher in the middle of an SSL session?? -- no mainstream scenario would ever do this.

      A question comes to mind why renegotiation was ever supported in the first place.

      Client certificates need this.

    6. Re:Dissabling SSL re-negotiation? by Anonymous Coward · · Score: 1, Insightful

      No, SSL client auth works just fine w/o renegotiates. Only some scenarios (client auth only for some resources on the site) or implementations (a webserver made in the american north-west) use renegotiates.

    7. Re:Dissabling SSL re-negotiation? by cananian · · Score: 1

      RC4? Really?! Dude, that's totally broken -- see http://en.wikipedia.org/wiki/RC4#Security and especially http://en.wikipedia.org/wiki/Fluhrer,_Mantin,_and_Shamir_attack . Ron Rivest makes lots of good stuff, but all of "Ron's Codes" have been broken. (Except maybe RC6, but the AES committee determined that Rijndael was better than it.) Classic example of amateur cryptography actually resulting in a system that is *weaker* than the alternative. Le sigh.

      --
      [ /. is too noisy already -- who needs a .sig? ]
    8. Re:Dissabling SSL re-negotiation? by Anonymous Coward · · Score: 2, Informative

      Umm, you want to rotate your block ciphers on long-running connections. Saying this isn't useful in practice implies that you must reset connections and recover at the application level instead, or risk using the same block ciphers for too long.

    9. Re:Dissabling SSL re-negotiation? by Jah-Wren+Ryel · · Score: 1

      Umm, you want to rotate your block ciphers on long-running connections. Saying this isn't useful in practice implies that you must reset connections and recover at the application level instead, or risk using the same block ciphers for too long.

      Exactly. I was going to say the same myself.

      --
      When information is power, privacy is freedom.
    10. Re:Dissabling SSL re-negotiation? by Anonymous Coward · · Score: 0

      > The second situation occurs ALL THE TIME in web services that require
      > different levels of trust for different content within the same site.

      Don't do that.

      You know, it's quite common to have secure parts of a website (online banking) and non-secure parts of a website (like bank branch locations). Not everything needs ssl. And for a large website, encrypting all the traffic results in quite a cost.

      Although, some websites (like paypal & etrade) refuse to serve http traffic and always redirect you to https.

    11. Re:Dissabling SSL re-negotiation? by Anonymous Coward · · Score: 0

      It may save resources by having plain parts of the website, but security wise, even bank branch locations could cause big trouble if a MITM attacker decided to inject bad javascript or exploits.

      For something as security demanding as banking, the whole page should be SSL protected, period. Even seemingly insecure things as E-mail, there at least should be an option for making the whole page able to be sent via SSL (Google Mail offers this, OWA does this by default, and even though it takes up resources, other people should take heed and follow suit to protect their customers and visitors.

    12. Re:Dissabling SSL re-negotiation? by Anonymous Coward · · Score: 0

      Actually, if this is the only way to verify client cert, then SSL renegotiation is vital part of SSL.

      Except for the part where client cert is not only non-vital but obscure to the point of not really existing in the real world.

    13. Re:Dissabling SSL re-negotiation? by EelBait · · Score: 1

      You can also use renegotiation to derive new keys after X amount of data has passed. This would be for long running connections.

    14. Re:Dissabling SSL re-negotiation? by Anonymous Coward · · Score: 0

      Well, changing the keys is also frequent and in fact is a good practice to do while sending a large amounts of data.

  12. Use PGP/GNUPG auth by elucido · · Score: 1, Insightful

    Maybe its time we stop using SSL and just use GNUPG Auth. Let the user generate their own key and be responsible for their own security, or lets just use smart card readers. We make impossible to secure our machines due to our institutional insecurity. This way we can use it as an excuse to blame terrorists and get the feds involved.

    Why aren't smart cards the norm? Why are we using passwords at all?

    1. Re:Use PGP/GNUPG auth by croftj · · Score: 1

      SSL at least in the context of web browser is not only to secure our communication, but authenticate that the web site is the web site we really want to be at.

      --
      -- Many men would appreciate a woman's mind more if they could fondle it
    2. Re:Use PGP/GNUPG auth by schon · · Score: 4, Insightful

      Let the user [...] be responsible for their own security

      Yes, because as all of the botnets have shown, that works so well in practice.

    3. Re:Use PGP/GNUPG auth by Cthefuture · · Score: 1

      Note that using a smartcard in this case would not help you. Smartcards provide a protected place to put your keys and do "private" stuff (like signing) but all the same protocols are usually used on top of that (including SSL/TLS).

      I doubt GNUPG Auth is without fault itself. It's really hard to do security and crypto stuff correctly. Really, really hard as even the best mathematicians, theorists and developers in the world get caught out all the time.

      --
      The ratio of people to cake is too big
    4. Re:Use PGP/GNUPG auth by mindstrm · · Score: 1

      They are even more closely tied together than that.

      Without authentication, encryption (in this context) does not provide any security at all.

    5. Re:Use PGP/GNUPG auth by the_womble · · Score: 1

      That will not happen, because there is no money in it. Tunnelling over ssh has the same problem.

    6. Re:Use PGP/GNUPG auth by DragonWriter · · Score: 1

      SSL at least in the context of web browser is not only to secure our communication, but authenticate that the web site is the web site we really want to be at.

      SSL/TLS, used properly, doesn't just authenticate one end of the connection.

      Of course, SSL/TLS is usually not used properly.

    7. Re:Use PGP/GNUPG auth by Lord+Ender · · Score: 1

      You are clearly confused. This is about a flaw in the SSL protocol, not a flaw in X.509/PKI. The only real difference between PGP and X.509/PKI is in key management. Using PGP's extremely expensive, time-consuming, and error-prone key distribution method is the reason PGP is going extinct. Your grandma will never go to a key-signing party.

      Another thing you are confused about: smart cards? What? What do they have to do with anything? Smart cards typically use X.509, not PGP. And in this case, smart cards would make things less secure than, say, passwords.

      It sounds like you took a bunch of random crypto words and strung them together. Are you a bot? If you're not sure, go try some CAPTCHAs and see how you do.

      --
      A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    8. Re:Use PGP/GNUPG auth by Hurricane78 · · Score: 1

      Because you haven't understood security at all!

      Smartcards still need a password, or they are no more secure than a fingerprint (cut off the finger) or a credit card (buy something immediately after stealing it).

      Passwords alone of course a also not great. But at least nobody can steal a password that is stored only in your mind.

      --
      Any sufficiently advanced intelligence is indistinguishable from stupidity.
    9. Re:Use PGP/GNUPG auth by brantondaveperson · · Score: 1

      ...But at least nobody can steal a password that is stored only in your mind.

      They can if they use the $5 wrench decryption method...

    10. Re:Use PGP/GNUPG auth by elucido · · Score: 1

      When have we given the user the choice to have an operating system not vulnerable to botnets? They don't get a choice. And let's be realistic, botnets are offtopic.

    11. Re:Use PGP/GNUPG auth by elucido · · Score: 1

      How would a smartcard ever be less secure than a password?

      The problem is SSL. Did you do your research as to what GNUPG auth is? Sure it does not replace all the functions of SSL, but SSL if it's this broken isnt really much better. I think there should be an alternative to SSL so that SSL actually has reason to improve. If you only offer one crypto protocol and one set of options then what do you expect?

    12. Re:Use PGP/GNUPG auth by elucido · · Score: 1

      Who is they? The mafia?

      If they are in position to torture you, whatever secrets you have is probably not worth more than your life.

    13. Re:Use PGP/GNUPG auth by bratgitarre · · Score: 1

      In TSL's RSA mode the user is actually generating the session key, and in the Diffie-Hellman modes s/he generates at least half of it.

    14. Re:Use PGP/GNUPG auth by Anonymous Coward · · Score: 0

      Easy, if a smartcard is stolen is less secure than a good generated password.

      In fact smartcards are a fashion gadget, they are no more secure or reliable than a PGP/X.509 key on a USB memory.

  13. Re:This is news? Come on! by Anonymous Coward · · Score: 1, Insightful

    It's news in the sense that TLS provides an authentication mechanism specifically designed against this kind of attack.

  14. The false belief of security through obscurity. by elucido · · Score: 1

    If somebody is sufficiently motivated, has lots of free time, and has the knowledge, you can be sure they'd learn about this exploit before slashdot or the mainstream media. You can be sure they'd probably learn about it the moment the first researchers learn about it and sell the information, or brag about what they discovered behind closed doors. Lets get real, most people can't keep a secret and that includes the people who discover the exploits, and while it might not be on slashdot, the sort of people who would use this exploit probably don't look on slashdot to find the latest exploits.

    No... the criminals can bribe or pay some masters or phd level researcher to sell them the source code in some instances or they can just listen and wait for them to brag to their friends on IRC "hey look I just discovered a bug in SSL!"

    We should eliminate SSL completely, and the password based security methodology. Credit cards are no more secure using a password over SSL than they are if you use credit cards over the phone than they are if you just hand someone your credit card and hope they can't remember what they see.

    1. Re:The false belief of security through obscurity. by sexconker · · Score: 1

      Uh. Password-based security is the only one that works.

      Here's how security works:

      Hi I'm Slashdot Bob.
      Prove it.

      Ah yes, the authentication piece - the secret that only you and I know. (inaudible whispering)

      Ok, you're Slashdot Bob. What do you need?
      I need access to Jill.

      Hmmm, nope. You don't have access.
      Fuck!

      Hmmm, nope. You don't have access to that either.

      All of our security EVER relies on maintaining a list of who has access to what, and ensuring people are who they claim to be. This can ONLY be done with secret information. A password is the closest we have to that. All physical dongles and devices can be stolen. All biometric data can be scanned and spoofed. They aren't yet able to read your mind. The fact that people forget their passwords, write them down, pass them out, or have shitty ones is their own fault.

    2. Re:The false belief of security through obscurity. by AnyoneEB · · Score: 1

      No, the user may authenticate locally (that is, within a trusted system) with a password, but a password should never be sent over the internet, even encrypted (maybe hashed with a challenge, but not just encrypted). You use public key encryption or even a zero-knowledge proof. There does need to be a secret that the client uses to authenticate itself, but transmitting the secret, even encrypted, is a horrible idea for security as it completely falls apart as soon as there is even the slightly flaw in the encryption or server authentication.

      Having the server know the password at all is a bad idea, too (bad things happen when the user uses the same password for multiple services), but it is a bit harder to avoid as, in general, the user needs a way to log in from any computer and having a file or dongle required is bad (one solution is to use a hash of the user-entered password and the domain as the password, which is basically what digest auth does).

      --
      Centralization breaks the internet.
    3. Re:The false belief of security through obscurity. by sexconker · · Score: 1

      All forms of authentication rely on the two parties, and only the two parties, knowing a piece of information.

      There is no getting around that. Public key encryption does not. Whatever wikipedia link you provide does not.

      All encryption is the same. You both need to know the decryption key. Which is why SSL and TLS fail. Which is why everything ever will fail.

      Man in the middle attacks will ALWAYS be viable.
      It ALWAYS boils down to a key sharing problem and an initial authentication problem. You can set up your online account in person in a locked vault and it would still have the same fucking issues.

      Of course it's dumb to send a password in plaintext. Anyone could be listening. Of course it's dumb to do what SSL and TLS do - anyone could be listening. Of course it's dumb to tell someone a secret in a park - anyone could be listening.

      The only thing anyone will ever achieve in regards to security is greater obfuscation and hassle for potential baddies AND for the two intended parties.

    4. Re:The false belief of security through obscurity. by Dragonslicer · · Score: 1

      Ah yes, the authentication piece - the secret that only you and I know. (inaudible whispering)

      The secret that only the two of you know, until I get my high-sensitivity microphone into the room. Any non-trivial sharing must go through a medium that allows interception by third parties.

      And of course, never underestimate the password-obtaining ability of a $5 wrench.

    5. Re:The false belief of security through obscurity. by sexconker · · Score: 1

      Of course.

    6. Re:The false belief of security through obscurity. by Anonymous Coward · · Score: 0

      Most of the major popular SSL packages have SRP authentication bindings that allow them to use passwords to establish session encryption.

      What we really need to do is push the use of this technology so rather than relying on certs to protect you while you send your login and password over a trust anchor the size of the earth itself your unique login and password provide the means to estabish a secure session with your bank. Most SSL sites require you to login at some point and it would seem to me the best solution is to push authentication down a few layers where it can do some good and provide real security.

      This would also have the added benefit of no longer having to feed the certificate industry which consistantly fails to live up to any sensible standards or responsibility.

    7. Re:The false belief of security through obscurity. by AnyoneEB · · Score: 1

      All forms of authentication rely on the two parties, and only the two parties, knowing a piece of information. There is no getting around that. Public key encryption does not. Whatever wikipedia link you provide does not.

      There seems to be some confusion here on what I was claiming. At some point the server needs to know some piece of information to use to positively identify the client. If this is a password, then the server has to know that the password it gets in the first place is really the one the client wanted to set. I agree that this is a hard problem with no clear solution, although SSL/TLS seems to do a pretty good job of it.

      I was also discussing the problem that the server should not be able to log into another server as the client using that information. The most well-known example is probably SSH's public key login scheme where the server knows only the public key and the client knows the private key and never needs to reveal any of the private key to the server in order to log in. Similarly, a server can know only a hash of a client's password (concatenated with a salt and possibly some other info) and the client can prove it knows the password without actually telling the password to the server (for example, by the method used in HTTP digest auth of concatenating the password hash with some challenge and then hashing it again, note that the server can login to another server that has the exact same password hash in that case, but in a properly setup system, that never happens).

      --
      Centralization breaks the internet.
    8. Re:The false belief of security through obscurity. by sexconker · · Score: 1

      The issue of one server sending the credentials forward to another server (thus posing as the user) should never occur - two distinct services should have two distinct secrets.

      Passing the data around in a "hash this" scenario lets you use the same secret for many services without revealing the secret to the server, sure.

      But the point of an authentication system is to establish trust - if you don't trust the server you're using, you shouldn't be trusting them with your secret in the first place.

      Feeding a server your hashed shit is safer than the server knowing your secret outright. But it's not as safe as having separate secrets for separate services.

      Everything you hash and forward on is fodder for someone to use if they decide they want to figure out your key. There are mathematical attacks that use the public key and known-good hashes of many (and specific) strings. They bring the cracking time down from astronomical to feasible.

  15. No, it is not by Anonymous Coward · · Score: 0

    They have simply being making use of it and others.

  16. Another way of MITM on NSS SSL/TLS implementation by Anonymous Coward · · Score: 0

    http://www.thoughtcrime.org/papers/null-prefix-attacks.pdf
    http://www.thoughtcrime.org/papers/ocsp-attack.pdf

    http://www.thoughtcrime.org/software/sslsniff/

  17. Maybe because the "hackers" are writing the code? by elucido · · Score: 0

    It's actually simple if you look at it from the point of view of an insider who can write or who reads code. Why do we keep seeing the same bugs in the most critical software? Buffer overflows, and other exploitable backdoors? Every hacker knows to look for buffer overflow exploits and it's not all that difficult to write the code or pay someone to write it for you. So it's just stupid to believe that by hiding the exploits that we weaken hackers. To the contrary, by hiding the bugs we make the hackers stronger because the backdoors remain secret and there is no incentive to ever fix the bugs.

    Remember that bug in Ubuntu that let people remotely get root? These sorts of bugs/backdoors could be written in on purpose. A lot of people say it coming and warned them against keeping the user logged in as root, and we all know the dangers of sudo. When a buffer overflow leads to privileges then you have to wonder whether the coders made an honest mistake or whether somebody paid them to sneak in a backdoor or two. Never rule out corruption from any equation, especially in a bad economy like this one.

  18. Wrong Impression? by Dareth · · Score: 2, Insightful

    I had the impression that we paid money to SSL certificate providers because they provided security and identify confirmation. Maybe that was just a wrong impression.

    --

    I only look human.
    My mother is a halfling and my dad is an ogre, so that makes me an Ogreling
    1. Re:Wrong Impression? by John+Hasler · · Score: 5, Insightful

      You pay money to certificate providers so that your customers won't be frightened away by scary browser warnings.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    2. Re:Wrong Impression? by The+MAZZTer · · Score: 1

      If phishing attacks are any indication, the scary browser warnings don't work anyway.

    3. Re:Wrong Impression? by muckracer · · Score: 2, Insightful

      > You pay money to certificate providers so that your customers won't be
      > frightened away by scary browser warnings.

      Which they get anyway....and next ignore. Yippie Skippy!

      While the SSL crypto part is pretty neat, I always felt the commercial CA
      thing is one of the biggest money-making rip-off's in the entire IT field.
      Nor do I believe it to be secure or "trust" it. We always assume MITM's to be
      someone without access to the CA's themselves. Frankly, the people I worry
      more about are those, that DO have access to the CA's and are thus able to
      create perfectly valid certificates at a whim for any application, incl. a
      chained MITM attack. SSL is, IMHO, not in any shape safe from certain
      government intrusions. Ironically, likely due to the so-called "trust" model
      it employs.

    4. Re:Wrong Impression? by John+Hasler · · Score: 1

      The warnings work well enough to cost you more than than price of the certificate.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    5. Re:Wrong Impression? by amorsen · · Score: 1

      Indeed. GPG and SSH have workable trust models. Not perfect, but workable. The model in TLS is just wrong. Anything which requires me to trust the (hopefully merely incompetent) people working for Verisign is a loss.

      --
      Finally! A year of moderation! Ready for 2019?
    6. Re:Wrong Impression? by Anonymous Coward · · Score: 0

      Ironically, likely due to the so-called "trust" model it employs.

      That's as ironic as blackfly in your Chardonnay. Trust is a relationship of reliance. If CAs didn't have the power to make your browser believe someone is someone else then you wouldn't be trusting them.

    7. Re:Wrong Impression? by Anonymous Coward · · Score: 0

      The phishing attacks work well enough to cost you more than browser warnings.

  19. Re:Maybe because the "hackers" are writing the cod by Hatta · · Score: 3, Informative

    Never attribute to malice that which may be adequately explained by incompetence. There is of course always the possibility that someone would do this on purpose. But I still trust people who let us see the code more than those who don't.

    --
    Give me Classic Slashdot or give me death!
  20. ZRTP by cool_arrow · · Score: 1

    I've been reading about ZRTP http://en.wikipedia.org/wiki/ZRTP as it relates to VOIP. I was wondering if it might have some use for these types of problems.

  21. How does this compromise SSL? by Dan+Ost · · Score: 1

    I read the first article (second won't load...probably hosed by the /. effect) and it's still not clear to me why this is a big deal. Can someone explain how injecting prefixes compromises my secure datastream?

    --

    *sigh* back to work...
    1. Re:How does this compromise SSL? by TheNinjaroach · · Score: 1

      From what I understand, the MITM could "swallow" the original HTTP request from the client, inject their own URL (with parameters in the query string) into the request all while continuing to forward the client authentication cookies. Imagine prefixing an HTTP GET request for a poorly written webapp: GET bad.webapp.com/payment/send.php?account=12345&amount=1000000000.00 HTTP/1.1

      --
      I went to eat some animal crackers and the box said, "Do not eat if seal is broken." I opened the box and sure enough..
    2. Re:How does this compromise SSL? by Burdell · · Score: 1

      Let's say you are paying your mortgage, putting in your bank account information for a transfer. An attacker could inject additional HTML (Javascript, etc.) that sends your response to the attacker's server instead of the mortgage company's server, compromising your account info.

      Or a simpler attack would be the bank's online banking login page: again, inject additional HTML to the bank's response, and now you submit your username/password to the attacker's server.

    3. re: How does this compromise SSL? by Anonymous Coward · · Score: 2, Informative

      You're right, this isn't a big deal. What they're describing is essentially a very complicated CSRF. The upshot is that you can get the user's browser to visit a URL of your choosing, but you can't see the results from that page. Sound familiar? That's because all you'd have to do is embed an IMG tag in some HTTP that the user is getting back in order to accomplish the exact same thing -- no fragile renegotiation attack required.

      Thank you security industry for all the hype.

    4. Re:How does this compromise SSL? by Anonymous Coward · · Score: 3, Interesting

      Actually, this isn't true. This attack only allows for injecting data into the request from the client to the server. The attacker doesn't even get to see the result, much less modify it.

      Basically, the only thing the attacker gets is the ability to make the client's browser request whatever the attacker wants. You know, the kind of thing you could do with a simple injected IMG tag.

    5. Re:How does this compromise SSL? by savanik · · Score: 1

      Effectively, if they're between you and your server, 'click here to own this connection.'

      I just talked with the resident encryption guru here - as long as the attacker is between you and the server you're connecting to, with this bug you can inject arbitrary data in front of the target encrypted packet. Some of the data you can inject includes commands, such as, 'By the way, send the rest of this connection to this IP over here, keep the authentication details but renegotiate the encryption.' In other words, 'Keep authentication but talk to the attacker's PC instead.'

    6. Re:How does this compromise SSL? by Anonymous Coward · · Score: 0

      You need to hire a different resident encryption guru, because he doesn't understand this.

    7. Re:How does this compromise SSL? by Anonymous Coward · · Score: 0

      This is true, up until the point where the public keys get renegotiated, with the MitM running the show.

      Once he has the keys to the kingdom, you are owned.

    8. Re:How does this compromise SSL? by radtea · · Score: 2, Informative

      Basically, the only thing the attacker gets is the ability to make the client's browser request whatever the attacker wants.

      Oh, is that all? So for example, you can serve something that looks like my bank's home page but originates on your server.

      Then when I enter my user name and password your server collects them, and if you're feeling particularly clever redirects me back to my bank's real site. Now you have access to my account, and I'm none the wiser.

      This is far more serious than image loading, because you can serve arbitarary web pages to me. As others here have pointed out, you could even serve my bank's authentic webpage but with some added javascript to just forward my username and password to you. Can you do that with an embedded image tag?

      No, I didn't think so.

      --
      Blasphemy is a human right. Blasphemophobia kills.
    9. Re:How does this compromise SSL? by Anonymous Coward · · Score: 0

      The webserver receives the attackers request with your session cookie? SSL is not just about confidentiality but also about data integrity...

    10. Re:How does this compromise SSL? by WhiplashII · · Score: 2, Informative

      Let's say you have a web service exposed to your clients that processes orders. The error allows an arbitrary amount of data to be injected into the beginning of the client request - so the "bad guy" takes your request:

            POST /OrderTheFrogs HTTP/1.0
            content-length: 20

            < xml >< orderafrog number=1/ >< address > my address < /address > < /xml >

      And converts it to:

            POST /OrderTheFrogs HTTP/1.0
            content-length: 24

            < xml >< orderafrog number=100/ >< address > evil address < /address > < /xml >

            POST /OrderTheFrogs HTTP/1.0
            content-length: 20

            < xml >< orderafrog number=1/ >< address > my address < /address > < /xml >

      by using this attack to insert the evil request before yours. Now 100 items are sent to the evil address, and presumably are billed to you!

      --
      while (sig==sig) sig=!sig;
    11. Re:How does this compromise SSL? by Anonymous Coward · · Score: 1, Informative

      Dude, no. This attack does not allow me to impersonate any website. It does not allow me to intercept your credentials. It does not allow me to read *anything*. All it allows me to do is make your browser request a page from a *legitimate server*, without me being able to see the response. It is functionally identical to me passing you an IMG tag for a link that your browser follows. There is literally no advantage over more sane CSRF techniques.

    12. Re:How does this compromise SSL? by omuls+are+tasty · · Score: 2, Informative

      Erm, no, you're getting it wrong. What this attack means is that the attacker gets the ability to make arbitrary requests for resources on behalf of the user.

      So no, it doesn't mean that the attacker can now serve you malicious web pages that will appear to be coming from your bank's web site. What it does mean is that once you go to a secure page on your bank site, the attacker can instruct the bank to transfer money from your account to his, without you ever knowing. This is kind of similar to the IMG tag attack but it's more difficult to defend against.

    13. Re: How does this compromise SSL? by omuls+are+tasty · · Score: 1

      The key difference is that with IMG tag the attacker can only get the user's browser to make GET requests, whereas this attack enables POST requests as well. Any reasonably well-designed online banking application should not be exploitable via GET requests.

      Also, the attack vector here is different compared to a "regular" CSRF through XSS. Which one is more practical is open to debate.

    14. Re:How does this compromise SSL? by phantomcircuit · · Score: 1

      So it's really not that big of a deal for HTTPS. Attacks exactly like that already exist, they are called cross site request forgery. However this is a significant attack against other SSL wrapped protocols.

    15. Re:How does this compromise SSL? by CompMD · · Score: 1

      As Admiral Kirk taught us when facing Khan, when you inject prefixes over a datastream like a comm channel to another Starfleet vessel, you can take command of their consoles and lower their shields.

    16. Re:How does this compromise SSL? by WhiplashII · · Score: 1

      Well, it's slightly bigger than that. With a cross site request forgery, the cert is off. So it can be detected pretty easily. With this, the client doesn't necessarily know that it happened.

      That said, there aren't that many case where this can be exploited really.

      --
      while (sig==sig) sig=!sig;
    17. Re:How does this compromise SSL? by Lehk228 · · Score: 1

      "prefix" contains an HTML page that looks like your bank page, and asks for your bank password, and your browser "confirms" that you really are at your bank's website.

      --
      Snowden and Manning are heroes.
  22. Disabling SSLv3 in Firefox by Derek+Pomery · · Score: 0

    Go to about:config
    security.enable_ssl2 - set to true
    security.enable_ssl3 - set to false

    Some websites, such as addons.mozilla.org require SSLv3 - you might want to create a separate profile or temporarily enable SSLv3 on those sites.

    I tested a few bank websites and paypal. All accept SSLv2
    Also, Firefox disables 40/64 bit and similarly weak protocols, so the SSLv2 protocol downgrade is not really as much of a problem as the SSLv3 replay attack.

    --
    -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
    1. Re:Disabling SSLv3 in Firefox by Derek+Pomery · · Score: 1

      Also. Toggling these flags does not require restarting Firefox.

      --
      -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
    2. Re:Disabling SSLv3 in Firefox by Nursie · · Score: 4, Insightful

      Of course it is! This is terrible advice!

      SSLv2 isn't widely used any more precisely because it's got systemic vulnerabilities. What's needed is a new revision of the protocol or the removal of the renegotiation feature.

    3. Re:Disabling SSLv3 in Firefox by Derek+Pomery · · Score: 1

      The systemic problems in SSLv2 seem less-bad than this flaw in SSLv3.
      I will take the truncation of encrypted messages or attempt to downgrade the protocol (which as noted Firefox restricts anyway so it won't have much effect) any day over a replay attack.

      The removal of the renegotiation and fixing of the protocol are excellent in medium-to-long-term.
      But as a user, right now, I'm using banks that *will* have that feature.

      Reverting to SSLv2 is the only viable option apart from doing all my finances in person.

      I'm interested in seeing what your non-terrible advice is.

      --
      -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
    4. Re:Disabling SSLv3 in Firefox by MisterSquid · · Score: 1

      I am not a developer or security expert, but I know quite a bit about Internet services (run my own LAMP server locked as tight as I can afford on a hobbyist's budget) and I do what I can.

      Firefox disabled by default ssl2. In 2006, wrote a post telling users how to reenable ssl2 in Firefox. One of my main users (and my fiance) gets lots of Firefox was running into errors. So, I disabled ssl2 in /etc/apache2/httpd.conf.

      And now this.

      So here is my big giant “fuck off” for the Firefox engineers and managers who collectively disabled ssl2 support to encourage server admins to shut off ssl2 support, even as I suspected all cryptography at the practical level is broken.

      Yeah, I know security is a process, not a product, but if this is the case, then “encourging” admins to use one version of a protocol by disabling one is just the engineering version of “I know better than you so follow my lead.”

      --
      blog
    5. Re:Disabling SSLv3 in Firefox by Anonymous Coward · · Score: 0

      Nice thought unfortunately most sites have disabled SSLv2 long ago for security standards compliance.

    6. Re:Disabling SSLv3 in Firefox by Derek+Pomery · · Score: 1

      Not sure what this "most sites" is - all the banking sites I've checked so far.
      (i.e. sites where SSL actually matters) worked fine w/ SSLv2 turned on and SSLv3 turned off.

      So far the sites that force SSLv3 are far less crucial to me, like addons.mozilla.org.

      --
      -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
    7. Re:Disabling SSLv3 in Firefox by Nursie · · Score: 1

      And your certainty that SSLv2 is not vulnerable to this same problem comes from?

      And have you tried watching a session with your bank? Set up an ssl-dumping proxy and see if there are any renegotiations. I'm guessing not. This only occurs where the server needs a client certificate (not your bank) or the cipher suites are going to change (not going to happen on a "normal" TLS connection.

      My non-terrible advice? It's not going to affect 99% of anything anyone does unless someone figures out a way to force the renegotiation.

    8. Re:Disabling SSLv3 in Firefox by Derek+Pomery · · Score: 1

      I had no certainty. I was simply taking the 3.0+ in the summary at face value.
      However:
      http://extendedsubset.com/Renegotiating_TLS.pdf
      Says:
      "including SSL v3 and previous"
      So, I suppose that was simply inaccurate and I should have read thoroughly.

      Now on to second part of your comment. If any part of the banking website supports client certificates, for any reason, it seems a renegotiation can be trivially triggered by the attacker.

      Anyway, the portion:
      "Not that the picture is all rosy even when client certificates are not involved. Consider the attacker sending an HTTP request of his choosing, ending with the unterminated line "X-Swallow-This: ". That header will then swallow the real request sent by the real user, and will cause any headers from the real user (including, say, authentication cookies) to be appended to the evil request."

      Is a pretty severe attack as well and I don't see any safety from that one.

      --
      -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
    9. Re:Disabling SSLv3 in Firefox by Nursie · · Score: 1

      Do you make your clients authenticate their SSL connections with a client-side certificate?

      If not then you're probably just fine with SSLv3. Look out for patches to your server to be issued soon that either disable cipher renegotiation completely or make it a config option.

    10. Re:Disabling SSLv3 in Firefox by Derek+Pomery · · Score: 1

      Reading up on it, it does seem to be TLS only which would suggest SSLv3+/TLS1.0+ only.

      In the absence of any evidence to the contrary, SSLv2 is still the best solution, and I don't find your advice in the least bit comforting.

      --
      -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
    11. Re:Disabling SSLv3 in Firefox by Derek+Pomery · · Score: 1

      According to TFA, I see no reason to believe your advice is in the least bit correct.
      The injection is still bad even w/o the replay attack.

      --
      -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
    12. Re:Disabling SSLv3 in Firefox by Nursie · · Score: 1

      "Now on to second part of your comment. If any part of the banking website supports client certificates, for any reason, it seems a renegotiation can be trivially triggered by the attacker."

      How?

      The way I'm reading the vulnerability, the attacker can only gain access to the data stream AFTER renegotiation, so how does he trigger it? He can't insert traffic into the encrypted stream.

    13. Re:Disabling SSLv3 in Firefox by Nursie · · Score: 1

      According to TFA you need a server renegotiation in order to allow this injection. FAIL.

    14. Re:Disabling SSLv3 in Firefox by Derek+Pomery · · Score: 1

      Well, as I see it...

      If he is in the middle, he just has to force you to access a client certificate portion of the bank's website.
      He can do this by inserting a fetch for that data into some other request that you perform.
      And you don't even necessarily have to be doing any unencrypted browsing at the same time, due to the 2nd portion of the attack, seems he can insert unencrypted headers which could do a redirect.

      And of course if you *did* do any unencrypted browsing in another window, a JS payload could be used at that point to do the load of the client cert protect portion at his convenience.

      --
      -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
    15. Re:Disabling SSLv3 in Firefox by Derek+Pomery · · Score: 1

      From. "TFA"
      (and gosh you and mr anonymous coward enjoy using "FAIL" don't you)

      ====
      Not that the picture is all rosy even when client certificates are not involved. Consider the attacker sending an HTTP request of his choosing, ending with the unterminated line "X-Swallow-This: ". That header will then swallow the real request sent by the real user, and will cause any headers from the real user (including, say, authentication cookies) to be appended to the evil request.
      ====

      --
      -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
    16. Re:Disabling SSLv3 in Firefox by Anonymous Coward · · Score: 0

      Disabling SSLv3 in your browser is not a reasonable solution. I work for a fairly large financial institution, and we are subject to PCI reviews audits (Payment Card Industry - an alliance of credit card companies proposing security practices for the financial industry).

      At the "suggestion" - almost demand, of the the auditor, we were required to disable SSLv2 on our member-facing servers because of the systemic problems. The wisdom of this advise may be debatable, but I think you'll find there are many banks that have made or will be making similar changes.

    17. Re:Disabling SSLv3 in Firefox by Anonymous Coward · · Score: 0

      That's unfortunate for your bank, but I can attest that every single bank I use and tested worked with the combination above apart from the Mozilla properties.

      And yes, SSLv2 is undeniably flawed. It is just that the SSLv2 flaws seem more minor, and more easily managed.
      Yes, it can downgrade protocol, but Firefox already blocks all the really bad protocols.

      So I guess, the way I see it, yes, enable SSLv3 if you're forced to, just be aware that if you are, you might be getting pwned far worse than those times when you have it turned off.

  23. Re:This is news? Come on! by bluefoxlucid · · Score: 1, Interesting

    The funny part is a lot of people argue, strongly, that self-signed certs aren't any less secure than CA-signed certs.

    When routing, you have a default gateway IP... no, that's wrong. You configure such a thing; but what you have is an ARP request finding the MAC of the default gateway (say 10.0.0.1 -> 00:11:22:AA:BB:CC). Not sending to the local network? Slap that MAC as the target packet; the router interface gets the packet, reads the IP, says "Hmm that's not my IP address," checks routing table, slaps a new MAC on, and transmits out the appropriate interface.

    Well, if I'm at a point where I can eaves drop your packet (self-signed certs protect against eavesdropping), say on your Wifi AP, I can send a spoofed ARP response at you. Knock off your ARP table entry, replace 10.0.0.1's entry with DD:EE:FF:11:23:45 (mine). Now you'll send the packet to me; I MitM you; then I slap on 00:11:22:AA:BB:CC as the destination addr of the new packet and it routes as normal.

    ALL SSL attacks are MitM attacks. An eaves drop attack is a lazy MitM that could become an active MitM if he cared. Mitigation is complex and prone to causing catastrophic breakage; in uncontrolled environments it causes breakage immediately, and in huge controlled environments (corporate LAN) it becomes impossible to reconfigure things on the fly without causing a network storm and outages-- and mistakes require manually walking to each affected machine to undo them.

    Note that many people, of course, don't understand SSL. Many programmers get the implementation wrong (it supplies encryption; ignore all these weird certificate anomaly bullshits, shit's encrypted so it's fine). Users don't know what they're worrying about. Notice further that SSL is very well designed, but on like version 4? (SSL3.0 -> TLS1.0) The designers are well aware that the issue is hard to understand, and that they've not gotten it quite right yet; they are, however, intelligent, and managing a pretty fucking good job.

  24. Re:This is news? Come on! by ArsonSmith · · Score: 1

    The difference here is that the client thinks it has a "verified" secure connection to the named host. Other SSL MiM attacks work by providing a fake certificate.

    --
    Paying taxes to buy civilization is like paying a hooker to buy love.
  25. SSL is broken and the world has ended? by Anonymous Coward · · Score: 1, Insightful

    Most people don't use client authentication and there is typically little reason to ever configure a server to change ciphers or otherwise initiate renegotiation.

    If the server does not initiate renegotiation the MITM attack does not apply! This is why there is such focus on client authentication because this is realistically the only real world case where renegotiation makes any logical sense. Sure you can dream up other scenarios where the server forces you to use a higher strenght cipher to access specific content but realistically this is nonsensical. Operators make a global stand WRT cipher strength at the site level.

    TLS was written back in the day when we had low and ultra low export quality ciphers and more international encryption issues than exist today. All sane operators have since disabled these and all browsers that matter have reasonably high strength ciphers available to them mitigating any reason to renegotiate.

    Yes it should be fixed.
    No its not the end of the world.

  26. goodness by MagicM · · Score: 1

    Phew! 2 hours later and only 51 comments. This must not be a big deal.

    Y'all had me worried there...

    1. Re:goodness by 6Yankee · · Score: 1

      I think it's more that most of us don't understand this stuff. I know I don't, and freely admit it.

      Admittedly, I've never had to touch SSL (and if I did, you can be damned sure I'd be learning it inside out), but if I'm a web developer and don't understand it, how can we expect Joe Sixpack to?

    2. Re:goodness by buchner.johannes · · Score: 1

      It is a complex issue that has no simple/obvious solutions. That's why the usual blah is not occurring.

      It is a huge thing because we used to design web services ala 'Slap SSL onto it, and traffic can not be modified and wiretapped' (assuming the server cert is right).
      That beauty of SSL, just to add a layer that will take care of it all, is gone ... as the pdf states, even if no client certs are involved, the current protocols and all client/server software is vulnerable, and at least some of the attack scenarios are not uncommon.

      all in all -> :-(

      --
      NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
  27. Another one! Is the Web fundamentally insecure? by John+Hasler · · Score: 1

    They just keep coming. Is the Web fundamentally, unfixably, insecure?

    (That's the Web, not the Net)

    --
    Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  28. Re:Maybe because the "hackers" are writing the cod by AbbeyRoad · · Score: 1

    > "Never attribute to malice that which may be adequately explained by incompetence."

    this is MY line. f765ing plagiarist

    -paul

  29. Re:Maybe because the "hackers" are writing the cod by andrew554 · · Score: 0, Redundant

    And moreover, do not attribute to malice what may be adequately explained by the fact that writing bug free, let alone robust, let alone secure software is difficult.

  30. Re:This is news? Come on! by petermgreen · · Score: 1

    ALL SSL attacks are MitM attacks. An eaves drop attack is a lazy MitM that could become an active MitM if he cared.
    Somewhat true.

    One big downside of being an active MITM is it makes it much easier to get caught. If some peice of software doesn't behave in the way you expect or maybe someone manually verifies a certificate then the tampering may be reveled. Depending on how much influence they have they may then start looking for you.

    --
    note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
  31. Client certificates only? is this important? by Xylantiel · · Score: 4, Interesting

    The linked articles only discuss authentication via client certificates, which seems pretty rare currently. How does this vulnerability actually impact the "usual" web commerce usages of SSL, which involves a server certificate? Also it does not appear that there is any way to force a re-negotiation from outside. And while re-negotiation appears common for client certs, I would expect it to be somewhat uncommon for server certs except for the initial up-negotiation to a secure connection for TLS. How important is this for the common-use cases of e-commerce and banking?

    1. Re:Client certificates only? is this important? by buchner.johannes · · Score: 2, Informative

      The linked articles only discuss authentication via client certificates

      Not true. From http://extendedsubset.com/Renegotiating_TLS.pdf :

      Cases not involving client certificates have been demonstrated as well.

      It is a complex issue that has no simple/obvious solutions. The current protocols and almost all client/server software is vulnerable, and at least some of the attack scenarios are not uncommon.

      --
      NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
    2. Re:Client certificates only? is this important? by trifish · · Score: 1

      > and at least some of the attack scenarios are not uncommon.

      That sentence is modded informative? Where is the informative part? WHICH scenarios? References?

  32. Summary is WRONG! by Anonymous Coward · · Score: 0

    WTF are you talking about?

    If you actually read TFA you would notice there is NOTHING wrong with SSL. The problem is with the,

      1. some servers (HTTP) using anonymous requests and responding to them in authenticated channels, as if they came from authenticated channel (SSL authentication via client cert). And yes, SSL did correct thing, it is the server that fsked up

    The problem is with TLS not SSL so please don't act stupid because your advice is TERRIBLE.

    Finally, connecting to bank site is secure unless your initial request does not require authentication. Most banks do that via username/password that is sent via SSL layer. That is obviously not what this MITM is doing.

    So yes, EPIC fail at reading. EPIC fail in summary and EPIC fail on your advice.

    PS. The patch is EPIC FAIL! Problem has nothing to do with SSL!!!!!

    1. Re:Summary is WRONG! by Derek+Pomery · · Score: 1

      My actual reading of the PDF suggests this is a TLS protocol problem only.
      Thus TLS1.0+ and SSLv3+

      So. Unless you can tell me SSLv2 is vulnerable, using it still seems best choice.

      --
      -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
  33. Re:Maybe because the "hackers" are writing the cod by Dragonslicer · · Score: 1

    When a buffer overflow leads to privileges then you have to wonder whether the coders made an honest mistake or whether somebody paid them to sneak in a backdoor or two.

    Well, I know what I'm buying you for a birthday gift: a lifetime supply of tin foil.

  34. Clever by Anonymous Coward · · Score: 0

    Extremely clever, I will say that. But doesn't this require that the client just plainly ignore that it is getting data from the server that it never requested? Seems somewhat odd that a client would do that, but not completely unexpected anymore.

    1. Re:Clever by Anonymous Coward · · Score: 0

      Ah nevermind, it would be too late anyway because the script executed. The spec is ill-defined, and should ask to authenticate again after a change-cipher spec. Which is obviously what the paper stated in the beginning ... but yeah still clever.

      Also why in the world does TLS allow for another request to come in unencrypted after the session start? Seems odd? Or is another question I will be answered in 5 minutes.

    2. Re:Clever by owlstead · · Score: 1

      Not unencrypted, just unauthenticated. The attacker will do the initial connection in which the client is not yet authenticated. Any data send at that time should not be trusted to come from the client, including any GET requests. This is a problem when the page is in a protected domain *and* the first page is accepting information from e.g. a GET request to fill in forms and such. Then the response will be encrypted for the authenticated user only, but the attacker still could inject information to the server.

      This also goes for other protocols that use the same mechanism (accepting yet unauthenticated information) and also works when key-renegotiation takes place.

      There are tree ways to fix this: 1) servers should not treat the initial request information as authenticated, 2) servers should not do renegotiation and 3) fix the TLS protocol so that the initial request *can* be trusted. The last one would be the best option, but fixing a protocol takes time.

      Hope that explains it.

  35. Re:This is news? Come on! by Anonymous Coward · · Score: 0

    The funny part is a lot of people argue, strongly, that self-signed certs aren't any less secure than CA-signed certs.

    They are if you know what you are doing -- it is not trivial to generate an alternate self-signed certificate with the same fingerprint as the original. As to whether most people pay any attention to the fingerprint I couldn't say (I assume they don't, but I have no evidence either way), but the fact that people don't understand the system does not mean the system itself is broken.

    And then there's the intermediate option that everyone just ignores -- generate your own CA and use that to generate normal certificates without paying anyone. Obviously that doesn't work for untrusted third parties, but neither do self-signed certificates.

  36. BruceLee by Anonymous Coward · · Score: 0

    This should be a sticky till a fix is found...

  37. Bypassing Behavioral Filters by mebrahim · · Score: 1

    This attack might be used for bypass behavioral network filters used for blocking SSL and TLS connections.

  38. And they do. by SanityInAnarchy · · Score: 1

    You're confusing a single vulnerability with a systemic problem. When this is fixed, that's what SSL certificate providers will do again.

    --
    Don't thank God, thank a doctor!
  39. Bob and Alice are too nice by Anonymous Coward · · Score: 0

    I think it's high time that Bob and Alice kick the snot out of Marvin and Mallory. They are known troublemakers, right?

  40. Educated Guesswork link with explanation by owlstead · · Score: 1
  41. Re:This is news? Come on! by jonadab · · Score: 1

    Attacks based on using the MAC (or anything else related to the data link layer) require the attacker to already be on the local network segment. An upstream middle-man attacker can't do that stuff, because routers (well, sane routers anyway) don't forward anything below the network layer.

    That doesn't mean such attacks have no relevance at all. The principle of defense in depth dictates that you *do* want to defend, as much as possible, against attacks originating on the LAN. But these attacks are not as prevalent or dangerous as ones that can be perpetrated from a remote or upstream system, such as the MITM vulnerability discussed in the article.

    --
    Cut that out, or I will ship you to Norilsk in a box.
  42. Re:This is news? Come on! by jonadab · · Score: 1

    > The funny part is a lot of people argue, strongly, that
    > self-signed certs aren't any less secure than CA-signed certs.

    It's not significantly harder for the bad guys to get a CA-signed cert than it is for the good guys. Ipso facto, CA signing does not add any significant security. It only *seems* to do so, if you ignore the question of who can get a certificate.

    What does add significant security is if the client software flashes big red glowing alarm bells if the certificate changes compared to last time. OpenSSH does this. Mail clients don't and definitely should. Web browsers don't and perhaps should (although there would need to be some provision for legitimately transitioning to a new certificate without setting off said alarms, which in order to be secure would require nontrivial design changes to the way https certs are handled on the server as well as the client).

    The lesson here is that application of encryption often results in an overall system that is much weaker than you might think based on the strength of the encryption itself. When you are looking at designing a secure system, selecting strong encryption can be useful, but only if you apply it in a secure way. It is my considered opinion that the use of SSL on the web adds very little security -- not due to any inherent flaw in the design of SSL, but due to the way in which https uses it.

    --
    Cut that out, or I will ship you to Norilsk in a box.
  43. Re:This is news? Come on! by bluefoxlucid · · Score: 1

    Routers are often physically point-to-point, connected either to a network segment with exactly 1 router on it or directly to another router. Physically eaves dropping across these links is impossible.

    In any other layout, you've got a router plugged into a switch. ARP spoofing can break the switch, in no greatly useful way. Still, the routers are configured (I've done this) in the same way as hosts: the next hop is a network address, which they ARP for the IP address of (unless you add a static ARP table, which can be done, but nearly nobody bothers).

    Upstream attacks that aren't at either endpoint have little relevance because physical topology barely allows for them.

  44. When has PGP failed? by elucido · · Score: 1

    Show me an example of a PGP failure.

    1. Re:When has PGP failed? by Anonymous Coward · · Score: 0

      Show me an example of PGP replacing SSL/TLS for the *end user*.

  45. What password is that? by elucido · · Score: 1

    What password of random characters can you actually store in your mind and how many? If anyone actually has access to your machine then all your passwords are useless. Assuming your passwords cannot be cracked is silly. The smartcard removes the need to enter a password into a machine, this prevents remote users from using a software keylogger.

    Passwords are why everyone is so easy to hack today. Nobody picks a secure password because those passwords cannot be remembered, and the passwords which can be remembered can usually be cracked. Smartcards are as secure as credit cards, passwords aren't very secure because you have to type them into a computer and thats writing it down for everyone to see.

  46. Assuming people are noble is why you got Enron. by elucido · · Score: 1

    Individuals who base their worldview on the assumption that the world is not a corrupt place are always shocked by financial collapses, or corrupt politicians, or corrupt cops. When are you going to figure out that people are inherently selfish, inherently corrupt, and they aren't looking out for your best interest?

    Yes some are incompetent, but if there is financial incentive to be corrupt then you should consider the possibility of corruption based on the amount of incentive and not on any assumption.

  47. We warned you about the mortgage crisis. by elucido · · Score: 1

    And you didn't listen, because you focused on our tin foil hats. Good luck.

  48. Anonymous Coward. by Anonymous Coward · · Score: 0

    For well structured secure apps, a one-way hash token check would prevent this problem. That is, if session hash-check fails, drop connection from client end. Granted this won't work for pure ssl html apps. Maybe session hashing should be built into the protocol???