WordPress security changelog
MEDIUM CVE-2024-12267 Analyzed

Drag and Drop Multiple File Upload – Contact Form 7: Arbitrary file deletion

Drag and Drop Multiple File Upload – Contact Form 7 is affected by arbitrary file deletion. The vulnerable path is reachable without authentication. A successful request can remove files outside the intended scope and may make the site unavailable.

CVE / CNA score 5.3 CVSS 3.1 · security@wordfence.com
NVD score 9.1 CVSS 3.1 · nvd@nist.gov
Component
Drag and Drop Multiple File Upload – Contact Form 7
Plugin slug
drag-and-drop-multiple-file-upload---contact-form-7
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Jan 31, 2025
Weakness
CWE-73 — External Control of File Name or Path

This CVE was published Jan 31, 2025 and is one of 18 known issues for this plugin.

Update, patch or deactivate.

Update Drag and Drop Multiple File Upload – Contact Form 7 to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

The Drag and Drop Multiple File Upload – Contact Form 7 plugin for WordPress is vulnerable to limited arbitrary file deletion due to insufficient file path validation in the dnd_codedropz_upload_delete() function in all versions up to, and including, 1.3.8.5. This makes it possible for unauthenticated attackers to delete limited arbitrary files on the server. It is not possible to delete files like wp-config.php that would make RCE possible.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

NVD vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Primary and upstream sources