Page tree
Skip to end of metadata
Go to start of metadata

This article was last updated on: 

IN PROGRESS  This article is still under investigation and will be updated as new information is available.  Check back often for the most current information. 


 

Background Information

On Friday, November 24 2017, Exim announced two vulnerabilities in versions 4.88 and later.

 

Impact

According to Exim development: "A remote code execution vulnerability has been reported in Exim, with immediate public disclosure (we were given no private notice)."

The vulnerability exists in the ESMTP CHUNKING extension, and an additional DoS vulnerability exists in the same subsystem. On supported cPanel & WHM versions, chunking_advertise_hosts is set to an un-routable IP address by default. That technique appears to prevent the remote exploitation of the vulnerabilities.

On further investigation, we became concerned that local users may still be able to abuse this configuration. Accordingly, we published an autofixer on Monday, November 27 2017, to fully disable chunking support in Exim. This would have run during Monday's nightly maintenance, and can be confirmed by running the following as root via SSH:

/scripts/autorepair exim_disable_chunking


Releases

The following versions of cPanel & WHM were patched to have the correct version of Exim. 

TIERVERSION
6868.0.20
62IN PROGRESS
EDGE68.0.20
CURRENT68.0.20
RELEASEIN PROGRESS
STABLEIN PROGRESS

 

How to determine if your server is up to date

The updated RPMs provided by cPanel will contain a changelog entry with the CVE number. You can check for this changelog entry with the following command:

rpm -q --changelog exim | grep CVE-2017-16943

The output should resemble below:

- Applied patch for CVE-2017-16943 and CVE-2017-16944

What to do if you are not up to date.

If your server is not running one of the above versions, update immediately. 

To upgrade your server, use WHM's Upgrade to Latest Version interface (WHM >> Home >> cPanel >> Upgrade to Latest Version).

Alternatively, you can run the below commands to upgrade your server from the command line:

/scripts/upcp
/scripts/check_cpanel_rpms --fix --long-list

Verify the new Exim RPM was installed:

rpm -q --changelog exim | grep CVE-2017-16943

The output should resemble below:

- Applied patch for CVE-2017-16943 and CVE-2017-16944

 

Workarounds

As stated above: you may completely disable chunking support in Exim. To do this, run the following command as root via SSH:

/scripts/autorepair exim_disable_chunking