• AbouBenAdhem@lemmy.world
    link
    fedilink
    English
    arrow-up
    183
    arrow-down
    1
    ·
    edit-2
    11 months ago

    Interpreting “a previously-unrecognized weakness in X was just found” as “X just got weaker” is dangerously bad tech writing.

  • Melllvar@startrek.website
    link
    fedilink
    English
    arrow-up
    68
    ·
    11 months ago

    Even the researcher who reported this doesn’t go as far as this headline.

    “I am an admin, should I drop everything and fix this?”

    Probably not.

    The attack requires an active Man-in-the-Middle attacker that can intercept and modify the connection’s traffic at the TCP/IP layer. Additionally, we require the negotiation of either ChaCha20-Poly1305, or any CBC cipher in combination with Encrypt-then-MAC as the connection’s encryption mode.

    […]

    “So how practical is the attack?”

    The Terrapin attack requires an active Man-in-the-Middle attacker, that means some way for an attacker to intercept and modify the data sent from the client or server to the remote peer. This is difficult on the Internet, but can be a plausible attacker model on the local network.

    https://terrapin-attack.com/

      • Ramenator@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        11 months ago

        Yeah, if the attacker is in a position to do a MitM attack you have much larger problems than a ssh vulnerability that so far can at most downgrade the encryption of your connection in nearly all cases

    • Chewy@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      11 months ago

      It definitely receives more clicks. I’ve posted this link here a day ago, but arstechnicas title is more engaging. My first thought was whether there’s been another vulnerability found.

      That said, the headline isn’t as bad as it could’ve been.

  • Synthead@lemmy.world
    link
    fedilink
    English
    arrow-up
    68
    arrow-down
    1
    ·
    11 months ago

    ChaCha20-Poly1305 and CBC with Encrypt-then-MAC ciphers are vulnerable to a MITM attack.

    Saved you a click.

      • thisisawayoflife@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        11 months ago

        Just checked my own sshd configs and I don’t use CBC in them. I’ve based the kex/cipher/Mac configs off of cipherlist.eu and the mozilla docs current standards. Guess it pays to never use default configs for sshd if it’s ever exposed to the Internet.

        Edit: I read it wrong. It’s chacha20 OR CBC. I rely heavily on the former with none of the latter.

    • NateNate60@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      I thought most SSH servers default to some AES-based cypher like most other programs. Is that not the case?

  • mumblerfish@lemmy.world
    link
    fedilink
    arrow-up
    27
    ·
    11 months ago

    So you need an MitM situation to even be able to perfom the attack, and the the attack on works on two ciphers? The article says those ciphers are commonly enabled, but are they default or used in relatively modern distributed versions of openssh?

    • gerdesj@lemmy.ml
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      11 months ago

      A scan performed by the researchers found that 77 percent of SSH servers exposed to the Internet support at least one of the vulnerable encryption modes, while 57 percent of them list a vulnerable encryption mode as the preferred choice.

      That means a client could negotiate one or the other on more than half of all internets exposed openssh daemons.

      I haven’t got too whizzed up over this, yet, because I have no ssh daemons exposed without a VPN outer wrapper. However it does look nasty.

  • bartolomeo@suppo.fi
    link
    fedilink
    arrow-up
    21
    ·
    11 months ago

    Ylönen, who at the time knew little about implementing strong cryptography in code, set out to develop the Secure Shell Protocol (SSH)

    TIL SSH was invented by a Finn. I swear that country has the most awesome per capita of any country on earth.

    • ouch@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      11 months ago

      Long dark winters when everyone is home without socializing with people. You have got to come up with something to survive until the two week summer.

    • ouch@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      11 months ago

      Long dark winters when everyone is home without socializing with people. You have got to come up with something to survive until the two week summer.

  • V ‎ ‎ @beehaw.org
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    11 months ago

    I expect better of Ars. Absolute clickbait title and sensationalism. You need a two point MITM and even then it’s not a magic shell.

  • AutoTL;DR@lemmings.worldB
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    2
    ·
    11 months ago

    This is the best summary I could come up with:


    Once in place, this piece of dedicated hardware surreptitiously inhaled thousands of user names and passwords before it was finally discovered.

    Ylönen, who at the time knew little about implementing strong cryptography in code, set out to develop the Secure Shell Protocol (SSH) in early 1995, about three months after the discovery of the password sniffer.

    As one of the first network tools to route traffic through an impregnable tunnel fortified with a still-esoteric feature known as “public key encryption,” SSH quickly caught on around the world.

    Today, it’s hard to overstate the importance of the protocol, which underpins the security of apps used inside millions of organizations, including cloud environments crucial to Google, Amazon, Facebook, and other large companies.

    Now, nearly 30 years later, researchers have devised an attack with the potential to undermine, if not cripple, cryptographic SSH protections that the networking world takes for granted.

    The attack targets the BPP, short for Binary Packet Protocol, which is designed to ensure that adversaries with an active position can’t add or drop messages exchanged during the handshake.


    The original article contains 658 words, the summary contains 178 words. Saved 73%. I’m a bot and I’m open source!

    • fraksken@infosec.pub
      link
      fedilink
      arrow-up
      10
      ·
      11 months ago

      you missed this part:

      For Terrapin to be viable, the connection it interferes with also must be secured by either “ChaCha20-Poly1305” or “CBC with Encrypt-then-MAC,” both of which are cipher modes added to the SSH protocol (in 2013 and 2012, respectively). A scan performed by the researchers found that 77 percent of SSH servers exposed to the Internet support at least one of the vulnerable encryption modes, while 57 percent of them list a vulnerable encryption mode as the preferred choice.

      • steventhedev@lemmy.world
        link
        fedilink
        arrow-up
        6
        arrow-down
        1
        ·
        edit-2
        11 months ago

        Also that in order to exploit this it requires an active man in the middle. Which requires any of the following:

        • Reverse proxy hijack/NAT hijack - from a compromised machine near the server
        • BGP hijack - stealing traffic to the real IP
        • DNS hijack - stealing traffic to send to a different IP
        • Malicious/compromised network transit
        • Local network gateway control
        • WAP poisoning - wifi roaming is designed really well so this is actually easier than it sounds.

        Almost all of those have decent mitigations like 801.x and BGP monitoring. The best mitigation is that you can just change your client config to disable those ciphersuites though.