CVE-2022-2431
highpriority · track · 36EPSS 0.038 · 90 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-2431/cnnvd
- https://packetstormsecurity.com/files/167920/WordPress-Download-Manager-3.2.50-Arbitrary-File-Deletion.htmlcnnvd
- https://packetstormsecurity.com/files/167920/wpdownloadmanager3250-filedelete.txtcnnvd
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2762092%40download-manager&new=2762092%40download-manager&sfp_email=&sfph_mail=cnnvd
- https://www.wordfence.com/blog/2022/08/high-severity-vulnerability-patched-in-download-manager-plugin/cnnvd
- https://packetstormsecurity.com/files/167920/wpdownloadmanager3250-filedelete.txtenisa_euvd
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2762092%40download-manager&new=2762092%40download-manager&sfp_email=&sfph_mail=enisa_euvd
- https://www.wordfence.com/blog/2022/08/high-severity-vulnerability-patched-in-download-manager-plugin/enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan