OpenSSH Race condition resulting in potential remote code execution
21–29 of 29 posts
Re: OpenSSH Race condition resulting in potential remote code execution
#22Earlier quoted context omitted.
Using this exploit, connected non root users can gain root access. Multiple user machines are more or less a thing of the past. These days most common use case of ssh is logging in to a remote server you already own with root privileges. So most of the users are unaffected by this exploit.
> These days most common use case of ssh is logging in to a remote server you already own with root privileges I only see this in relatively small and "young" teams. In any bigger organization I've worked in, a new user is created for each person who uses the machine.
Re: OpenSSH Race condition resulting in potential remote code execution
#23Earlier quoted context omitted.
Using this exploit, connected non root users can gain root access. Multiple user machines are more or less a thing of the past. These days most common use case of ssh is logging in to a remote server you already own with root privileges. So most of the users are unaffected by this exploit.
Are you sure? The text implies that the unsafe path is getting interrupted while parsing a DSA key, which presumably occurs before authentication?
https://www.qualys.com/2024/07/01/cve-2024-6387/regresshion....
Re: OpenSSH Race condition resulting in potential remote code execution
#24So SIGALRM because of the timer firing?
Out of curiosity... any rust sshd implementations? I found libraries, but no plug&play replacement for openssh?
Re: OpenSSH Race condition resulting in potential remote code execution
#25We have to use this exploit to update a critical raspberry pi that nobody seems to have keys to...
I this exploitable for all architectures? For some reason I am under the impression that its only for x86
Re: OpenSSH Race condition resulting in potential remote code execution
#26We have to use this exploit to update a critical raspberry pi that nobody seems to have keys to...
I this exploitable for all architectures? For some reason I am under the impression that its only for x86
With a heap corruption as a primitive, two FILE structures malloc()ated in the heap, and 21 fixed bits in the glibc's addresses, we believe that this signal handler race condition is exploitable on amd64 (probably not in ~6-8 hours, but hopefully in less than a week). Only time will tell.
It is a race condition in a signal handler. The behaviour depends on the implementation of various standard library functions on the target system (syslog, malloc). This may very well be exploitable on other architectures (and systems). Apparently it is non-trivial to trigger. But it is possibly remote code execution with root permissions. Definetely nobody wants this in sshd.
Re: OpenSSH Race condition resulting in potential remote code execution
#27We have to use this exploit to update a critical raspberry pi that nobody seems to have keys to...
I this exploitable for all architectures? For some reason I am under the impression that its only for x86
Re: OpenSSH Race condition resulting in potential remote code execution
#28Earlier quoted context omitted.
Using this exploit, connected non root users can gain root access. Multiple user machines are more or less a thing of the past. These days most common use case of ssh is logging in to a remote server you already own with root privileges. So most of the users are unaffected by this exploit.
I don't think it's best practice to give root privilege to a login account.
Re: OpenSSH Race condition resulting in potential remote code execution
#29Earlier quoted context omitted.
I don't think it's best practice to give root privilege to a login account.
What do you give it to?