|
|
|
|
|
by dpoloncsak
28 days ago
|
|
Maybe I'm misunderstanding, but u/tonnydourado pointed out on another thread
https://news.ycombinator.com/item?id=50378228#50380029 "It starts with a bold claim: "ssh accounts that should not accept a password will accept any password between 256 and 1024 characters". But then it keeps adding qualifiers: - sshd compiled with musl - not using PAM - password logins enabled - at least one account with '*' as the password "hash" - at least one OTHER account with a valid password The conditions are all ANDed, miss a single one and you're fine." This doesn't seem to be nearly as big as an issue as they're making it out to be |
|
Disabling PAM has been "generally good security advice" for decades; I remember suggestions to not use it in the 2000s.
Password logins are often enabled, especially on multi-user and default setups.
If alpine uses the * feature, it's going to be pretty common. Gentoo has it, as does Ubuntu.
If password logins are enabled, you're almost guaranteed to have at least one user with a password (root on all my boxes has one, even if I never use it and it's random garbage).
So the cheese lines up pretty well, this affects quite a bit.
If password logins are enabled, someone almost certainly has a password.