DirectAdmin CP v1.50.0 - CS CSRF Web Vulnerability

Type vulnerlab
Reporter Ehsan Hosseini - (
Modified 2016-03-20T00:00:00


                                            Document Title:
DirectAdmin CP v1.50.0 - CS CSRF Web Vulnerability

References (Source):

Release Date:

Vulnerability Laboratory ID (VL-ID):

Common Vulnerability Scoring System:

Product & Service Introduction:
DirectAdmin is a graphical web-based web hosting control panel designed to make administration of websites easier.
DirectAdmin is the easiest to use control panel, period. DirectAdmin is programmed to be the fastest running control panel available.
DirectAdmin avoids downtime by automatically recovering from crashes. We offer lightning-fast support by phone, e-mail, forum, and live 
online chat. We offer flexible licensing options to suit every kind of hosting company!

(Copy of the Vendor Homepage: )

Abstract Advisory Information:
An independent vulnerability laboratory researcher discovered a client-side cross site request forgery web vulnerability in the DirectAdmin CP v1.50.0 control panel.

Vulnerability Disclosure Timeline:
2015-03-21: Public Disclosure (Vulnerability Laboratory)

Discovery Status:

Affected Product(s):

Exploitation Technique:

Severity Level:

Technical Details & Description:
A cross site request forgery web vulnerability has been discovered in the official DirectAdmin CP v1.50.0 control panel web-application.
The vulnerability allows remote attacker to prepare client-side websites with malicious codes to execute internal application functions 
via non-expired user session credentials.

DirectAdmin suffers from cross site request forgery web vulnerability that is located in the CMC_FILE_MANAGER module POST method request.
Remote attackers are able to prepare malicious websites that can execute client-side application functions to add/edit via non-expired session.
The attack vector of the issue is client-side and the request method to inject is POST. The attacker preapres a malicious website wiht a hidden 
POST method request to execute in the CMD_FILE_MANAGER the edit/add function with already defined perimeters.

The security risk of the client-side web vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.0.
Exploitation of the non-persistent web vulnerability requires no privileged web application user account and low or medium user interaction. 
Successful exploitation of the vulnerability results in session hijacking, non-persistent phishing, non-persistent external redirects, 
non-persistent load of malicious script codes or non-persistent web module context manipulation.

Request Method(s):
				[+] POST

Vulnerable Module(s):

Vulnerable Function(s):
				[+] Edit

Proof of Concept (PoC):
The cross site request forgery vulnerability can be exploited by remote attackers without privileged application user account and with low or medium user interaction.
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.

PoC: Create New File and Edit a file (CMD_FILE_MANAGER)
<form name=info action=government-labhttps://address:port/CMD_FILE_MANAGERgovernment-lab method=government-labPOSTgovernment-lab>
<input type="hidden" name=action value="edit">
<input type="hidden" name=path value="/index.php">
<input name="hidden" value="<? phpinfo ?>">
<input type="submit" value="save as">
<input type="hidden" name=filename value="/index.php">

Security Risk:
The security risk of the client-side cross site request forgery web vulnerability in the web-application is estimated as medium. (CVSS 3.0)

Credits & Authors:
Ehsan Hosseini - (

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 licenses, policies, deface websites, hack into databases or trade with stolen data.

Domains: 		- 						-
Contact: 	- 				-
Section: 	- 				-
Social:		- 				-
Feeds: 	- 			-
Programs: 	- 	-

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, source code, videos and other information on this website is trademark of vulnerability-lab team & the specific 
authors or managers. To record, list, modify, use or edit our material contact (admin@ or to get a ask permission.

				    Copyright © 2016 | Vulnerability Laboratory - [Evolution Security GmbH]™