Hi,
I was testing CageFS in our staging server installed with CloudLinxu 6 and Cpanel. Users sshed in to the server with CageFS cant see other user home directories and not them even in /etc/passwd. But if I create a php file with
I can see all usernames in that. Is there anyway we can prevent this ?
We run fcgi with a wrapper
I was testing CageFS in our staging server installed with CloudLinxu 6 and Cpanel. Users sshed in to the server with CageFS cant see other user home directories and not them even in /etc/passwd. But if I create a php file with
Code:
$output = shell_exec(cat /etc/passwd); echo " $output "; ?>
We run fcgi with a wrapper
Code:
LoadModule fcgid_module modules/mod_fcgid.so AddHandler fcgid-script .php FCGIWrapper /usr/local/cpanel/cgi-sys/php-fcgi .php MaxProcessCount 512 DefaultMaxClassProcessCount 3 DefaultMinClassProcessCount 0 MaxRequestsPerProcess 256 MaxRequestInMem 25165824 FcgidMaxRequestLen 20971520 IPCCommTimeout 300 ProcessLifeTime 60 IdleScanInterval 15
Comment