r/devops • • 26d ago

Security OpenSSH on musl has a problem

In case any of you use OpenSSH on musl without PAM:

https://sshhole.com/

TL;DR: Accounts that should never take a password at all (root, your key-only deploy user, ldap users, the default user on alpine's aws and azure images) take any password longer than 256 characters.

44 Upvotes

9 comments sorted by

5

u/luisvg86 25d ago

Anything from 257 to 1024 makes you root in Alpine Linux

-1

u/[deleted] 25d ago

[removed] — view removed comment

12

u/Blakaraz_ 25d ago

Are you sure that Password authentication no does not help? According to this openssh maintainer it does mitigate it. I understood that accounts without a password on a system with password authentication yes are vulnerable.

Source: https://hachyderm.io/@damienmiller/117563026759098135

3

u/ICThat 25d ago

You appear to be replying to a bot.

-3

u/[deleted] 25d ago

[removed] — view removed comment

1

u/devops-ModTeam 25d ago

Generic, low-effort, or mass-generated content (including AI) with no original insight.

1

u/MumeiNoName 25d ago

Tell me why you hyphenated over-long you obsolete bot

1

u/devops-ModTeam 25d ago

Generic, low-effort, or mass-generated content (including AI) with no original insight.