cPanel – Database Datastore Insecure File Permissions (R911-0102)

Type: Insecure File Permissions
Location: Local
Impact: High
Product: cPanel
Website: http://www.cpanel.net
Vulnerable Version: All versions prior to the fixed builds below.
Fixed Version: 11.40.1.3, 11.40.0.29, 11.38.2.13 & 11.36.2.10
CVE: -
R911: 0102
Date: 2013-12-18
By: Rack911

Product Description:

cPanel is an easy-to-use control panel that gives web hosts and the website owners they serve, the ability to quickly and easily manage their servers and websites. Web Host Manager (WHM) is a part of the cPanel software, often used by resellers and system administrators.

Vulnerability Description:

Under certain conditions it is possible for an attacker to view the MySQL grants for user databases, including usernames, remote access hosts and passwords due to the datastore files under the /var/cpanel/databases having invalid permissions.

Impact:

We have deemed this vulnerability to be rated as HIGH due to the fact that sensitive data regarding user databases can be obtained.

Vulnerable Version:

This vulnerability was tested against cPanel 11.40.0.9 and is believed to exist in all versions prior to the fixed builds below.

Fixed Version:

This vulnerability was patched in cPanel 11.40.1.3, 11.40.0.29, 11.38.2.13 & 11.36.2.10.

Vendor Contact Timeline:

2013-11-12: Vendor contacted via email.
2013-11-12: Vendor confirms vulnerability.
2013-12-16: Vendor issues updates to all builds.
2013-12-18: Rack911 issues security advisory.