CVE-2024-5348
Elements For Elementor <= 2.1 - Authenticated (Contributor+) Local File Inclusion via Multiple Widget Attributes
Description
The Elements For Elementor plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 2.1 via the 'beforeafter_layout' attribute of the beforeafter widget, the 'eventsgrid_layout' attribute of the eventsgrid and list widgets, the 'marquee_layout' attribute of the marquee widget, the 'postgrid_layout' attribute of the postgrid widget, the 'woocart_layout' attribute of the woocart widget, and the 'woogrid_layout' attribute of the woogrid widget. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.68%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 77.3% of all scored CVEs. Scores of 29 Nov 2026.
The assessment of CISA (SSVC, 3 Jun 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Elements For Elementor |
affected up to and including 2.1
Other versions: unaffected
|
Is my server affected?
This CVE is in Elements For Elementor of nicdark, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Other references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e55b86e2-b42e-483d-93cd-2f09af64dbc7?source=cve wordfence.com
- https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/beforeafter/index.php#L121 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/eventsgrid/index.php#L113 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/list/index.php#L401 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/marquee/index.php#L200 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/nd-elements/trunk/widgets/postgrid/index.php#L186 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/changeset/3094318/ plugins.trac.wordpress.org
Source: the record CVE-2024-5348 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse