Elementor <= 3.19.0 - Authenticated(Contributor+) Arbitrary File Deletion and PHAR Deserialization
Strategic Overview
- Status
- Patched in 3.19.1
- Affected Plugin
- Elementor Website Builder – more than just a page builder
- Affected Version
<= 3.19.0- CVSS
- 8.8High
- Weakness type
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CVE
CVE-2024-24934
At a glance
CVE-2024-24934 is a high-severity Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in the Elementor Website Builder WordPress plugin, affecting versions <= 3.19.0. It carries a CVSS score of 8.8 (reachable over the network; low attack complexity; high confidentiality, integrity, availability impact). Exploitation requires an authenticated account at Contributor level or above. The issue is fixed in version 3.19.1; sites on affected versions should update now. Disclosed February 2024, reported by Rhynorater.
Vulnerability Overview
The Elementor Website Builder – More than Just a Page Builder plugin for WordPress is vulnerable to arbitrary file deletions and PHAR deserialization in version up to, and including 3.19.0. This is due to the plugin not providing sufficient path validation on the 'tmp_name' parameter . This makes it possible for authenticated attackers, with contributor-level access and above, to delete arbitrary files and inject PHP Objects through the use of a phar wrapper, both of which can lead to remote code execution.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Elementor Website Builder <= 3.19.0 carries this weakness at tmp_name, and reaching it takes an account at Contributor level or above. Path traversal happens when user-controlled text is used to build a filesystem path without being constrained to an intended directory, so sequences like ../ walk the resolved path somewhere else.
Depending on the operation, it means reading files outside the intended folder — wp-config.php being the usual target — or writing to and deleting paths the web server can touch. For Elementor Website Builder the fix is 3.19.1: builds <= 3.19.0 are affected, anything from 3.19.1 onward is not.
Remediation
Update to version 3.19.1, or a newer patched version
How does WordSec protect against this?
An attacker needs Contributor access first, so the firewall sees the attempt as traffic from a logged-in account: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Elementor Website Builder 3.19.1 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in Elementor Website Builder – more than just a page builder
- 8.8CVE-2023-48777: Elementor <= 3.18.1 Arbitrary File Upload to RCE
CVE-2023-48777 - 8.8CVE-2022-1329: Elementor Website Builder 3.6.0 - 3.6.2 RCE
CVE-2022-1329 - 8.8CVE-2020-7055: Elementor Website Builder Arbitrary File Upload
CVE-2020-7055 - 8.8CVE-2017-18596: Elementor Website Builder Missing Authorization
CVE-2017-18596 - 7.2CVE-2020-7109: Elementor Website Builder <= 2.8.3 Cross-Site Scripting
CVE-2020-7109 - 6.6CVE-2023-0329: Elementor <= 3.12.1 SQL Injection
CVE-2023-0329 - 6.5CVE-2023-47504: Elementor Website Builder Arbitrary Attachment Read
CVE-2023-47504 - 6.5CVE-2020-20634: Elementor Website Builder Authorization Bypass
CVE-2020-20634
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C