3 ms·
If this were a game of chess, checkmate is getting arbitrary code to run in the context of the user. If you have an existing ssh process running as the same use
by AnthonyMouse 11y ago
If this were a game of chess, checkmate is getting arbitrary code to run in the context of the user. If you have an existing ssh process running as the same user then you can attach it with a debugger and inject code into it.
- deleted 11y ago[deleted]
- AnthonyMouse 11y agoA debugger injecting code into a process under the same context isn't a vulnerability. It's supposed to be able to do that. And OpenSSH is supposed to allow you to multiplex sessions. It's a feature. The vulnerability is the attacker being able to run arbitrary code as the user.
- deleted 11y ago[deleted]
- LinuxBender 11y agoOpenSSH allowing this behavior by default is in itself the vulnerability.
- AnthonyMouse 11y agoThen how do you exploit it without assuming the ability to execute arbitrary code as the user?
- LinuxBender 11y agoSome time soon I will put something up on github so you can test this methodology. It probably won't be tonight though.
- Piskvorrr 11y agoThat's a feature, not a bug. SSH is a power tool; if your users can not be trusted with power tools, it is your responsibility to provide them with something brightly coloured, drool-proof and locked down.