CVE-2022-2431
The Download Manager plugin for WordPress is vulnerable to arbitrary file deletion in versions up to, and including 3.2.50.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.74%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.74% probability · 89th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-73, CWE-610
- Affected
- w3eden/download manager
- Source
- security@wordfence.com
References
- https://packetstormsecurity.com/files/167920/wpdownloadmanager3250-filedelete.txtThird Party Advisory, VDB Entry
- 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
- https://www.wordfence.com/blog/2022/08/high-severity-vulnerability-patched-in-download-manager-plugin/Exploit, Third Party Advisory
- https://packetstormsecurity.com/files/167920/wpdownloadmanager3250-filedelete.txtThird Party Advisory, VDB Entry
- 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
- https://www.wordfence.com/blog/2022/08/high-severity-vulnerability-patched-in-download-manager-plugin/Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.