Unauthenticated SQL Injection in KiviCare WordPress Plugin <2.3.9
CVE-2022-0786 is a SQL injection vulnerability in the KiviCare WordPress plugin prior to version 2.3.9. The vulnerability exists because the plugin fails to properly sanitize and escape certain parameters before using them in SQL statements within the ajax_post AJAX action, specifically with the get_doctor_details route. This flaw allows unauthenticated attackers to inject arbitrary SQL queries into the database.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Exploitation of this vulnerability allows unauthenticated attackers to execute arbitrary SQL queries against the WordPress database. This can lead to data exfiltration, modification, or deletion, and potentially full site compromise if the attacker is able to escalate their access or retrieve sensitive information such as password hashes.
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, restrict access to the affected AJAX endpoint using a web application firewall (WAF) or by disabling the plugin until it can be updated. Monitor logs for suspicious activity targeting the ajax_post action with the get_doctor_details route.
Patch, then assume compromise.
Upgrade the KiviCare WordPress plugin to version 2.3.9 or later, which addresses the SQL injection vulnerability by properly sanitizing and escaping user-supplied input in the affected AJAX action.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.