{"id":55783,"date":"2024-04-02T23:59:59","date_gmt":"2024-04-02T19:59:59","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/177890\/hmsipcjm10-xss.txt"},"modified":"2024-04-02T23:59:59","modified_gmt":"2024-04-02T19:59:59","slug":"hospital-management-system-1-0-cross-site-scripting","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/hospital-management-system-1-0-cross-site-scripting\/","title":{"rendered":"Hospital Management System 1.0 Cross Site Scripting"},"content":{"rendered":"<pre readability=\"7\"><code readability=\"8\"># Exploit Title: Hospital Management System v1.0 - Stored Cross Site Scripting (XSS)<br># Google Dork: NA<br># Date: 28-03-2024<br># Exploit Author: Sandeep Vishwakarma<br># Vendor Homepage: https:\/\/code-projects.org<br># Software Link: https:\/\/code-projects.org\/hospital-management-system-in-php-css-javascript-and-mysql-free-download\/<br># Version: v1.0<br># Tested on: Windows 10<br># CVE : CVE-2024-29412<br># Description: Stored Cross Site Scripting vulnerability in<br>Hospital Management System - v1.0 allows an attacker to execute arbitrary<br>code via a crafted payload to the 'patient_id',<br>'first_name','middle_initial' ,'last_name'\" in \/receptionist.php component.<p># POC:<br>1. Go to the User Login page: \"<br>http:\/\/localhost\/HospitalManagementSystem-gh-pages\/<br>2. Login with \"r1\" ID which is redirected to \"<br>http:\/\/localhost\/HospitalManagementSystem-gh-pages\/receptionist.php\"<br>endpoint.<br>3. In Patient information functionality add this payload<br>\"&gt;&lt;script&gt;alert('1')&lt;\/script&gt; ,in all parameter.<br>4. click on submit.<\/p><p># Reference:<br>https:\/\/github.com\/hackersroot\/CVE-PoC\/blob\/main\/CVE-2024-29412.md<\/p><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p># Exploit Title: Hospital Management System v1.0 &#8211; Stored Cross Site Scripting (XSS)# Google Dork: NA# Date: 28-03-2024# 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 inHospital Management System &#8211; v1.0 allows an attacker to execute arbitrarycode via &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-55783","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/55783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=55783"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/55783\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=55783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=55783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=55783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}