{"id":"CVE-2022-2431","published":"2022-09-06T17:18:56Z","modified":"2025-01-31T19:01:32Z","title":"Download Manager <= 3.2.50 - Authenticated (Contributor+) Arbitrary File Deletion","vendor":"download-manager","product":"Download Manager","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03865,"percentile":0.90448,"provenance":"source"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2762092%40download-manager&new=2762092%40download-manager&sfp_email=&sfph_mail=","tags":["x_refsource_MISC"]},{"url":"https://packetstormsecurity.com/files/167920/wpdownloadmanager3250-filedelete.txt","tags":["x_refsource_MISC"]},{"url":"https://www.wordfence.com/blog/2022/08/high-severity-vulnerability-patched-in-download-manager-plugin/","tags":["x_refsource_MISC"]}],"priority":{"score":28.8,"factors":[{"name":"EPSS percentile","points":18.09},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"download-manager","affectedVersions":[{"vendor":"download-manager","product":"Download Manager","versions":[">= 3.2.50, <= 3.2.50"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-31T19:01:28.483962Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The Download Manager plugin for WordPress, in versions up to and including 3.2.50, fails to properly validate file types and paths in its deleteFiles() function in ~/Admin/Menu/Packages.php, which runs when a download post is deleted. An attacker with Contributor-level access or higher, reachable over the network, can supply an arbitrary file path via the 'file[files]' parameter when creating a download post; deleting that post then removes the specified file, such as /wp-config.php, which can reset the installation and potentially lead to remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:28:45Z"},"euvd":{"id":"EUVD-2022-34692","exploited":false,"provenance":"source"},"exploitRefs":["https://packetstormsecurity.com/files/167920/wpdownloadmanager3250-filedelete.txt"]}