Hello,
This issue is first reported at cpanel uses jailshell for cron (problem) but no solution provided.
We are running cPanel on CentOS 7.2 and since last week we see /usr/local/cpanel/bin/jailshell being abused by spammers.
We see jailshell called many times pushing 100% CPU and RAM, and making server unusable.
This issue is first reported at cpanel uses jailshell for cron (problem) but no solution provided.
We are running cPanel on CentOS 7.2 and since last week we see /usr/local/cpanel/bin/jailshell being abused by spammers.
We see jailshell called many times pushing 100% CPU and RAM, and making server unusable.
Code:
Example email:
# exim -Mvh 1d2bSf-0008UU-Uy
1d2bSf-0008UU-Uy-H
user 2341 993
<[email protected]>
1493030597 0
-ident user
-received_protocol local
-aclc _outgoing_spam_scan 1
1
-body_linecount 5
-max_received_linelength 51
-auth_id user
-auth_sender [email protected]
-allow_unqualified_recipient
-allow_unqualified_sender
-deliver_firsttime
-local
-spam_bar /
-spam_score -0.0
-spam_score_int 0
-sender_set_untrusted
XX
1
[email protected]
202P Received: from user by server.com with local (Exim 4.89)
(envelope-from <[email protected]>)
id 1d2bSf-0008UU-Uy
for [email protected]; Mon, 24 Apr 2017 12:43:20 +0200
033* From: "(Cron Daemon)" <user>
053F From: "(Cron Daemon)" <[email protected]>
029T To: [email protected]
045 Subject: Cron <[email protected]> php .php.php
040 Content-Type: text/plain; charset=UTF-8
031 Auto-Submitted: auto-generated
017 Precedence: bulk
036 X-Cron-Env: <XDG_SESSION_ID=196534>
045 X-Cron-Env: <XDG_RUNTIME_DIR=/run/user/2341>
031 X-Cron-Env: <LANG=en_US.UTF-8>
046 X-Cron-Env: <[email protected]>
052 X-Cron-Env: <SHELL=/usr/local/cpanel/bin/jailshell>
034 X-Cron-Env: <HOME=/home/user>
033 X-Cron-Env: <PATH=/usr/bin:/bin>
031 X-Cron-Env: <LOGNAME=user>
028 X-Cron-Env: <USER=user>
052I Message-Id: <[email protected]>
038 Date: Mon, 24 Apr 2017 12:43:17 +0200
039 X-OutGoing-Spam-Status: No, score=-0.0
Last edited by a moderator: