
KiviCare – Clinic & Patient Management System (EHR) WordPress Plugin Unauthenticated SQL Injection PoC
KiviCare – Clinic & Patient Management System (EHR) WordPress Plugin Unauthenticated SQL Injection PoC
This repository contains a Proof of Concept (PoC) script for exploiting an SQL Injection vulnerability in the KiviCare – Clinic & Patient Management System (EHR) WordPress Plugin, versions up to and including 3.6.4. The vulnerability allows unauthenticated attackers to execute arbitrary SQL queries via the visit_type[service_id] parameter in the tax_calculated_data AJAX action. For more details, please refer to the blog post.
The KiviCare plugin is vulnerable due to insufficient escaping of user-supplied input in the visit_type[service_id] parameter. This allows attackers to append additional SQL queries, potentially leading to data extraction or other malicious activities.
requests, argparse, urllib3Clone the repository:
git clone https://github.com/yourusername/CVE-2024-11728.git
cd CVE-2024-11728
Install the required packages:
pip install -r requirements.txt
To execute the script, use the following command:
python3 CVE-2024-11728.py -u <target_url> [-t <timeout>] [-v]
- -u, --url: Target URL (e.g., http://example.com)
- -t, --timeout: Request timeout in seconds (default: 10)
- -v, --verbose: Enable verbose output for debugging
python3 CVE-2024-11728.py -u https://wordpress.samogod.com -v
_ajax_nonce value. This value is session-specific and must be obtained manually or through an automated process.Contributions are welcome! Please fork the repository and submit a pull request with your changes.