cPanel – Arbitrary File Creation (Logaholic) (R911-0100)

Type: Arbitrary File Creation
Location: Remote
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: 0100
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:

Logaholic session files were stored in the world-writable /tmp directory. A local attacker with access to the cPanel Logaholic interfaces could create a session file in this directory with a crafted payload intended to execute arbitrary code as the cpanel-logaholic user as the session was loaded by the Logaholic interfaces inside cPanel.

Impact:

We have deemed this vulnerability to be rated as HIGH due to the fact that while any file can be created as the cpanellogaholic user.

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-07: Vendor contacted via email.
2013-11-10: Vendor confirms vulnerability.
2013-12-16: Vendor issues updates to all builds.
2013-12-18: Rack911 issues security advisory.