Vulnerability Laboratory [Research Team] - N/A Anonymous ([email protected])VULNERABLE:665
Document Title:
===============
cPanel WHM v11.32.4 b9 - Persistent Web Vulnerability
References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=665
Release Date:
=============
2012-07-15
Vulnerability Laboratory ID (VL-ID):
====================================
665
Common Vulnerability Scoring System:
====================================
2.2
Product & Service Introduction:
===============================
WebHost Manager (WHM) is a web-based tool used by server administrators and resellers to manage hosting
accounts on a web server. WHM listens on ports 2086 and 2087 by default. As well as being accessible by
the root administrator, WHM is also accessible to users with reseller privileges. Reseller users of cPanel
have a smaller set of features than the root user, generally limited by the server administrator, to
features which they determine will affect their customers\\\\\\\' accounts rather than the server as a whole.
From WHM, the server administrator can perform maintenance operations such as compile Apache and upgrade
RPMs installed on the system.
(Copy of the Homepage: http://en.wikipedia.org/wiki/CPanel#WHM_.28Web_Host_Manager.29 )
Abstract Advisory Information:
==============================
Vulnerability-Lab Team discovered a persistent Web Vulnerability in the cPanel Web Host Manager (WHM) v11.32.4 b9.
Vulnerability Disclosure Timeline:
==================================
2012-07-16: Public or Non-Public Disclosure
Discovery Status:
=================
Published
Exploitation Technique:
=======================
Local
Severity Level:
===============
Low
Technical Details & Description:
================================
Multiple persistent input validation vulnerabilities are detected in the cPanel Web Host Manager (WHM) v11.32.4 b9.
The bug allows an attackers to implement/inject malicious script code on the application-side (persistent).
The persistent vulnerability is located in the activate_remote_nameservers.cgi (cPanel DNS Remote Configuration) file
with the bound vulnerable listing. The bug can be exploit through the Remote server username & Remote cPanel WHM DNS
Host input fields. Successful exploitation of the vulnerability can lead to persistent session hijacking (manager/admin)
or stable (persistent) context manipulation. Exploitation requires low user inter action but a privileged user account.
Vulnerable Section(s):
[+] cPanel DNS Remote Configuration (Exception Handling)
Vulnerable File(s):
[+] activate_remote_nameservers.cgi
Vulnerable Input(s):
[+] Remote cPanel & WHM DNS Host
[+] Remote Server Username
Vulnerable Parameter(s):
[+] errormsg
Proof of Concept (PoC):
=======================
The persistent input validation vulnerability can be exploited by privileged user account with low required user inter action.
For demonstration or reproduce ...
Review: activate_remote_nameservers.cgi
<div id="breadcrumbs" class="hideBreadcrumbs">
<p> <a href="http://demo.127.0.0.1:2086/scripts/command?PFILE=main">Main</a>
>> <a href="http://demo.127.0.0.1:2086/scripts/command?PFILE=Cluster_Remote_Access">
Cluster/Remote Access</a> >> <a href="http://demo.127.0.0.1.net:2086/cgi/clusterstatus.cgi">Configure Cluster</a></p>
</div>
<div id="doctitle">
<h1><span><img src="activate_remote_nameservers.cgi-Dateien/configure_cluster.gif" alt=""></span> Cluster Management</h1>
</div>
</div>
<div class="topboxmargin"></div><div class="errormsg">
DNS Lookup Failed for "><iframe src="activate_remote_nameservers.cgi-[PERSISTENT INJECTED SCRIPT CODE])' <<="" div=""><br><b></b>
<div align="center"><br /><a href="clusterstatus.cgi">Return to Cluster Status</a></div></iframe></div></body></html>
Solution - Fix & Patch:
=======================
The vulnerability can be patched by parsing the remote cPanel DNS configuration module exception handling & listing.
Parse and restrict also the Remote cPanel WHM DNS host & Remote server username input fields.
Security Risk:
==============
The security risk of the persistent input validation vulnerability is estimated as medium(-).
Credits & Authors:
==================
Vulnerability Laboratory [Research Team] - N/A Anonymous ([email protected])
Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties,
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation
may not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases
or trade with fraud/stolen material.
Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.vulnerability-lab.com/register
Contact: [email protected] - [email protected] - [email protected]
Section: video.vulnerability-lab.com - forum.vulnerability-lab.com - news.vulnerability-lab.com
Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab
Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php
Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory.
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other
media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, sourcecode, videos and
other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed),
modify, use or edit our material contact ([email protected] or [email protected]) to get a permission.
Copyright © 2012 | Vulnerability Laboratory