Hi to all,
Still having big issues accessing the Centova Cast client admin. I noticed the following when setting my ASL (Atomic Secured Linux) web-gui Security Events to 1 there are loads of the following for each attempt I try to login.
kernel: grsec: denied untrusted exec of /home/centovacast/system/runascc/runascc by /bin/bash[sh:5967] uid/euid:48/48 gid/egid:48/48, parent /usr/sbin/httpd[httpd:2981] uid/euid:48/48 gid/egid:48/48
So my question for this error is how do I add Centova Cast as trusted or am I missing the point on this one?
Here is a bigger snap shot.
10Dec 17:54:14 2 1002 kernel: grsec: From 93.97.221.117: denied untrusted exec of /home/centovacast/system/runascc/runascc by /bin/bash[sh:6699] uid/euid:48/48 gid/egid:48/48, parent /usr/sbin/httpd[httpd:2978] uid/euid:48/48 gid/egid:48/48
10Dec 17:35:57 2 1002 kernel: grsec: denied untrusted exec of /home/centovacast/system/runascc/runascc by /bin/bash[sh:5967] uid/euid:48/48 gid/egid:48/48, parent /usr/sbin/httpd[httpd:2981] uid/euid:48/48 gid/egid:48/48
10Dec 17:00:14 2 1002 kernel: grsec: denied untrusted exec of /home/centovacast/system/runascc/runascc by /bin/bash[sh:3626] uid/euid:48/48 gid/egid:48/48, parent /usr/sbin/httpd[httpd:2977] uid/euid:48/48 gid/egid:48/48
10Dec 16:52:26 2 1002 kernel: grsec: denied untrusted exec of /home/centovacast/system/runascc/runascc by /bin/bash[sh:16161] uid/euid:48/48 gid/egid:48/48, parent /usr/sbin/httpd[httpd:16152] uid/euid:48/48 gid/egid:48/48
10Dec 16:43:47 2 1002 kernel: grsec: denied untrusted exec of /home/centovacast/system/runascc/runascc by /bin/bash[sh:15871] uid/euid:48/48 gid/egid:48/48, parent /usr/sbin/httpd[httpd:15834] uid/euid:48/48 gid/egid:48/48
10Dec 16:43:19 2 1002 kernel: grsec: denied untrusted exec of /home/centovacast/system/runascc/runascc by /bin/bash[sh:15851] uid/euid:48/48 gid/egid:48/48, parent /usr/sbin/httpd[httpd:15833] uid/euid:48/48 gid/egid:48/48
10Dec 16:43:13 2 1002 kernel: grsec: denied untrusted exec of /home/centovacast/system/runascc/runascc by /bin/bash[sh:15845] uid/euid:48/48 gid/egid:48/48, parent /usr/sbin/httpd[httpd:15835] uid/euid:48/48 gid/egid:48/48
10Dec 16:42:19 2 1002 kernel: grsec: denied untrusted exec of /home/centovacast/system/runascc/runascc by /bin/bash[sh:15790] uid/euid:48/48 gid/egid:48/48, parent /usr/sbin/httpd[httpd:15172] uid/euid:48/48 gid/egid:48/48
10Dec 16:25:46 2 1002 kernel: grsec: From 217.36.208.45: denied untrusted exec of /home/centovacast/system/runascc/runascc by /bin/bash[sh:15176] uid/euid:48/48 gid/egid:48/48, parent /usr/sbin/httpd[httpd:14794] uid/euid:48/48 gid/egid:48/48
10Dec 16:25:46 2 1002 kernel: grsec: From 217.36.208.45: denied untrusted exec of /home/centovacast/system/runascc/runascc by /bin/bash[sh:15171] uid/euid:48/48 gid/egid:48/48, parent /usr/sbin/httpd[httpd:14793] uid/euid:48/48 gid/egid:48/48
10Dec 16:25:46 2 1002 kernel: grsec: From 217.36.208.45: denied untrusted exec of /home/centovacast/system/runascc/runascc by /bin/bash[sh:15165] uid/euid:48/48 gid/egid:48/48, parent /usr/sbin/httpd[httpd:14796] uid/euid:48/48 gid/egid:48/48
10Dec 16:18:18 2 1002 kernel: grsec: denied untrusted exec of /home/centovacast/system/runascc/runascc by /bin/bash[sh:14804] uid/euid:48/48 gid/egid:48/48, parent /usr/sbin/httpd[httpd:14792] uid/euid:48/48 gid/egid:48/48
10Dec 16:17:13 2 1002 kernel: grsec: denied untrusted exec of /home/centovacast/system/runascc/runascc by /bin/bash[sh:14742] uid/euid:48/48 gid/egid:48/48, parent /usr/sbin/httpd[httpd:14718] uid/euid:48/48 gid/egid:48/48
10Dec 16:17:09 2 1002 kernel: grsec: denied untrusted exec of /home/centovacast/system/runascc/runascc by /bin/bash[sh:14739] uid/euid:48/48 gid/egid:48/48, parent /usr/sbin/httpd[httpd:14722] uid/euid:48/48 gid/egid:48/48
10Dec 16:16:59 2 1002 kernel: grsec: denied untrusted exec of /home/centovacast/system/runascc/runascc by /bin/bash[sh:14733] uid/euid:48/48 gid/egid:48/48, parent /usr/sbin/httpd[httpd:14720] uid/euid:48/48 gid/egid:48/48
10Dec 16:01:32 2 1002 kernel: grsec: denied untrusted exec of /home/centovacast/system/runascc/runascc by /bin/bash[sh:14243] uid/euid:48/48 gid/egid:48/48, parent /usr/sbin/httpd[httpd:12707] uid/euid:48/48 gid/egid:48/48
Some information from Centova Cast relating to the CLI interface giving no responce.
If only "Checking CLI interface" reports Failed, then it's likely that there is a problem with your PHP CLI binary. In this case, login via SSH and run the following command:
php -q /home/centovacast/system/ccmanage.php version check all
(Note that the command may appear wordwrapped above, but it should be entered all on one line.) If this command does not display any output, then there is a problem with your PHP CLI binary and you need to have your systems administrator fix this.
If it does display any output (ending with a line that says "OK Centova Cast vx.x.x"), then try the following command as well:
/home/centovacast/system/runascc/runascc exec ccmanage version check all
(Note that the command may appear wordwrapped above, but it should be entered all on one line.) If this last command does not display any output, then you probably have more than one PHP CLI binary installed on your server, and one of them is broken (and Centova Cast is inadvertently chosing the broken one). You simply need to identify the broken one and remove it. Ask your systems administrator to check the /usr/bin, /usr/local/bin, and /bin directories, identify the bad copy of the PHP CLI binary, and remove it.
So after inputting
php -q /home/centovacast/system/ccmanage.php version check all
The following is outputted
php -q /home/centovacast/system/ccmanage.php version check all
DAT version=2.2.4|loadavg1=2.63|loadavg5=3.11|loadavg15=3.28|uptime=3854.42|os=Linux|osversion=2.6.29.6-1.art.x86_64|accounts=12|activeaccounts=12
OK Centova Cast v2.2.4
So tried second command
/home/centovacast/system/runascc/runascc exec ccmanage version check all
The following is outputted
/home/centovacast/system/runascc/runascc exec ccmanage version check all
DAT version=2.2.4|loadavg1=2.20|loadavg5=2.65|loadavg15=3.04|uptime=4209.24|os=Linux|osversion=2.6.29.6-1.art.x86_64|accounts=12|activeaccounts=12
OK Centova Cast v2.2.4
So as we can see there appears to be no problems yet no one can access the administration panel due to the problem with no output
ccmanage returned no output; Centova Cast definitely will NOT operate in this state
This all started with me updating PHP 5.2.11-3 from the atomic testing repo, I have added a post
http://atomicsecuredlinux.com/forum/viewtopic.php?f=12&t=3562 relating to an error with a missing dependency libt1.so.5 from atomic testing needed by package php-gd-5.2.11-3.el5.art.i386 so not sure if this is all related?
Many thanks for any advice anyone could offer on this.
Regards
Mark