CVE-2024-5348
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.
Affected WordPress components
-
Elements For Elementor Plugin · nd-elementsUp to and including 2.1View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- nicdark Elements For Elementor — Up to and including 2.1
- nicdark elements_for_elementor — Up to and including 2.1
References
- plugins.trac.wordpress.org 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/
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/e55b86e2-b42e-483d-93cd-2f09af64dbc7?source=cve
- nvd.nist.gov Official NVD record