Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| W3Eden | Download Manager | <= 3.2.50 |
Related Weaknesses (CWE)
References
- https://packetstormsecurity.com/files/167920/wpdownloadmanager3250-filedelete.txThird Party AdvisoryVDB Entry
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&oldPatchThird Party Advisory
- https://www.wordfence.com/blog/2022/08/high-severity-vulnerability-patched-in-doExploitThird Party Advisory
- https://packetstormsecurity.com/files/167920/wpdownloadmanager3250-filedelete.txThird Party AdvisoryVDB Entry
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&oldPatchThird Party Advisory
- https://www.wordfence.com/blog/2022/08/high-severity-vulnerability-patched-in-doExploitThird Party Advisory
FAQ
What is CVE-2022-2431?
CVE-2022-2431 is a vulnerability with a CVSS score of 8.1 (HIGH). 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...
How severe is CVE-2022-2431?
CVE-2022-2431 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-2431?
Check the references section above for vendor advisories and patch information. Affected products include: W3Eden Download Manager.