Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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]


A 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.


OpenSSH allowing this behavior by default is in itself the vulnerability.


That'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.


Then how do you exploit it without assuming the ability to execute arbitrary code as the user?


Some time soon I will put something up on github so you can test this methodology. It probably won't be tonight though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: