cPanel – Showacctcopylog Stored XSS (R911-0157)

Type: XSS
Location: Local
Impact: Medium
Product: cPanel
Website: http://www.cpanel.net
Vulnerable Version: All versions prior to the fixed builds below.
Fixed Version: 11.43.0.12, 11.42.1.16 & 11.40.1.14
CVE: -
R911: 0157
Date: 2014-05-26
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:

Should any malicious HTML find it’s way into a log file located under /var/cpanel/logs/ which could then be opened by root using the showacctcopylog function, it could then potentially render an XSS attack within their web browser.

Impact:

We have deemed this vulnerability to be rated as MEDIUM due to the fact that malicious HTML can be rendered in an administrators web browser.

Vulnerable Version:

This vulnerability was tested against cPanel prior to the fixed versions below.

Fixed Version:

This vulnerability was patched in cPanel 11.43.0.12, 11.42.1.16 & 11.40.1.14.

Vendor Contact Timeline:

2014-04-04: Vendor contacted via email.
2014-04-08: Vendor confirms vulnerability.
2014-05-19: Vendor issues updates to all builds.
2014-05-26: Rack911 issues security advisory.