CVE-2022-2431
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 WordPress components
-
Download Manager Plugin · download-managerFrom 3.2.50 (including) to 3.2.50 (including)View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- download-manager Download Manager — From 3.2.50 (including) to 3.2.50 (including)
- w3eden download_manager — Up to and including 3.2.50
References
- packetstormsecurity.com https://packetstormsecurity.com/files/167920/wpdownloadmanager3250-filedelete.txt Third Party Advisory, VDB Entry
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2762092%40download-manager&new=2762092%40download-manager&sfp_email=&sfph_mail= Patch, Third Party Advisory
- www.wordfence.com https://www.wordfence.com/blog/2022/08/high-severity-vulnerability-patched-in-download-manager-plugin/ Exploit, Third Party Advisory
- nvd.nist.gov Official NVD record