Closed ema closed 11 years ago
gitreceive currently allows users to execute arbitrary commands on the system eg: ssh git@whatever /bin/bash
This patch uses git-shell to evaluate the command sent by remote users, restricting command execution to git-related programs.
Sorry for the delay. I wanted to add tests first. :)
gitreceive currently allows users to execute arbitrary commands on the system eg: ssh git@whatever /bin/bash
This patch uses git-shell to evaluate the command sent by remote users, restricting command execution to git-related programs.