in reply to Re: chroot() security in cgi script?
in thread chroot() security in cgi script?
It does not really matter how the last hack happened, although I am sure that someone reading this here knows exactly how it happened. (Happened after my first question on security here on perlmonks. Ironically, it was indeed not related to perl, but to a stupid error elsewhere.) It is more important for me to take precautions against my next coding error. Sony has proven that it can happen to anyone.
I still do not understand why chroot is not a permissible privilege reducing operation (which therefore should not require privileges). But it does not really matter if linux does not allow me to. It is not really a perl question in this case, anyway.
Yes, system("chroot") could not work, because it does not apply to the current process. Oh well...
Iaw
|
|---|