this post was submitted on 06 Nov 2026
312 points (98.1% liked)

Technology

89506 readers
3376 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
you are viewing a single comment's thread
view the rest of the comments
[–] Allero@lemmy.today -3 points 13 hours ago (2 children)

This particular vulnerability is precisely about logins with key. Using password login renders this vulnerability useless.

[–] Jason2357@lemmy.ca 3 points 6 hours ago

Other way around. This requires a passwordless account configured with sha256 or sha512 password hash, musl system with openssh installed, no PAM, and password authentication allowed:

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

[–] AmbitiousProcess@piefed.social 17 points 13 hours ago (2 children)

Using password login renders this vulnerability useless.

This isn't the case, though I can see how the article could lead you to believe that.

It's directly based on password rather than key input. The entire vulnerability is that typing a password longer than 256 characters automatically defaults to crypt() outputting the * character instead of a normal password hash, which is coincidentally the same default character used as the "hash" (not actually a value you could get from a normal hash, intended to be impossible to get from any normal password for that reason) for the built-in daemon account.

When the Ars Technica article says "Second, the target system account must be configured to be passwordless", what they mean is the default daemon account, which has a hash set to * by default, and thus wouldn't normally be accessible via any hashed password... unless you happen to find out that the system chooses to not make a hash, and just send * if you type more than 256 characters.

Look at https://sshhole.com/ if you want the details.

[–] dan@upvote.au 2 points 9 hours ago

Technically they're correct though, in a way. If every account has a password, the system isn't vulnerable.

You're also not vulnerable if you use two factor auth, because all 2FA modules require PAM, whereas this vulnerability only exists when PAM is disabled or not installed.

[–] Allero@lemmy.today 4 points 12 hours ago

Oh, thanks for details! Missed that.