Re:RegreSSHion: RCE in OpenSSH's server, on glibc-based Linu...
by lupusreal on Monday July 01, 2024 @09:40AM
(#40845778)
I now only bind services to wireguard interfaces. The bet is that a compromise in both the service and wireguard at the same time is unlikely (and I have relatively high confidence in wireguard.)
[ Parent
| on HN ]
Re:RegreSSHion: RCE in OpenSSH's server, on glibc-based Linu...
by devsda on Monday July 01, 2024 @10:45AM
(#40846299)
I'm confident in making ssh changes while logged in via ssh.
Compared to ssh, wireguard configs feel too easy to mess up and risk getting locked out if its the only way of accessing the device.
Re:RegreSSHion: RCE in OpenSSH's server, on glibc-based Linu...
by pja on Tuesday July 02, 2024 @06:47AM
(#40855303)
Use tailscale instead? It’s user friendly enough that you’re unlikely to mess it up.
Re:RegreSSHion: RCE in OpenSSH's server, on glibc-based Linu...
by someplaceguy on Monday July 01, 2024 @10:53AM
(#40846358)
> The bet is that a compromise in both the service and wireguard at the same time is unlikely
An RCE in wireguard would be enough -- no need to compromise both.
Re:RegreSSHion: RCE in OpenSSH's server, on glibc-based Linu...
by remram on Tuesday July 02, 2024 @11:41PM
(#40862547)
I was going to say something like this, but in practice wireguard is very very tiny. It doesn't have pluggable authentication, or passwords, or user transitions, or forked subprocesses, or systemd integrations. Using it or another simple secure transport in front of SSH is probably a good idea.
Re:RegreSSHion: RCE in OpenSSH's server, on glibc-based Linu...
by someplaceguy on Wednesday July 03, 2024 @12:48AM
(#40862800)
I don't disagree with you. However, my point was that the parent poster's reasoning was flawed.
Stacking these services on top of each other in this way does not necessarily mean that an attacker has to compromise both services in order to compromise a host. The parent poster's flawed reasoning appeared to lead to a false sense of security as a result.