Lucene search
K

Hospital Management System v1.0 - Stored Cross Site Scripting Vulnerability

🗓️ 02 Apr 2024 00:00:00Reported by Sandeep VishwakarmaType 
zdt
 zdt
🔗 0day.today👁 162 Views

Hospital Management System v1.0 - Stored Cross Site Scripting Vulnerability. Allows arbitrary code execution via crafted payload in 'patient_id', 'first_name', 'middle_initial', 'last_name' parameters in receptionist.php

Related
Code
ReporterTitlePublishedViews
Family
Exploit DB
Hospital Management System v1.0 - Stored Cross Site Scripting (XSS)
2 Apr 202400:00
exploitdb
Packet Storm
Hospital Management System 1.0 Cross Site Scripting
2 Apr 202400:00
packetstorm
# Exploit Title: Hospital Management System v1.0 - Stored Cross Site Scripting (XSS)
# Exploit Author: Sandeep Vishwakarma
# Vendor Homepage: https://code-projects.org
# Software Link: https://code-projects.org/hospital-management-system-in-php-css-javascript-and-mysql-free-download/
# Version: v1.0
# Tested on: Windows 10
# CVE : CVE-2024-29412
# Description: Stored Cross Site Scripting vulnerability in
Hospital Management System - v1.0 allows an attacker to execute arbitrary
code via a crafted payload to the 'patient_id',
'first_name','middle_initial' ,'last_name'" in /receptionist.php component.

# POC:
1. Go to the User Login page: "
http://localhost/HospitalManagementSystem-gh-pages/
2. Login with "r1" ID which is redirected to "
http://localhost/HospitalManagementSystem-gh-pages/receptionist.php"
endpoint.
3. In Patient information functionality add this payload
"><script>alert('1')</script> ,in all parameter.
4. click on submit.

# Reference:
https://github.com/hackersroot/CVE-PoC/blob/main/CVE-2024-29412.md

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