The following vulnerabilities in RoundCube were recently discovered, and updating to the latest version 1.6.9 is advised to mitigate these risks:
CVE-2024-42009
CVE-2024-42008
CVE-2024-42010
To upgrade ;
# Log in as the RoundCube user:
su - webmail_1
# Download the latest RoundCube version:
wget https://github.com/roundcube/roundcubemail/releases/download/1.6.9/roundcubemail-1.6.9-complete.tar.gz
# Extract the files:
tar -xvzf roundcubemail-1.6.9-complete.tar.gz
cd roundcubemail-1.6.9
# Run the installer:
bin/installto.sh -y ../public_html
# Clean up after installation:
rm -rf ~/roundcubemail-1.6.9*
For each mail server in your Enhance cluster, repeat the process using roundcubelocal as the user. (su - roundcubelocal)
Tip: Ensure that the "system" and "escapeshellarg" functions are not included in your disable_functions list, as they are required for the upgrade.