SOLVED Mod Security rule changes in cPanel 64

jndawson

Well-Known Member
Aug 27, 2014
303
32
78
Western US
cPanel Access Level
DataCenter Provider
We just got the 64.0.1 update last night.

We're also having issues with installed SSL certs that aren't working. For example, our WHMCS system won't allow log ins and the cert won't display.
 

jndawson

Well-Known Member
Aug 27, 2014
303
32
78
Western US
cPanel Access Level
DataCenter Provider
Update - We think it may be related to the mod_sec update:

Code:
[Wed Mar 29 04:02:27.596068 2017] [:error] [pid 14535] [client 12.34.56.78] ModSecurity: Exec: Execution failed while reading output: /etc/cxs/cxscgi.sh (End of file found) [hostname "whmcs.tld"] [uri "/submitticket.php"] [unique_id "[email protected]"]
[Wed Mar 29 04:02:27.596953 2017] [:error] [pid 14535] [client 12.34.56.78] ModSecurity: Rule processing failed. [hostname "whmcs.tld"] [uri "/submitticket.php"] [unique_id "[email protected]"]
[Wed Mar 29 04:02:28.042947 2017] [:error] [pid 14535] [client 12.34.56.78] ModSecurity: Audit log: Failed to create subdirectories: /usr/local/apache/logs/modsec_audit/risp/20170329/20170329-0402 (Read-only file system) [hostname "whmcs.tld"] [uri "/submitticket.php"] [unique_id "[email protected]"]
[Wed Mar 29 04:02:28.043133 2017] [:error] [pid 14535] [client 12.34.56.78] ModSecurity: Input filter: SecUploadDir is undefined, unable to store multipart files. [hostname "whmcs.tld"] [uri "/submitticket.php"] [unique_id "[email protected]"]
[Wed Mar 29 07:38:48.728399 2017] [:error] [pid 19393] [client 12.34.56.78] ModSecurity: Exec: Execution failed while reading output: /etc/cxs/cxscgi.sh (End of file found) [hostname "whmcs.tld"] [uri "/admin/supporttickets.php"] [unique_id "[email protected]"]
[Wed Mar 29 07:38:48.728439 2017] [:error] [pid 19393] [client 12.34.56.78] ModSecurity: Rule processing failed. [hostname "whmcs.tld"] [uri "/admin/supporttickets.php"] [unique_id "[email protected]"]
[Wed Mar 29 07:38:48.887514 2017] [:error] [pid 19393] [client 12.34.56.78] ModSecurity: Audit log: Failed to create subdirectories: /usr/local/apache/logs/modsec_audit/risp/20170329/20170329-0738 (Read-only file system) [hostname "whmcs.tld"] [uri "/admin/supporttickets.php"] [unique_id "[email protected]"]
[Wed Mar 29 07:38:48.887666 2017] [:error] [pid 19393] [client 12.34.56.78] ModSecurity: Input filter: SecUploadDir is undefined, unable to store multipart files. [hostname "whmcs.tld"] [uri "/admin/supporttickets.php"] [unique_id "[email protected]"]
 

jndawson

Well-Known Member
Aug 27, 2014
303
32
78
Western US
cPanel Access Level
DataCenter Provider
Update:

The v.64 update changes the path for php temp sessions from /tmp to /var/cpanel/php/sessions. We had
'Jail Apache Virtual Hosts using mod_ruid2 and cPanel® jailshell' set to 'On'. Turning to off corrected the session errors and a bunch of other things.

Thank you, cPanel people.