Drag and Drop File Upload for Elementor Forms <= 1.6.0 - Unauthenticated Arbitrary File Upload via 'type' Parameter
No fixed version listed yet.Check the vendor advisory. References ↓
addonsorg · Drag and Drop File Upload for Elementor Forms
The Drag and Drop File Upload for Elementor Forms plugin for WordPress, in all versions up to and including 1.6.0, has a flaw in its elementor_file_upload function, where insufficient file type validation in is_file_type_valid() lets an attacker-controlled 'type' parameter bypass the MIME allowlist. An unauthenticated attacker with network access can exploit this by sending a crafted file extension that is later normalised to a PHP extension, uploading files that may be executable and potentially achieving remote code execution, with no user interaction or configuration required.
Official description · CVE.org
The Drag and Drop File Upload for Elementor Forms plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 1.6.0 via the elementor_file_upload function. This is due to insufficient file type validation in the is_file_type_valid() function, which uses the attacker-controlled 'type' parameter as regex keys in the MIME allowlist, allowing blacklist bypass via a crafted extension that sanitize_file_name() later normalizes to a PHP extension. This makes it possible for unauthenticated attackers to upload files that may be executable, which makes remote code execution possible.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 2 months after disclosure. Public exploit code (PoC-in-GitHub) appeared 1 day after disclosure.
- Disclosedday 0
- Public exploit codePoC-in-GitHub+1 day
- First seen exploitedVulnCheck KEV evidence+2 mo
Affected versions and fixes
as published in the CVE recordaddonsorg Drag and Drop File Upload for Elementor Forms
Affected: <= 1.6.0