Vulnerability · Published Sep 6, 2022 · Assigned by Wordfence
CVE-2022-2431Download Manager <= 3.2.50 - Authenticated (Contributor+) Arbitrary File Deletion
High 8.1
In plain English
A high-severity security flaw in Download Manager from download-manager. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.9% (higher than 90% of all known vulnerabilities).
Official description
The Download Manager plugin for WordPress is vulnerable to arbitrary file deletion in versions up to, and including 3.2.50. This is due to insufficient file type and path validation on the deleteFiles() function found in the ~/Admin/Menu/Packages.php file that triggers upon download post deletion. This makes it possible for contributor level users and above to supply an arbitrary file path via the 'file[files]' parameter when creating a download post and once the user deletes the post the supplied arbitrary file will be deleted. This can be used by attackers to delete the /wp-config.php file which will reset the installation and make it possible for an attacker to achieve remote code execution on the server.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| download-manager | Download Manager | 3.2.50 – through 3.2.50 |
Weakness: CWE-73 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
References
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2762092%40download-manager&new=2762092%40download-manager&sfp_email=&sfph_mail= x_refsource_MISC
- https://packetstormsecurity.com/files/167920/wpdownloadmanager3250-filedelete.txt x_refsource_MISC
- https://www.wordfence.com/blog/2022/08/high-severity-vulnerability-patched-in-download-manager-plugin/ x_refsource_MISC