SOLVED Roundcube vulnerability

pglock

Member
Jun 14, 2007
12
0
51
UK
This report carried by The Register details a major vulnerability in roundcube. Roundcube posted a patch to GitHub at the end of November, and issued a version 1.2.3 here

The version installed on cp is 1.1.4-8.cp1158.

Any advice on updating to a secure version?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Hello @pglock,

Internal case CPANEL-10239 is open to assess whether that vulnerability affects instances of Roundcube offered with cPanel, and if so, to ensure it's updated to the latest version. We'll update this thread with more information on the status of this case as it becomes available.

Thank you.
 

easyswiss

Active Member
PartnerNOC
Apr 19, 2011
44
1
58
Is there an update?

If cPanel servers are affected.. the CVE is between 7 and 10...
blog.ripstech.com/2016/roundcube-command-execution-via-email/


Requirements
The vulnerability has the following requirements for exploitation:
  • Roundcube must be configured to use PHP’s mail() function (by default, if no SMTP was specified )
  • PHP’s mail() function is configured to use sendmail (by default, see sendmail_path )
  • PHP is configured to have safe_mode turned off (by default, see safe_mode )
  • An attacker must know or guess the absolute path of the webroot
These requirements are not particular demanding which in turn means that there were a lot of vulnerable systems in the wild.
 
Last edited by a moderator:

panayot

Well-Known Member
Nov 18, 2004
127
0
166
According to

/usr/local/cpanel/base/3rdparty/roundcube/config/config.inc.php

Roundcube in Cpanel does not use mail() function so it should not be affected by this vulnerability
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Roundcube must be configured to use PHP’s mail() function (by default, if no SMTP was specified )
According to

/usr/local/cpanel/base/3rdparty/roundcube/config/config.inc.php

Roundcube in Cpanel does not use mail() function so it should not be affected by this vulnerability
Hello,

cPanel configures the local SMTP server for use in Roundcube's configuration file and thus isn't affected by this vulnerability based on the listed requirements. That said, the updated version of Roundcube is included with cPanel version 62:

Code:
rpm -qa|grep roundcube
cpanel-roundcubemail-1.2.3-1.cp1162.noarch
Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463