### [CVE-2022-0786](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0786) ![](https://img.shields.io/static/v1?label=Product&message=KiviCare%20%E2%80%93%20Clinic%20%26%20Patient%20Management%20System%20(EHR)&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=2.3.9%3C%202.3.9%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-89%20SQL%20Injection&color=brighgreen) ### Description The KiviCare WordPress plugin before 2.3.9 does not sanitise and escape some parameters before using them in SQL statements via the ajax_post AJAX action with the get_doctor_details route, leading to SQL Injections exploitable by unauthenticated users ### POC #### Reference - https://wpscan.com/vulnerability/53f493e9-273b-4349-8a59-f2207e8f8f30 #### Github - https://github.com/20142995/sectool - https://github.com/ARPSyndicate/cvemon - https://github.com/ARPSyndicate/kenzer-templates - https://github.com/cyllective/CVEs