• 1 Post
  • 44 Comments
Joined 3 years ago
cake
Cake day: July 7th, 2023

help-circle
  • Yes, it’s actually a very creative name. It’s caused by the character * allowing anyone to log into an open SSH port. So it’s an amalgam of {*}{SSH}{port (hole)}.

    The long story short is that if you don’t have a password set for an account, Alpine saves the user’s password hash as “*” because no password hash will ever match it. Should be safe, right? Any password will always automatically fail, because the hash algorithm cannot return “*” as a result. So the only way to log in as that user is via something besides a password.

    And when musl (the underlying system that Alpine uses for SSH) gets a Null response from its password hash, it uses “*” to represent that null value. Because lots of programs throw a fit if they get a true null value. So instead of returning a null value, it just returns a *. Which shouldn’t match anything, right?

    So an attacker forces the password hash to return a null value. Simple to do, because the password hash is capped at 256 characters. So just enter something with more than 256 characters. Musl takes that null value, turns it into a *, and passes that onto Alpine. Alpine takes this *, and compares it with the list of saved usernames and password hashes. And it finds that the user (who has no password set, and shouldn’t be allowed to log in with a password) has a password hash of “*”. This matches the result musl just provided, so the attacker is able to log into the system.




  • PM_Your_Nudes_Please@lemmy.worldtoLinux@lemmy.ml•I finally bought a thinkpad
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    edit-2
    3 months ago

    Because there is very little overlap between “programmers who design the systems to be as efficient and reliable as possible” and “UX designers who consider elegance and ease of use, even if it means the install is a few extra MB in size”.

    Tons of FOSS UIs tend to fall into one of three categories:

    1. CLI. Maybe a third-party GUI exists.
    2. Laughably horrendous monstrosities that make early 90’s websites look good
    3. A direct ripoff of a paid software that has actual UX designers.

    It’s because the people designing the FOSS aren’t UX designers, so they either make their best guess at it (the laughably horrendous choice) or they just copy whatever paid software they’re trying to replace.







  • Also worth noting that Costco doesn’t require a membership for their fresh food, pharmacy, or (depending on where you live, and your local liquor laws) liquor store. You can just tell the greeter that you’re there for the pizza, and they’ll wave you through.

    Their pharmacy is often one of the cheapest, and the pharmacy techs at my local Costco are all super helpful. Apparently working in pharmacies is pretty soul-sucking, but my local employees always seem to be in a good (and not just artificial “retail smile” good) mood.

    And yes, the Costco brand vodka is every bit as good as Grey Goose.




  • PM_Your_Nudes_Please@lemmy.worldtoSelfhosted@lemmy.world•What is Docker?
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    2 years ago

    It can be, yes. One of the largest complaints with Docker is that you often end up running the same dependencies a dozen times, because each of your dozen containers uses them. But the trade-off is that you can run a dozen different versions of those dependencies, because each image shipped with the specific version they needed.

    Of course, the big issue with running a dozen different versions of dependencies is that it makes security a nightmare. You’re not just tracking exploits for the most recent version of what you have installed. Many images end up shipping with out-of-date dependencies, which can absolutely be a security risk under certain circumstances. In most cases the risk is mitigated by the fact that the services are isolated and don’t really interact with the rest of the computer. But it’s at least something to keep in mind.








  • Yeah, this can be an unpopular opinion on Lemmy, because there’s a giant Linux circlejerk. But the unfortunate reality is that changing to Linux does have some major stumbling blocks. The “switching is so easy, just do it” crowd totally glosses over it, but that’s kind of rhetoric doesn’t help long term adoption. Because if some new user has only heard “switching is so easy” and immediately runs into issues, they’ll be more likely to go “well if it’s super easy and I can’t figure it out, I guess it’s just not for me” and abandon things.

    There’s also a very vocal (and toxic) part of the Linux community that basically just screams “RTFM” at every newbie question. New users shouldn’t be expected to dig into a 350 page technical document just to learn the basics of their new OS.