this post was submitted on 06 Nov 2026
465 points (97.2% liked)

Technology

89588 readers
3472 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 3 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] trebor_project@lemmy.zip 26 points 2 days ago
[–] anarchy79@lemmy.world 22 points 2 days ago* (last edited 2 days ago) (3 children)

Is the name of the vulnerability literally *sshole?

[–] PM_Your_Nudes_Please@lemmy.world 76 points 2 days ago* (last edited 2 days ago) (4 children)

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.

[–] ReluctantMuskrat@lemmy.world 1 points 1 day ago

Ok, I've never shared my nudes but that was such a good explanation that I'm considering it...

[–] KeenFlame@feddit.nu 4 points 2 days ago

Ahaha! Thanks for explaining <3

[–] Chezus9247@lemmy.world 1 points 1 day ago

Okay, I don't understand too much, but holy shit this is so cool. Thank you very much for the explaination! <3

load more comments (1 replies)
[–] rizzothesmall@sh.itjust.works 16 points 2 days ago (1 children)
[–] anarchy79@lemmy.world 3 points 1 day ago

Well done. Well done.

load more comments (1 replies)
[–] esc@piefed.social 95 points 3 days ago (3 children)

tldr: disable password auth in ssh.

Also name misses the point I think, it's a musl-hole.

[–] vrighter@discuss.tchncs.de 8 points 1 day ago

which you should have been doing anyway for anything exposed to the internet

[–] anarchy79@lemmy.world 14 points 2 days ago (1 children)

i mean assholes are muscle holes.

load more comments (1 replies)
load more comments (1 replies)
[–] yucandu@lemmy.world 119 points 3 days ago (18 children)

The only time I ever exposed my SSH port to the WAN, I got about 750 connection attempts from China and 250 attemps from Russia per hour.

[–] Theoriginalthon@lemmy.world 21 points 2 days ago (1 children)

Fail2ban with increasing jail time for repeat offenders usually takes care of the worst of it after a day or two

[–] anarchy79@lemmy.world 8 points 2 days ago

Did it help you find hot milfs within a mile of your location?

[–] solarspark@lemmy.ml 4 points 2 days ago

Among other things, change the default ssh port to something way higher.

[–] nexusband@lemmy.world 29 points 3 days ago* (last edited 3 days ago) (2 children)

yeah, while reading this i was going "What maniac exposes SSH to WAN anyway...?" the whole time. I fail to see any reason or point that can be justified exposing SSH to WAN.

[–] muusemuuse@sh.itjust.works 44 points 3 days ago (6 children)

I used to have a synology NAS that would sleep of death itself. Synology support asked me to port forward SSH to the open internet and set no password so they could pull logs over the next few weeks.

Yes, it was legit synology support not a scammer.

No, I haven’t bought synology ever again.

load more comments (6 replies)
[–] dev_null@lemmy.ml 18 points 3 days ago* (last edited 3 days ago) (3 children)

Any VPS provider just gives you an SSH IP and port. So that's the default state, until you do something else, which I imagine many don't, since key based authentication was always considered secure.

So I don't know the reason, but that's the standard practice with most providers, like Digital Ocean or Linode or whatever. You can call them maniacs but you shouldn't be surprised at something so ubiquitous.

load more comments (3 replies)
[–] Aquatic_Melon@lemmy.world 3 points 2 days ago (2 children)

How do you know this? What tool or utility tells you this fact? I have a port exposed for a game server but realising I don't know how many attempts are being made.

[–] yucandu@lemmy.world 9 points 2 days ago (3 children)

I was kinda new to linux so I used https://www.papertrail.com/ and hooked it up to my syslogs, and then went "oh... oh no... oh god no..." and immediately turned off SSH.

[–] BeardedGingerWonder@feddit.uk 4 points 2 days ago

For ssh it'll log out to the auth log at /var/log/auth.log

load more comments (13 replies)
[–] sem@lemmy.blahaj.zone 79 points 3 days ago (1 children)

Can they please take a break from having vulnerabilities

[–] MyFriendGodzilla@lemmy.world 65 points 3 days ago (1 children)

nah, find and fix as many as possible.

[–] Jason2357@lemmy.ca 71 points 3 days ago (22 children)

It seems like the pattern emerging is that AI is great at finding these obscure vulnerabilities that are only exploitable on very particular systems with very particular, non-typical configurations, and only on nights where unicorns fart candycorn.

Sure, fix them, but the hype is too much. Also, disable password auth on SSH already. Jesus. Keys arnt that hard.

load more comments (22 replies)
[–] halezinflames@lemmus.org 2 points 1 day ago

This is why I don't use muzzle

[–] boatswain@infosec.pub 49 points 3 days ago (9 children)

Given this is a vuln when entering the password, just turn off password auth and use ssh keys only. It's what you should be doing anyway.

load more comments (9 replies)
[–] db2@lemmy.world 55 points 3 days ago* (last edited 3 days ago) (1 children)
[–] sorter_plainview@lemmy.today 40 points 3 days ago

The person who discovered *sshole said OpenWRT is affected, but by default, that OS uses the Dropbear package, not OpenSSH, for SSH connections (though maintainers provide instructions for installing the latter).

[–] Samsy@lemmy.ml 18 points 3 days ago (7 children)

Wait that means I have to expose a port. But I have zero exposed ports.

This post was created by the pangolin-gang.

load more comments (7 replies)
load more comments
view more: next ›