OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
DirectAdmin v1.403 - Cross Site Scripting Vulnerability

From: Research (researchvulnerability-lab.com)
Date: Sun Apr 01 2012 - 23:21:02 CDT


Title:
======
DirectAdmin v1.403 - Cross Site Scripting Vulnerability

Date:
=====
2012-04-02

References:
===========
http://www.vulnerability-lab.com/get_content.php?id=486

VL-ID:
=====
486

Introduction:
=============
DirectAdmin is a graphical web-based web hosting control panel designed to make administration
of websites easier. DirectAdmin is compatible with several versions of Red Hat, Fedora Core, Red
Hat Enterprise Linux, CentOS, FreeBSD, Ubuntu and Debian.DirectAdmin is often called DA for short

(Copy of the Vendor Homepage: http://en.wikipedia.org/wiki/DirectAdmin )

Abstract:
=========
A Vulnerability Laboratory Researcher discovered a Cross Site Scripting Vulnerability on DirectAdmins Management Web-Application.

Report-Timeline:
================
2012-03-31: Vendor Notification
2012-04-01: Vendor Response/Feedback
2012-04-02: Public or Non-Public Disclosure

Status:
========
Published

Affected Products:
==================
JBMC Software
Product: DirectAdmin - Web Control Panel vv1.403

Exploitation-Technique:
=======================
Remote

Severity:
=========
Low

Details:
========
A client side cross site scripting vulnerability is detected on DirectAdmins Management Web-Application.
The vulnerability allows an attacker with higher privileged user account to hijack customer/moderator/admin sessions with high required user inter
action. Successful exploitation can result in account steal or client side context manipulation when processing affected module
application requests.

Vulnerable Module(s):
                                      [+] CMD DOMAIN - &domain=

Picture(s):
                                      ../1.png

Proof of Concept:
=================
The vulnerability can be exploited by remote attacker with medium required user inter action. For demonstration or reproduce ...

https://website.directadmin:2222/CMD_DOMAIN?action=create&domain=<div style="border:1px solid red;width:300px;height:300px"
onmouseover="alert(dawid)"></div>aaa.pl&ubandwidth=unlimited&uquota=unlimited&cgi=ON&php=ON

Solution:
=========
The issue will be addressed by direct-admin development team with the next update.

Risk:
=====
The security risk of the client side cross site scripting vulnerability is estimated as low.

Credits:
========
Vulnerability Research Laboratory - Dawid Golak (dawid.golakgmail.com)

Disclaimer:
===========
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. Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability-
Lab. 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 or its suppliers.

                                                    Copyright 2012 Vulnerability-Lab

--
VULNERABILITY RESEARCH LABORATORY TEAM
Website: www.vulnerability-lab.com
Mail: researchvulnerability-lab.com