Post by @xgranade@wandering.shop

Cassandra is still spooky
@xgranade @wandering.shop

(And yes, "stars align" was an intentional pun.)

Cassandra is still spooky
@xgranade @wandering.shop

It is also very frustrating that the *sshole writeup decays into AI boosterism about three quarters of the way through. My dude, you did not need an "agent swarm" to orchestrate fuzzers.

cthos 🐱
@cthos @mastodon.cthos.dev

@xgranade But how else are they going to set money on fire for a vuln that requires a specific set of configuration to exploit???

Cassandra is still spooky
@xgranade @wandering.shop

@cthos The vuln is really bad on its own! The sensationalism around it is really weird, no one needed to exaggerate this in order for it to be bad!

cthos 🐱
@cthos @mastodon.cthos.dev

@xgranade My own exposure to this is basically nothing as the only place I run Alpine is inside docker and none of those are exposed to ssh

Cassandra is still spooky
@xgranade @wandering.shop

@cthos Yeah, ditto. I'm curious about embedded devices, but none of those are directly exposed either...

cthos 🐱
@cthos @mastodon.cthos.dev

@xgranade connecting lightbulbs to the internet was a mistake

:: fire_emblem_sickos.jpg ::
@aud @spectre.asta.lgbt

@cthos @xgranade I suspect that if an embedded device has this vulnerability, it is simply one of many...

cthos 🐱
@cthos @mastodon.cthos.dev

@aud @xgranade Like the root password just being "4"?

@cthos@mastodon.cthos.dev @aud@spectre.asta.lgbt @xgranade@wandering.shop I think we should all walk around saying "4! 4! 4!" like the ravening hordes of kids intoning Six Seven all day. Just to confuse people more than usual.

Replying to @feoh
ShadSterling
@ShadSterling @mastodon.social

@feoh @cthos @aud @xgranade now my brain is going something something “leets who say 4!” to the “tune” of the “Knights who say ‘Ni!’”

lolcat
@lolcat @digipres.club

@xgranade

Tangential, but relevant anecdote.

Back in 2015 I attended a talk given by a graduate student who had used AWS to calculate some value for some engineering problem - I have no recollection of what it was. As I sat and listened, I did some back of the envelope math and discovered he had achieved a whopping 3% efficiency. IOW, he could have done the whole thing on his laptop. Probably in Excel.

Did anyone in the audience raise this point? OFC not, they lapped it up.

cthos 🐱
@cthos @mastodon.cthos.dev
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
Cassandrich
@dalias @hachyderm.io

@xgranade The problem is that, instead of checking crypt(candidate_pw,hash)==hash in the case where hash=="*" (no password), they checked crypt(candidate_pw,another_users_hash)==hash to avoid timing sidechannels.

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 😅

Rogan Dawes
@RoganDawes @infosec.exchange

@darkuncle @dalias @xgranade and presumably a usable shell on the target account (not /bin/false, etc). This appears to exclude OpenWrt (even when switching from Dropbear to OpenSSH).

Cassandrich
@dalias @hachyderm.io

@RoganDawes @darkuncle @xgranade Are you sure lack of a usable shell excludes access? ssh protocol has options to request sessions without a shell (forwarding only, for example) and I think these will work without a shell set on the account. I can't imagine sshd having a way to validate "shell would be valid if we tried to run it" without actually trying to run it.

Replying to @dalias@hachyderm.io
Rogan Dawes
@RoganDawes @infosec.exchange

@dalias @darkuncle @xgranade ok, that’s a fair point. Forwarding in its various forms would likely still work even for accounts with an unusable shell. And I guess OpenSSH Unix socket forwarding for things like docker sockets would be reachable, assuming suitable user permissions.

Not sure how much of that is used in OpenWrt, but it might give you access to uci or something similar.

Cassandrich
@dalias @hachyderm.io
Public en edited

@RoganDawes @darkuncle @xgranade I think OpenWRT is good about not treating the network layer as trusted itself, but if ssh access from WAN is allowed, it would let an attacker tunnel across the router onto the LAN via ssh forwarding.

Replying to @dalias@hachyderm.io
Khleedril
@khleedril @cyberplace.social

@dalias @xgranade The first sign you've broken into a honeypot...