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] ~ >
In reply to Re^3: The importance of avoiding the shell
by shmem
in thread The importance of avoiding the shell
by jhourcle
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |