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

Technology

89639 readers
2034 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 27 points 4 days ago
[–] yucandu@lemmy.world 120 points 5 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 4 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

[–] nexusband@lemmy.world 30 points 5 days ago* (last edited 5 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 45 points 4 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 5 days ago* (last edited 5 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)
[–] anarchy79@lemmy.world 8 points 4 days ago

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

[–] pHr34kY@lemmy.world 18 points 5 days ago (1 children)

99.999% of that is over IPv4. I leave IPv6 open to WAN for my own use and it's not a problem.

[–] Agent641@lemmy.world 12 points 4 days ago

Thanks for the intel

[–] wonderingwanderer@sopuli.xyz 12 points 4 days ago (4 children)

Yet some people will still say with a straight face "tHeRe iS nO hYbRiD wAr!1!1"

Not in Ba Sing Se at least...

load more comments (4 replies)
load more comments (13 replies)
[–] esc@piefed.social 95 points 5 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 3 days ago

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

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

i mean assholes are muscle holes.

load more comments (1 replies)
load more comments (1 replies)
[–] anarchy79@lemmy.world 23 points 4 days ago* (last edited 4 days ago) (3 children)

Is the name of the vulnerability literally *sshole?

[–] PM_Your_Nudes_Please@lemmy.world 77 points 4 days ago* (last edited 4 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 2 points 2 days ago

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

[–] KeenFlame@feddit.nu 5 points 3 days ago

Ahaha! Thanks for explaining <3

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

Well done. Well done.

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

Can they please take a break from having vulnerabilities

[–] MyFriendGodzilla@lemmy.world 66 points 5 days ago (1 children)

nah, find and fix as many as possible.

[–] Jason2357@lemmy.ca 72 points 5 days ago (8 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.

[–] MyFriendGodzilla@lemmy.world 24 points 5 days ago (2 children)

I agree about the AI, but desktop Linux has never been under haxxor pressure the same way windows or apple has. I also think the newer parts of the userbase are less technical than even ten years ago. Previously undocumented bugs found and squashed is great for everyone.

load more comments (2 replies)
[–] p03locke@lemmy.dbzer0.com 19 points 5 days ago (12 children)

More like AI is much faster at finding obscure vulnerabilities, because it doesn't get tired of digging into the mind-numbing details of human-generated spaghetti code. Give a human the same kind of task, and they would die of boredom 12 hours into it.

We're entering an age where AI is quickly cleaning up the stupid security holes that have been created by decades of human mistakes, and will continue to be this way until increased AI security reviews will become more standard. The tribals wielding spears will continue to get shot by superior firepower until they adapt to the same weapons and protection themselves.

load more comments (12 replies)
load more comments (6 replies)
[–] db2@lemmy.world 56 points 5 days ago* (last edited 5 days ago) (1 children)
[–] sorter_plainview@lemmy.today 41 points 5 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).

[–] boatswain@infosec.pub 50 points 5 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)
[–] IronKrill@lemmy.ca 33 points 5 days ago (1 children)

Well that sucks. IIRC a lot of my docker images are alpine based, but they'd be safe due to never having their SSH ports exposed I assume.

[–] fonix232@fedia.io 35 points 5 days ago (6 children)

Why would you even have an SSH server running in a Docker container (unless the purpose of the container is being a jumpbox or similar)?

I can't emphasise it enough how much more secure you get when you use rootless, read-only containers that are limited to truly just the software you want to run and its dependencies.

Alpine is great for dev containers, but the final container should be:

  • immutable on the app layer (any executable path needs to be read only)
  • have only the absolutely necessary GNU tooling, service management, etc. included (for most software you don't even need these tools, and why would you give an attacker who gain access to your container, an easy way to e.g. scan your network?)
  • only the data mounted, rw only if absolutely necessary (e.g. if you host a Jellyfin server, just an example, you should have the mounted media be RO, and only the config and caches be writable, mounted noexec of course)
load more comments (6 replies)
[–] Samsy@lemmy.ml 18 points 4 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)
[–] DevDave@piefed.social 16 points 5 days ago (2 children)

practically need to rotate logs every hour if you foolishly leave ssh open on a open network. usually a bastion with ssh listening to port 34000 or such is a good first step.

that said the conditions for this exploit are fascinating. no pam, shadow password set to *, using a alternative to glibc. The sacrifices to be more efficient feel on par with replacing a tank's armor with paper mache and hope.

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