Vulnerability in Download-Manager Download Manager
CVE-2022-2431
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H.
EPSS exploit prediction
EPSS 0.039, 90.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Download-Manager Download Manager — versions 3.2.50
- W3eden Download Manager
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (20142995/nuclei-templates, ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- plugins.trac.wordpress.org/changeset (Patch, Third Party Advisory)
- packetstormsecurity.com/files/167920/wpdownloadmanager3250-filedelete.txt (VDB Entry, Third Party Advisory)
- www.wordfence.com/blog/2022/08/high-severity-vulnerability-patched-in-download-… (Exploit, Third Party Advisory)