"A CGI script written in bash"
You're killin' me here. If you expose a shell script directly to the network, you're exposing a shell and deserve to be pwned.
You're killin' me here. If you expose a shell script directly to the network, you're exposing a shell and deserve to be pwned.
The scope of the risk is limited to script that you write, whether bash or Python.