Post by @darkuncle@infosec.exchange

Cassandra is still spooky
@xgranade @wandering.shop
Public en edited

So, if I'm reading this right, the *sshole thing is both very bad and requires the stars to align in just the wrong way for you to actually be vulnerable?

[Edit: See replies for some very important context and corrections.]

Cassandrich
@dalias @hachyderm.io
Public en edited

@xgranade Anyone with PasswordAuthentication=yes (default) and UsePAM=no, and users who have no password set alongside users who do, running pre-fix OpenSSH on musl libc, is vulnerable to full authentication bypass logging in as one of the accounts with no password.

Replying to @dalias@hachyderm.io
Cassandra is still spooky
@xgranade @wandering.shop

@dalias I thought PAM also had to be disabled and there had to be another account that did have a valid password?

Regardless, thank you for the correction on that.

Cassandrich
@dalias @hachyderm.io

@xgranade Yes I'll add that.

Replying to @dalias@hachyderm.io
Scott Francis
@darkuncle @infosec.exchange

@dalias @xgranade requires:

* musl
* no PAM
* password auth
* ‘*’ in the password field for the target account
* at least one other account with a real password

Cassandrich
@dalias @hachyderm.io
Public en edited

@darkuncle @xgranade And one more requirement: the account with a real password has to be using the nasty sha256 or sha512 hash algos that require length-limiting the password. If you're using bcrypt or des or even md5, the OpenSSH vuln is not reachable.

Replying to @dalias@hachyderm.io
Scott Francis
@darkuncle @infosec.exchange

@dalias @xgranade I never thought I would see the day when using md5 would be recommended as a security mitigation 😅

Refresh interactions
1 boost
The origin reports boosts but does not publish who boosted this post.