If a cpanel server is running PHP as a module in Apache I will be able to read/edit other peoples files if (assuming that apache runs with user nobody):
I upload a CGI/PHP script so that it is owned by user nobody. PHP will then be restricted by safe_mode or open_basedir, but CGI will not be restricted by anything. If another account on the same server has files owned by user nobody, I will have full access to these using CGI (and might have access with PHP depending on safe_mode/open_basedir).
Are my assumtions correct? I'm writing a master thesis so I would really appreciate if anyone could reply![]()



LinkBack URL
About LinkBacks
Reply With Quote




Though we have changed name since then.




