this post was submitted on 06 Nov 2026
262 points (97.8% liked)

Technology

89506 readers
3089 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
[–] ZILtoid1991@lemmy.world 1 points 37 minutes ago

What an aSSHole!

[–] Samsy@lemmy.ml 4 points 2 hours ago

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

This post was created by the pangolin-gang.

[–] DevDave@piefed.social 4 points 2 hours ago

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.

[–] esc@piefed.social 29 points 5 hours ago (1 children)

tldr: disable password auth in ssh.

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

[–] jj4211@lemmy.world 1 points 3 hours ago

Yeah, any application checking passwords would be vulnerable.

[–] MonkderVierte@lemmy.zip 6 points 4 hours ago* (last edited 4 hours ago)

Further, OpenSSH using musl (pronounced muscle) must not use PAM (pluggable authentication modules),

which Alpine doesn't ship by default. Maybe one or the other remote administration suite depends on it, but those are often suspectible to exploits anyway. But you don't expose either to WAN, right?

[–] yucandu@lemmy.world 51 points 8 hours ago (4 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.

[–] Agent641@lemmy.world 1 points 18 minutes ago

New friends from all over the world!

[–] pHr34kY@lemmy.world 5 points 3 hours ago

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

[–] nexusband@lemmy.world 13 points 4 hours ago* (last edited 4 hours 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 7 points 2 hours ago

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.

[–] dev_null@lemmy.ml 4 points 2 hours ago* (last edited 2 hours ago)

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.

[–] Zarobi@aussie.zone 1 points 2 hours ago

Yeah it's crazy. Are they just constantly pinging every possible ip address on every possible port every second? I opened a port for 1 day and the traffic made me uncomfortable enough to rearchitecture my entire self host setup

[–] AppleMango@lemmy.world 13 points 8 hours ago (1 children)

Most ssh ports should be accessed through a VPN anyway, not exposed directly to the internet

[–] Kazumara@discuss.tchncs.de 11 points 6 hours ago (2 children)

Are you sure the VPN server has the smaller attack surface than the SSH server?

[–] dan@upvote.au 16 points 5 hours ago* (last edited 5 hours ago) (2 children)

Wireguard and apps based on it (like Tailscale) don't respond at all unless the data is signed with the key of a configured peer (or with Tailscale, a system on your tailnet that passes the ACL). It's literally impossible for an outsider/attacker to detect with a port scan since it just ignores unauthenticated packets.

The Wireguard codebase is also extremely small. The core Wireguard implementation (the version in the Linux kernel) is around 5,000 lines long, so an experienced developer can read through all the code if they dedicate a day or two to it, and understand how it works.

For comparison, OpenVPN is around 70,000 lines of code and OpenSSH is around 150,000 lines of code. There's a huge number of features in SSH!

[–] Kazumara@discuss.tchncs.de 4 points 5 hours ago

That is a convincing argument. I wasn't thinking of wireguard, but it makes sense that it's quite small and focused, being in the kernel.

I'm dealing more with OpenVPN and that can be very annoying, that had me lean in the opposite direction earlier (and lets not even speak of the Cisco crap).

[–] MonkderVierte@lemmy.zip 2 points 4 hours ago (1 children)

Why aren't there more minimal implementations like tinyssh?

[–] theneverfox@pawb.social 4 points 3 hours ago (1 children)

Because all those extra features are really useful. You can run all sorts of things over ssh, from sophisticated file transfer to remote development and tunneling

Ssh is remote code execution. Under any implementation, any authentication methods should be the absolute last line of defense after you've properly locked down access

[–] MonkderVierte@lemmy.zip 1 points 3 hours ago* (last edited 3 hours ago)

Well, yeah but more features in remote code excution = more vulnerabilities. For example sftp: you could also just run ftp over vpn for the same effect. Or just cat the file over ssh. Instead, we have one big monolith. (same as with everything going over tcp)

[–] floquant@lemmy.dbzer0.com 4 points 5 hours ago

OpenVPN, no. Wireguard, yes.

[–] boatswain@infosec.pub 33 points 10 hours ago (3 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.

[–] jj4211@lemmy.world 2 points 2 hours ago

Easier said than done.

If you have to support the sort of user that barely managed to download a copy of putty a few years ago and kept using this, then walking them through key generation and use is a nightmare.

One could fairly argue that maybe such people shouldn't have access to a system, but it is a reality.

Of course the likelihood that a system using musl is something that class of user would be accessing is lower.

Maybe now that ssh is generally "just there" for Windows users, you can more easily work with them to generate a key, or give them a zip file to make them have a key in a standard way. But the interaction of ssh and windows file security can be... Interesting, though mostly an issue on the ash server side.

[–] asap@lemmy.world 15 points 7 hours ago* (last edited 7 hours ago) (3 children)

The vuln is specifically for key-based accounts:

Second, the target system account must be configured to be passwordless. Passwordless accounts are commonly used for accounts that use certificate-based authentication.

[–] dan@upvote.au 10 points 5 hours ago

"passwordless" here means that the account doesn't have a password. What the person you're replying to means is that password authentication should be completely disabled in the SSH config, as that's the only way to exploit this issue.

[–] AHemlocksLie@lemmy.zip 13 points 7 hours ago

But passwords need to be enabled for SSH. You must submit a faulty password of a specific kind, and the SSH server misinterprets it for passwordless accounts, which means the server must be configured to allow you to attempt a password.

[–] realitaetsverlust@piefed.zip 4 points 5 hours ago

When logging into a passwordless account, the attacker can gain access by inputting more than 256 characters in the password field.

If you disable passwords in SSH, there is no password field. There is no way for you to input anything. The connection will just be refused as the only auth method is an ssh key. If there is no matching key, SSH will refuse the connection.

If you don't do that, the daemon will fall back to a password, which might then be vulnerable. However, no sane administrator would leave password auth enabled. Usually, you use the SSH password once - to copy an SSH key on the system. Then you disable it.

load more comments (1 replies)
[–] sem@lemmy.blahaj.zone 48 points 11 hours ago (1 children)

Can they please take a break from having vulnerabilities

[–] MyFriendGodzilla@lemmy.world 42 points 11 hours ago (1 children)

nah, find and fix as many as possible.

[–] Jason2357@lemmy.ca 44 points 10 hours ago (9 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.

[–] p03locke@lemmy.dbzer0.com 10 points 8 hours ago (3 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.

[–] kkj@lemmy.dbzer0.com 1 points 26 minutes ago

"Cleaning up" seems a little generous. It's finding them, but someone still has to patch them.

[–] Jason2357@lemmy.ca 1 points 2 hours ago

This example demonstrates my point though. It requires an extremely unusual system configuration that may or may not even exist in the real world it is so unusual. AI doesnt get tired, like you said, but its not about spaghetti code (both musl and openssh are gold-standard opposite of spaghetti code), its about trying every possible software combination in ways a human wouldnt bother.

[–] urushitan@kakera.kintsugi.moe 5 points 7 hours ago

Yeah and this isn’t a new paradigm, in the sense that tools to find exploits have gotten better repeatedly and allowed those with enough knowledge to use the tools to find them, regardless of if they could manually craft the exploit themselves. There’s a multitude of bug bounties that have been claimed by those who knew how to let a reverse engineering tool like ghidra hammer away at something with variation for long enough. And the models are capable of novel exploits on their own, but generally they are just doing the same, hammering ghidra with an MCP at accelerated scale. So “only ai would have found this bug” is technically untrue and moot.

load more comments (8 replies)
[–] heartSagan5@lemmy.zip 13 points 9 hours ago (4 children)

Alpine? The one that doesn’t use glibc? Wasn’t this why they chose a different C runtime? For security. Ooops.

[–] MonkderVierte@lemmy.zip 5 points 4 hours ago

Dude. One issue in the time of how many in glibc...

[–] ExLisper@lemmy.curiana.net 6 points 4 hours ago

Yes, one bug invalidates the whole project. As everyone knows, no bugs in glibc were ever discovered.

[–] AppleMango@lemmy.world 22 points 8 hours ago

I feel like alpine is more well-known for being lightweight than secure

[–] grue@lemmy.world 17 points 9 hours ago

"Security" and getting rid of that pesky copyleft licensing in order to make it so corporate users have to give back as little as possible.

[–] db2@lemmy.world 47 points 12 hours ago* (last edited 12 hours ago) (1 children)
[–] sorter_plainview@lemmy.today 32 points 11 hours 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).

load more comments
view more: next ›