• everett@lemmy.ml
    link
    fedilink
    arrow-up
    8
    ·
    1 day ago

    openssh on musl linux (alpine, openwrt, buildroot, yocto, and a lot of the docker images you’ve pulled)

  • I have 4 accounts on my OpenWRT router with * as their password, but I did try with a random password over 256 characters and I couldn't log into them.
    daemon:*:1:1:daemon:/var:/bin/false
    ftp:*:55:55:ftp:/home/ftp:/bin/false
    network:*:101:101:network:/var:/bin/false
    nobody:*:65534:65534:nobody:/var:/bin/false
    

    Still, this is a huge security flaw!

    • N.E.P.T.R@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      15
      ·
      1 day ago

      musl is far more POSIX compliant, secure, and cleaner code (no dirty hacks) than glibc. Not everything has to be a culture war. Do you use sudo (ISC-style)? Do you use curl (MIT-style, curl license)? Even OpenSSH isn’t GPL (BSD). Not everything is a plot; vulnerabilities happen regardless of what license you pick.

    • SavvyWolf@pawb.social
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      Attacker hacks into a system, sees that it’s running a GPL libc rather than a MIT libc and then politely excuses themselves because they aren’t willing to share their spoils.

      Bad code is bad code, no matter what license it’s written in.