Document Title:
===============
DirectAdmin CP v1.50.0 - CS CSRF Web Vulnerability
References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=1783
Release Date:
=============
2016-03-20
Vulnerability Laboratory ID (VL-ID):
====================================
1783
Common Vulnerability Scoring System:
====================================
3
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: http://www.directadmin.com/ )
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:
=================
Published
Affected Product(s):
====================
Exploitation Technique:
=======================
Remote
Severity Level:
===============
Low
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):
[+] CMD_FILE_MANAGER
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">
</form>
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 - (EhsanSec.ir)
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: www.vulnerability-lab.com - www.vuln-lab.com - www.evolution-sec.com
Contact: [email protected] - [email protected] - [email protected]
Section: magazine.vulnerability-lab.com - vulnerability-lab.com/contact.php - evolution-sec.com/contact
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
Programs: vulnerability-lab.com/submit.php - vulnerability-lab.com/list-of-bug-bounty-programs.php - vulnerability-lab.com/register.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, 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 [email protected]) to get a ask permission.
Copyright © 2016 | Vulnerability Laboratory - [Evolution Security GmbH]™
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