• 0 Posts
  • 3 Comments
Joined 3 years ago
cake
Cake day: July 7th, 2023

help-circle

  • God yes, laundry disinfectant is a godsend. I live in the south and sweat a lot. No amount of showering, anti-perspirants, deodorants, etc kept the sweaty funk smell off. I’d walk outside, (even just walking between my front door and my car), and would immediately smell bad. Then I started using laundry sanitizer, and the sweaty funk smell vanished almost overnight.

    It turns out I didn’t stink. My clothes did. Detergent is great for getting rid of dirt, stains, etc, but it doesn’t do anything for microbes. And all of my clothes had built up enough microbes that I’d start stinking as soon as my clothes got damp from sweat.

    I literally credit laundry sanitizer for helping me land my wife. She (in)famously has a bloodhound nose. Know how some pregnant women get a supercharged sense of smell? Yeah, hers is like that all the time. So if I showed up to our dates stinking of sweat-funk, she 100% would have stopped dating me. She’s always the first to notice when something stinks, and laundry sanitizer is the only reason I was able to keep her around long enough to put a ring on it.

    As a bonus, my clothes don’t go sour if I forget them in the washer for a few hours. Microbes are what make your clothes to go sour. Since the laundry was freshly sanitized , there are no microbes to make it go sour.


  • 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.