Running Alpine? You sure? Are your containers running Alpine? If so, pretty good chance anyone can log in via SSH.

  • irotsoma@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 hours ago

    People use * as an account password, or sysadmins allow that? I’d never allow that on any system or service of mine. No surprise, like most of these LLM discovered issues in the media lately, it hasn’t come up before. 💯 Good they’re getting fixed, but nothing so far has really been that urgent to fix for me.

    • smiletolerantly@awful.systemsOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 hours ago

      No, \* is being put as a hash of a password, originally precisely because that would mean no actual hash (over any input) ever matches it.

      • irotsoma@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 hours ago

        Ah got it, so is that a hack to prevent a specific user from logging in rather than something like:

        Match User <username> PasswordAuthentication no

        • SteveTech@aussie.zone
          link
          fedilink
          English
          arrow-up
          0
          ·
          11 minutes ago

          Nah the hash function gives up after 256 bytes and outputs *, matching the ‘hash’.

          Edit: it’s unix tradition to put * as the hash for system accounts that should never be able to be logged in, this bug now means you can login (with the right config), using any password longer than 256 characters.