Easy Digital Downloads <= 3.6.9 - Authenticated (Shop Manager+) Arbitrary File Upload via 'edd-import-file' Parameter
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
The Easy Digital Downloads plugin for WordPress is vulnerable to Arbitrary File Upload in versions up to and including 3.6.9. This is due to insufficient file type validation in the edd_do_ajax_import_file_upload() function , which only checks the client-supplied $_FILES['edd-import-file']['type'] Content-Type header against an allow-list of CSV mime types, then uses raw move_uploaded_file() (bypassing wp_handle_upload()'s core MIME enforcement) to write the file under its original extension into the web-accessible wp-content/uploads/edd/exports/ directory. This makes it possible for authenticated attackers, with Shop Manager-level access and above, to upload arbitrary files on the affected site's server which may make remote code execution possible.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- smub Easy Digital Downloads – eCommerce Payments and Subscriptions made easy
through 3.6.9
References 8
plugins.trac.wordpress.org
- browser/easy-digital-downloads/tags/3.6.8/includes/admin/import/import-functions.php#L92
- browser/easy-digital-downloads/tags/3.6.8/includes/admin/import/import-functions.php#L68
- browser/easy-digital-downloads/tags/3.6.8/includes/admin/import/import-functions.php#L87
- browser/easy-digital-downloads/tags/3.6.7/includes/admin/import/import-functions.php#L92
- browser/easy-digital-downloads/tags/3.6.7/includes/admin/import/import-functions.php#L68
- browser/easy-digital-downloads/tags/3.6.7/includes/admin/import/import-functions.php#L87
- changeset/3625073/easy-digital-downloads/trunk/includes/admin/import/import-functions.php?old=3577787&old_path=easy-digital-downloads%2Ftrunk%2Fincludes%2Fadmin%2Fimport%2Fimport-functions.php