[+] Credits: hyp3rlinx
[+] Website: hyp3rlinx.altervista.org
[+] Source: http://hyp3rlinx.altervista.org/advisories/EHCP-v0.37.12.b-INSECURE-CRYPTO.txt
[ [+] Credits: hyp3rlinx
[+] Website: hyp3rlinx.altervista.org
[+] Source: http://hyp3rlinx.altervista.org/advisories/EHCP-v0.37.12.b-INSECURE-CRYPTO.txt
[+] ISR: Apparition Security



***Greetz: indoushka|Eduardo|Dirty0tis***


Vendor:
=============
www.ehcp.net


Product:
===========
Easy Hosting Control Panel
v0.37.12.b


Ehcp is a Hosting Control Panel.
Ehcp is a tool in a server to facilate the process of hosting domains, emails, adding domains, ftp users and so on.



Vulnerability Type:
===================
Insecure Crypto



CVE Reference:
==============
CVE-2018-6619


Security Issue:
================
The EHCP MySQL database passwords are stored using a insecure MD5 hash algorithm and no salt e.g. password 'abc123' = e99a18c428cb38d5f260853678922e03

MariaDB [ehcp]> select * from panelusers limit 3;
+----+------+----------+------------+---------------+----------------------------------+---------------+-------+------------+-----------+---------------+-------------+--------+---------+------------------------------------------------------------------------------------------------------+---------+
| id | host | reseller | domainname | panelusername | password | email | quota | maxdomains | maxemails | maxpanelusers | maxftpusers | maxdbs | status | name | comment |
+----+------+----------+------------+---------------+----------------------------------+---------------+-------+------------+-----------+---------------+-------------+--------+---------+------------------------------------------------------------------------------------------------------+---------+
| 1 | NULL | admin | | admin | 81dc9bdb52d04dc20036dbd8313ed055 | test@poc.com | 0 | 50000 | 50000 | 50000 | 32767 | 50000 | active | NULL | NULL |
| 2 | NULL | admin | | ehcp | 81dc9bdb52d04dc20036dbd8313ed055 | info@ehcp.net | 10000 | 10 | 100 | 10 | 10 | 10 | passive | this is for supporting ehcp, we will use this when we need hosting, Please keep this to support ehcp | NULL |
| 3 | NULL | admin | NULL | test | e99a18c428cb38d5f260853678922e03 | | 500 | 5 | 20 | 5 | 5 | 10 | active | | NULL |
+----+------+----------+------------+---------------+----------------------------------+---------------+-------+------------+-----------+---------------+-------------+--------+---------+------------------------------------------------------------------------------------------------------+---------+




Network Access:
===============
Local




Severity:
=========
Medium



Disclosure Timeline:
=============================
Vendor Notification: January 26, 2018
Vendor Acknowledges issues: January 27, 2018
Mitre Assigns CVE : January 29, 2018
Informed vendor of CVE : January 31, 2018
Vendor "Will be fixed soon, I think." : Febuary 2, 2018
Request update : Febuary 8, 2018
Vendor : "no progress yet. Will inform you any progress." : Febuary 10, 2018
Inform vendor of 90 day disclose policy : Febuary 10, 2018
Request update : February 21, 2018
Vendor "Not Yet." : Febuary 22, 2018
Request update : March 3, 2018
Vendor "I plan to start check/fixes with Ubuntu 18.04." : March 3, 2018
Request ETA : March 4, 2018
Vendor "Will start working when Ubuntu 18.04 released" : March 4, 2018
Request update : March 25, 2018
Vendor "password storage already fixed, others waiting for next release." : March 26, 2018
Request update : April 13, 2018
Vendor "same situation" : April 15, 2018
Remind vendor of 90 day disclose policy : April 16, 2018
No reply
Request update : April 22, 2018
No reply
Remind vendor again : April 27, 2018
No reply
May 9, 2018 : Public Disclosure


[+] Disclaimer
The information contained within this advisory is supplied "as-is" with no warranties or guarantees of fitness of use or otherwise.
Permission is hereby granted for the redistribution of this advisory, provided that it is not altered except by reformatting it, and
that due credit is given. Permission is explicitly given for insertion in vulnerability databases and similar, provided that due credit
is given to the author. The author is not responsible for any misuse of the information contained herein and accepts no responsibility
for any damage caused by the use or misuse of this information. The author prohibits any malicious use of security related information
or exploits by the author or elsewhere. All content (c).

hyp3rlinx